Class InfinispanLoadingContext.Builder<E>
java.lang.Object
org.infinispan.search.mapper.search.loading.context.impl.InfinispanLoadingContext.Builder<E>
- All Implemented Interfaces:
PojoSelectionLoadingContextBuilder<InfinispanSelectionLoadingOptionsStep>,InfinispanSelectionLoadingOptionsStep
- Enclosing class:
- InfinispanLoadingContext<E>
public static final class InfinispanLoadingContext.Builder<E>
extends Object
implements PojoSelectionLoadingContextBuilder<InfinispanSelectionLoadingOptionsStep>, InfinispanSelectionLoadingOptionsStep
-
Constructor Summary
ConstructorsConstructorDescriptionBuilder(PojoSelectionEntityLoader<EntityLoaded<E>> entityLoader, PojoSelectionEntityLoader<EntityLoaded<E>> metadataEntityLoader) -
Method Summary
-
Constructor Details
-
Builder
public Builder(PojoSelectionEntityLoader<EntityLoaded<E>> entityLoader, PojoSelectionEntityLoader<EntityLoaded<E>> metadataEntityLoader)
-
-
Method Details
-
toAPI
- Specified by:
toAPIin interfacePojoSelectionLoadingContextBuilder<E>- Returns:
- The inital step of the loading options definition DSL passed to user-defined consumers added through
SearchQueryOptionsStep.loading(Consumer).
-
withMetadata
public void withMetadata(boolean value) - Specified by:
withMetadatain interfaceInfinispanSelectionLoadingOptionsStep
-
build
- Specified by:
buildin interfacePojoSelectionLoadingContextBuilder<E>- Returns:
- The configured loading context.
-