Class MybatisLabelFree.Builder<T>
java.lang.Object
com.github.yulichang.extension.kt.resultmap.MybatisLabelFree.Builder<T>
- Enclosing class:
- MybatisLabelFree<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassociation(Class<?> child, kotlin.reflect.KProperty<?> dtoField) association(Class<?> child, kotlin.reflect.KProperty<?> dtoField, MFunction<MybatisLabel.Builder<?, ?>> collection) association(String index, Class<?> child, kotlin.reflect.KProperty<?> dtoField) 嵌套association(String index, Class<?> child, kotlin.reflect.KProperty<?> dtoField, MFunction<MybatisLabel.Builder<?, ?>> collection) 嵌套build()collection(Class<?> entityClass, kotlin.reflect.KProperty<?> func) collection(Class<?> entityClass, kotlin.reflect.KProperty<?> func, MFunction<MybatisLabel.Builder<?, ?>> mFunc) collection(String prefix, Class<?> entityClass, kotlin.reflect.KProperty<?> func) 嵌套collection(String prefix, Class<?> entityClass, kotlin.reflect.KProperty<?> func, MFunction<MybatisLabel.Builder<?, ?>> mFunc) 嵌套collection(kotlin.reflect.KProperty<?> func, MFunction<MybatisLabelFree.Builder<?>> mFunc) filter(Class<?> entityClass, Predicate<SelectCache> predicate) 映射实体字段过滤(含主键)filter(String prefix, Class<?> entityClass, Predicate<SelectCache> predicate) 映射实体字段过滤(含主键)id(kotlin.reflect.KProperty<?> entity) id(kotlin.reflect.KProperty<?> entity, kotlin.reflect.KProperty<?> tag) result(kotlin.reflect.KProperty<?> entity) result(kotlin.reflect.KProperty<?> entity, kotlin.reflect.KProperty<?> tag)
-
Constructor Details
-
Builder
手动构建- Parameters:
property- propertyjavaType- javaTypeofType- 映射类
-
-
Method Details
-
all
-
all
-
filter
映射实体字段过滤(含主键) -
filter
public MybatisLabelFree.Builder<T> filter(String prefix, Class<?> entityClass, Predicate<SelectCache> predicate) 映射实体字段过滤(含主键) -
id
public MybatisLabelFree.Builder<T> id(kotlin.reflect.KProperty<?> entity, kotlin.reflect.KProperty<?> tag) -
id
-
id
public MybatisLabelFree.Builder<T> id(String index, kotlin.reflect.KProperty<?> entity, kotlin.reflect.KProperty<?> tag) -
id
-
result
public MybatisLabelFree.Builder<T> result(kotlin.reflect.KProperty<?> entity, kotlin.reflect.KProperty<?> tag) -
result
-
result
public MybatisLabelFree.Builder<T> result(String index, kotlin.reflect.KProperty<?> entity, kotlin.reflect.KProperty<?> tag) -
result
-
collection
public MybatisLabelFree.Builder<T> collection(Class<?> entityClass, kotlin.reflect.KProperty<?> func) -
collection
public MybatisLabelFree.Builder<T> collection(String prefix, Class<?> entityClass, kotlin.reflect.KProperty<?> func) 嵌套 -
collection
public MybatisLabelFree.Builder<T> collection(Class<?> entityClass, kotlin.reflect.KProperty<?> func, MFunction<MybatisLabel.Builder<?, ?>> mFunc) -
collection
public MybatisLabelFree.Builder<T> collection(kotlin.reflect.KProperty<?> func, MFunction<MybatisLabelFree.Builder<?>> mFunc) -
collection
public MybatisLabelFree.Builder<T> collection(String prefix, Class<?> entityClass, kotlin.reflect.KProperty<?> func, MFunction<MybatisLabel.Builder<?, ?>> mFunc) 嵌套 -
association
public MybatisLabelFree.Builder<T> association(Class<?> child, kotlin.reflect.KProperty<?> dtoField) -
association
public MybatisLabelFree.Builder<T> association(String index, Class<?> child, kotlin.reflect.KProperty<?> dtoField) 嵌套 -
association
public MybatisLabelFree.Builder<T> association(Class<?> child, kotlin.reflect.KProperty<?> dtoField, MFunction<MybatisLabel.Builder<?, ?>> collection) -
association
public MybatisLabelFree.Builder<T> association(String index, Class<?> child, kotlin.reflect.KProperty<?> dtoField, MFunction<MybatisLabel.Builder<?, ?>> collection) 嵌套 -
build
-