| 限定符和类型 | 方法和说明 |
|---|---|
protected SelectCache |
KtAbstractLambdaWrapper.getCache(kotlin.reflect.KProperty<?> fn) |
| 限定符和类型 | 方法和说明 |
|---|---|
default Children |
Query.selectFilter(Class<?> entityClass,
java.util.function.Predicate<SelectCache> predicate)
过滤查询的字段信息
例1: 只要 java 字段名以 "test" 开头的 -> select(i -> i.getProperty().startsWith("test"))
例2: 只要 java 字段属性是 CharSequence 类型的 -> select(TableFieldInfo::isCharSequence)
例3: 只要 java 字段没有填充策略的 -> select(i -> i.getFieldFill() == FieldFill.DEFAULT)
例4: 要全部字段 -> select(i -> true)
例5: 只要主键字段 -> select(i -> false)
|
| 限定符和类型 | 方法和说明 |
|---|---|
MybatisLabelFree.Builder<T> |
MybatisLabelFree.Builder.filter(Class<?> entityClass,
java.util.function.Predicate<SelectCache> predicate)
映射实体字段过滤(含主键)
|
MybatisLabel.Builder<E,T> |
MybatisLabel.Builder.filter(java.util.function.Predicate<SelectCache> predicate)
映射实体字段过滤(含主键)
|
MybatisLabelFree.Builder<T> |
MybatisLabelFree.Builder.filter(String prefix,
Class<?> entityClass,
java.util.function.Predicate<SelectCache> predicate)
映射实体字段过滤(含主键)
|
| 构造器和说明 |
|---|
Builder(boolean isId,
String index,
SelectCache selectCache) |
| 限定符和类型 | 方法和说明 |
|---|---|
static List<SelectCache> |
ColumnCache.getListField(Class<?> clazz) |
static Map<String,SelectCache> |
ColumnCache.getMapField(Class<?> clazz) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected SelectCache |
JoinAbstractLambdaWrapper.getCache(com.baomidou.mybatisplus.core.toolkit.support.SFunction<?,?> fn) |
| 限定符和类型 | 方法和说明 |
|---|---|
default <E> Children |
Query.selectFilter(Class<E> entityClass,
java.util.function.Predicate<SelectCache> predicate)
过滤查询的字段信息
例1: 只要 java 字段名以 "test" 开头的 -> select(i -> i.getProperty().startsWith("test"))
例2: 只要 java 字段属性是 CharSequence 类型的 -> select(TableFieldInfo::isCharSequence)
例3: 只要 java 字段没有填充策略的 -> select(i -> i.getFieldFill() == FieldFill.DEFAULT)
例4: 要全部字段 -> select(i -> true)
例5: 只要主键字段 -> select(i -> false)
|
| 限定符和类型 | 方法和说明 |
|---|---|
SelectCache |
IResult.getSelectNormal() |
| 限定符和类型 | 方法和说明 |
|---|---|
<E> MybatisLabelFree.Builder<T> |
MybatisLabelFree.Builder.filter(Class<E> entityClass,
java.util.function.Predicate<SelectCache> predicate)
映射实体字段过滤(含主键)
|
MybatisLabel.Builder<E,T> |
MybatisLabel.Builder.filter(java.util.function.Predicate<SelectCache> predicate)
映射实体字段过滤(含主键)
|
<E> MybatisLabelFree.Builder<T> |
MybatisLabelFree.Builder.filter(String prefix,
Class<E> entityClass,
java.util.function.Predicate<SelectCache> predicate)
映射实体字段过滤(含主键)
|
| 构造器和说明 |
|---|
Builder(boolean isId,
String index,
SelectCache selectCache) |
| 构造器和说明 |
|---|
SelectAlias(SelectCache cache,
Integer index,
String alias,
boolean hasTableAlias,
String tableAlias) |
SelectFunc(SelectCache cache,
Integer index,
String alias,
BaseFuncEnum func,
boolean hasTableAlias,
String tableAlias) |
SelectLabel(SelectCache cache,
Integer index,
Class<?> tagClass,
boolean hasTableAlias,
String tableAlias) |
SelectLabel(SelectCache cache,
Integer index,
Class<?> tagClass,
String column,
boolean hasTableAlias,
String tableAlias) |
SelectNormal(SelectCache cache,
Integer index,
boolean hasTableAlias,
String tableAlias) |
Copyright © 2023. All rights reserved.