接口 FetcherImplementor<E>
- 所有超级接口:
Fetcher<E>
- 所有已知实现类:
AbstractTypedFetcher,FetcherImpl
-
方法概要
修饰符和类型方法说明List<org.babyfish.jimmer.meta.PropId>booleanAre all fetched properties simple fields?List<org.babyfish.jimmer.meta.PropId>Fetch a property without child fetcher, for associated property, that means fetch id-only objectFetch a property with child fetcher, error will be raised if the specified property is not associationadd(String prop, Fetcher<?> childFetcher, Consumer<? extends FieldConfig<?, ? extends Table<?>>> loaderBlock) Fetch a property with child fetcher and more configuration, error will be raised if the specified property is not associationadd(String prop, IdOnlyFetchType idOnlyFetchType) Fetch association directly based on foreign key, the associated object has only id propertyaddRecursion(String prop, Consumer<? extends FieldConfig<?, ? extends Table<?>>> loaderBlock) allScalars + allForeignKeysUnfetch a property从接口继承的方法 org.babyfish.jimmer.sql.fetcher.Fetcher
allReferenceFields, getFieldMap, getImmutableType, getJavaClass, toString
-
方法详细资料
-
allScalarFields
FetcherImplementor<E> allScalarFields()- 指定者:
allScalarFields在接口中Fetcher<E>
-
allTableFields
FetcherImplementor<E> allTableFields()从接口复制的说明:FetcherallScalars + allForeignKeys- 指定者:
allTableFields在接口中Fetcher<E>- 返回:
- A new fetcher
-
add
从接口复制的说明:FetcherFetch a property without child fetcher, for associated property, that means fetch id-only object -
add
从接口复制的说明:FetcherFetch a property with child fetcher, error will be raised if the specified property is not association -
add
@NewChain FetcherImplementor<E> add(String prop, Fetcher<?> childFetcher, Consumer<? extends FieldConfig<?, ? extends Table<?>>> loaderBlock) 从接口复制的说明:FetcherFetch a property with child fetcher and more configuration, error will be raised if the specified property is not association -
addRecursion
@NewChain FetcherImplementor<E> addRecursion(String prop, Consumer<? extends FieldConfig<?, ? extends Table<?>>> loaderBlock) - 指定者:
addRecursion在接口中Fetcher<E>
-
add
从接口复制的说明:FetcherFetch association directly based on foreign key, the associated object has only id property- 指定者:
add在接口中Fetcher<E>- 参数:
prop- Property nameidOnlyFetchType- Reference type which has 2 choices- DEFAULT: The associated will filtered by global filters(include built-lt logical deleted filter)
- RAW: Raw value of foreign key
If the property is not an association directly based on foreign key, this argument will be ignored
- 返回:
- A new fetcher
-
remove
从接口复制的说明:FetcherUnfetch a property -
__isSimpleFetcher
boolean __isSimpleFetcher()Are all fetched properties simple fields?- 返回:
- Checked result
-
__unresolvedFieldMap
-
__shownPropIds
List<org.babyfish.jimmer.meta.PropId> __shownPropIds()
-