public interface IndexerContext
| Modifier and Type | Interface and Description |
|---|---|
static class |
IndexerContext.Status |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getAttributes()
Returns a mutable
Map that can be used to store attributes associated with this IndexerContext. |
FacetSearchConfig |
getFacetSearchConfig()
Returns the facet search configuration.
|
java.util.List<java.lang.Exception> |
getFailureExceptions()
Returns all failure causing exceptions for this
IndexerContext. |
Index |
getIndex()
Returns the index to use during the indexer operation.
|
java.util.Collection<IndexedProperty> |
getIndexedProperties()
Returns the indexed properties to be indexed.
|
IndexedType |
getIndexedType()
Returns the indexed type.
|
java.util.Map<java.lang.String,java.lang.String> |
getIndexerHints()
Returns a mutable
Map that can be used to store indexer hints. |
IndexOperation |
getIndexOperation()
Returns the index operation.
|
long |
getIndexOperationId()
Returns the index operation id.
|
java.util.List<PK> |
getPks()
Returns the pks of the items to be indexed.
|
IndexerContext.Status |
getStatus()
Returns the current status for this
IndexerContext |
boolean |
isExternalIndexOperation()
Returns
true if the index operation is external. |
void |
setIndex(Index index)
Sets the index to use during the indexer operation.
|
void |
setPks(java.util.List<PK> pks)
Sets the pks of the items to be indexed.
|
long getIndexOperationId()
IndexOperation getIndexOperation()
boolean isExternalIndexOperation()
true if the index operation is external. An external operation does not use a default indexer
query.true if the index operation is external, false otherwiseFacetSearchConfig getFacetSearchConfig()
IndexedType getIndexedType()
java.util.Collection<IndexedProperty> getIndexedProperties()
java.util.List<PK> getPks()
void setPks(java.util.List<PK> pks)
pks - - the pks of the items to be indexedjava.lang.IllegalStateException - if this method is called and the status is not IndexerContext.Status.CREATED or IndexerContext.Status.STARTINGIndex getIndex()
void setIndex(Index index)
index - - the index to usejava.util.Map<java.lang.String,java.lang.String> getIndexerHints()
Map that can be used to store indexer hints.java.util.Map<java.lang.String,java.lang.Object> getAttributes()
Map that can be used to store attributes associated with this IndexerContext.IndexerContext.Status getStatus()
IndexerContextjava.util.List<java.lang.Exception> getFailureExceptions()
IndexerContext.Copyright © 2018 SAP SE. All Rights Reserved.