Class PojoSearchLoadingContextBuilder<E,LOS>
- java.lang.Object
-
- org.hibernate.search.mapper.pojo.search.loading.impl.PojoSearchLoadingContextBuilder<E,LOS>
-
- All Implemented Interfaces:
SearchLoadingContextBuilder<E,LOS>
public class PojoSearchLoadingContextBuilder<E,LOS> extends Object implements SearchLoadingContextBuilder<E,LOS>
-
-
Constructor Summary
Constructors Constructor Description PojoSearchLoadingContextBuilder(Map<String,PojoSearchLoadingIndexedTypeContext<? extends E>> targetTypesByEntityName, PojoEntityReferenceFactoryDelegate entityReferenceFactoryDelegate, BridgeSessionContext sessionContext, PojoSelectionLoadingContextBuilder<LOS> delegate)
-
-
-
Constructor Detail
-
PojoSearchLoadingContextBuilder
public PojoSearchLoadingContextBuilder(Map<String,PojoSearchLoadingIndexedTypeContext<? extends E>> targetTypesByEntityName, PojoEntityReferenceFactoryDelegate entityReferenceFactoryDelegate, BridgeSessionContext sessionContext, PojoSelectionLoadingContextBuilder<LOS> delegate)
-
-
Method Detail
-
toAPI
public LOS toAPI()
- Specified by:
toAPIin interfaceSearchLoadingContextBuilder<E,LOS>- Returns:
- The inital step of the loading options definition DSL passed to user-defined consumers added through
SearchQueryOptionsStep.loading(Consumer).
-
build
public SearchLoadingContext<E> build()
- Specified by:
buildin interfaceSearchLoadingContextBuilder<E,LOS>- Returns:
- The configured loading context.
-
-