Interface IndexerBatchStrategy
-
- All Known Implementing Classes:
DefaultIndexerBatchStrategy
public interface IndexerBatchStrategy
Strategy for performing batch indexing.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
execute()
Executes the strategy.void
setExternalIndexOperation(boolean externalIndexOperation)
Sets the external index operation to be used.void
setFacetSearchConfig(FacetSearchConfig facetSearchConfig)
Sets the facet search config to be used.void
setIndex(Index index)
Sets the index to be usedvoid
setIndexedProperties(java.util.Collection<IndexedProperty> indexedProperties)
Sets the indexed properties to be usedvoid
setIndexedType(IndexedType indexedType)
Sets the indexed type to be usedvoid
setIndexerHints(java.util.Map<java.lang.String,java.lang.String> indexerHints)
Sets the indexer hints to be usedvoid
setIndexOperation(IndexOperation indexOperation)
Sets the index operation to be usedvoid
setIndexOperationId(long indexOperationId)
Sets the indexed operation id to be usedvoid
setPks(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, IndexerException
Executes the strategy.- Throws:
java.lang.InterruptedException
- throw if a thread is interruptedIndexerException
- if an error occurs during the strategy execution
-
-