Interface PojoMassIndexingEntityLoadingContext<E>
- Type Parameters:
E- The type of loaded entities.
public interface PojoMassIndexingEntityLoadingContext<E>
The context passed to
PojoMassIndexingLoadingStrategy.createEntityLoader(PojoMassIndexingEntityLoadingContext).-
Method Summary
Modifier and TypeMethodDescriptioncreateSink(PojoMassIndexingSessionContext sessionContext) Set<PojoRawTypeIdentifier<? extends E>>
-
Method Details
-
includedTypes
Set<PojoRawTypeIdentifier<? extends E>> includedTypes()- Returns:
- The identifiers of the types of all entities that will be loaded by the entity loader.
-
createSink
- Parameters:
sessionContext- The session context, used to create an indexer in particular.- Returns:
- A sink that the loader will add loaded entities to.
-
tenantIdentifier
String tenantIdentifier()- Returns:
- The tenant identifier to use (
nullif none).
-