类 AbstractTypedFetcher<E,T extends AbstractTypedFetcher<E,T>>
java.lang.Object
org.babyfish.jimmer.sql.fetcher.impl.FetcherImpl<E>
org.babyfish.jimmer.sql.fetcher.spi.AbstractTypedFetcher<E,T>
- 所有已实现的接口:
Fetcher<E>
public abstract class AbstractTypedFetcher<E,T extends AbstractTypedFetcher<E,T>>
extends FetcherImpl<E>
-
构造器概要
构造器限定符构造器说明protectedAbstractTypedFetcher(Class<E> type, FetcherImpl<E> base) protectedAbstractTypedFetcher(FetcherImpl<E> prev, org.babyfish.jimmer.meta.ImmutableProp prop, boolean negative) protectedAbstractTypedFetcher(FetcherImpl<E> prev, org.babyfish.jimmer.meta.ImmutableProp prop, FieldConfig<?, ? extends Table<?>> fieldConfig) -
方法概要
修饰符和类型方法说明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 associationallScalars + allForeignKeysprotected abstract TcreateFetcher(org.babyfish.jimmer.meta.ImmutableProp prop, boolean negative) protected abstract TcreateFetcher(org.babyfish.jimmer.meta.ImmutableProp prop, FieldConfig<?, ? extends Table<?>> fieldConfig) Unfetch a property从类继承的方法 org.babyfish.jimmer.sql.fetcher.impl.FetcherImpl
getFieldMap, getImmutableType, getJavaClass, isSimpleFetcher, toString, toString
-
构造器详细资料
-
AbstractTypedFetcher
-
AbstractTypedFetcher
protected AbstractTypedFetcher(FetcherImpl<E> prev, org.babyfish.jimmer.meta.ImmutableProp prop, boolean negative) -
AbstractTypedFetcher
protected AbstractTypedFetcher(FetcherImpl<E> prev, org.babyfish.jimmer.meta.ImmutableProp prop, FieldConfig<?, ? extends Table<?>> fieldConfig)
-
-
方法详细资料
-
allTableFields
从接口复制的说明:FetcherallScalars + allForeignKeys- 指定者:
allTableFields在接口中Fetcher<E>- 覆盖:
allTableFields在类中FetcherImpl<E>- 返回:
- A new fetcher
-
allScalarFields
- 指定者:
allScalarFields在接口中Fetcher<E>- 覆盖:
allScalarFields在类中FetcherImpl<E>
-
add
从接口复制的说明:FetcherFetch a property without child fetcher, for associated property, that means fetch id-only object -
remove
从接口复制的说明:FetcherUnfetch a property -
add
从接口复制的说明:FetcherFetch a property with child fetcher, error will be raised if the specified property is not association -
add
@NewChain public T 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 -
createFetcher
- 覆盖:
createFetcher在类中FetcherImpl<E>
-
createFetcher
protected abstract T createFetcher(org.babyfish.jimmer.meta.ImmutableProp prop, FieldConfig<?, ? extends Table<?>> fieldConfig) - 覆盖:
createFetcher在类中FetcherImpl<E>
-