public interface IndexerBatchContext
| Modifier and Type | Interface and Description |
|---|---|
static class |
IndexerBatchContext.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
IndexerBatchContext. |
FacetSearchConfig |
getFacetSearchConfig()
Returns the facet search configuration.
|
java.util.List<java.lang.Exception> |
getFailureExceptions()
Returns all failure causing exceptions for this
IndexerBatchContext. |
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<InputDocument> |
getInputDocuments()
Returns a mutable
List that can be used to store attributes associated with this
input documents. |
java.util.List<ItemModel> |
getItems()
Returns the items to be indexed in this batch.
|
java.util.List<PK> |
getPks()
Return the pks to be indexed in this batch.
|
IndexerBatchContext.Status |
getStatus()
Returns the current status for this
IndexerBatchContext |
boolean |
isExternalIndexOperation()
Returns
true if the index operation is external. |
void |
setIndex(Index index)
Sets the index to use during the indexer operation.
|
void |
setItems(java.util.List<ItemModel> items)
Sets the items to be indexed in this batch.
|
void |
setPks(java.util.List<PK> pks)
Sets the pks to be indexed in this batch.
|
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 to be indexed in this batch.java.util.List<ItemModel> getItems()
void setItems(java.util.List<ItemModel> items)
items - - the items to be indexed in this batchjava.lang.IllegalStateException - if this method is called and the status is not IndexerBatchContext.Status.CREATED or IndexerBatchContext.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
IndexerBatchContext.java.util.List<InputDocument> getInputDocuments()
List that can be used to store attributes associated with this
input documents.IndexerBatchContext.Status getStatus()
IndexerBatchContextjava.util.List<java.lang.Exception> getFailureExceptions()
IndexerBatchContext.Copyright © 2018 SAP SE. All Rights Reserved.