Interface IndexerBatchStrategy
-
- All Known Implementing Classes:
DefaultIndexerBatchStrategy
public interface IndexerBatchStrategyStrategy for performing batch indexing.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidexecute()Executes the strategy.voidsetExternalIndexOperation(boolean externalIndexOperation)Sets the external index operation to be used.voidsetFacetSearchConfig(FacetSearchConfig facetSearchConfig)Sets the facet search config to be used.voidsetIndex(Index index)Sets the index to be usedvoidsetIndexedProperties(java.util.Collection<IndexedProperty> indexedProperties)Sets the indexed properties to be usedvoidsetIndexedType(IndexedType indexedType)Sets the indexed type to be usedvoidsetIndexerHints(java.util.Map<java.lang.String,java.lang.String> indexerHints)Sets the indexer hints to be usedvoidsetIndexOperation(IndexOperation indexOperation)Sets the index operation to be usedvoidsetIndexOperationId(long indexOperationId)Sets the indexed operation id to be usedvoidsetPks(java.util.List<PK> pks)Sets the pks to be used
-
-
-
Method Detail
-
setExternalIndexOperation
void setExternalIndexOperation(boolean externalIndexOperation)
Sets the external index operation to be used.- Parameters:
externalIndexOperation- - the external index operation
-
setFacetSearchConfig
void setFacetSearchConfig(FacetSearchConfig facetSearchConfig)
Sets the facet search config to be used.- Parameters:
facetSearchConfig- - the facet search config to be used
-
setIndex
void setIndex(Index index)
Sets the index to be used- Parameters:
index- - the index to be used
-
setIndexedProperties
void setIndexedProperties(java.util.Collection<IndexedProperty> indexedProperties)
Sets the indexed properties to be used- Parameters:
indexedProperties- - the indexed properties to be used
-
setIndexedType
void setIndexedType(IndexedType indexedType)
Sets the indexed type to be used- Parameters:
indexedType- - the indexed type to be used
-
setIndexerHints
void setIndexerHints(java.util.Map<java.lang.String,java.lang.String> indexerHints)
Sets the indexer hints to be used- Parameters:
indexerHints- - the indexer hints to be used
-
setIndexOperation
void setIndexOperation(IndexOperation indexOperation)
Sets the index operation to be used- Parameters:
indexOperation- - the index operation to be used
-
setIndexOperationId
void setIndexOperationId(long indexOperationId)
Sets the indexed operation id to be used- Parameters:
indexOperationId- - the indexed operation id to be used
-
setPks
void setPks(java.util.List<PK> pks)
Sets the pks to be used- Parameters:
pks- - the pks to be used
-
execute
void execute() throws java.lang.InterruptedException, IndexerExceptionExecutes the strategy.- Throws:
java.lang.InterruptedException- throw if a thread is interruptedIndexerException- if an error occurs during the strategy execution
-
-