public class DefaultIndexerQueryContext extends java.lang.Object implements IndexerQueryContext
IndexerQueryContext.IndexerQueryContext.Status| Constructor and Description |
|---|
DefaultIndexerQueryContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFailureException(java.lang.Exception exception) |
java.util.Map<java.lang.String,java.lang.Object> |
getAttributes()
Returns a
Map instance that can be used to store attributes. |
FacetSearchConfig |
getFacetSearchConfig()
Returns the facet search configuration.
|
java.util.List<java.lang.Exception> |
getFailureExceptions()
Returns all failure causing exceptions for this
IndexerQueryContext. |
IndexedType |
getIndexedType()
Returns the indexed type.
|
java.lang.String |
getQuery()
Returns the query.
|
java.util.Map<java.lang.String,java.lang.Object> |
getQueryParameters()
Returns the query parameters.
|
IndexerQueryContext.Status |
getStatus()
Returns the current status of the query context
|
void |
setFacetSearchConfig(FacetSearchConfig facetSearchConfig) |
void |
setIndexedType(IndexedType indexedType) |
void |
setQuery(java.lang.String query) |
void |
setQueryParameters(java.util.Map<java.lang.String,java.lang.Object> queryParameters) |
void |
setStatus(IndexerQueryContext.Status status) |
public FacetSearchConfig getFacetSearchConfig()
IndexerQueryContextgetFacetSearchConfig in interface IndexerQueryContextpublic void setFacetSearchConfig(FacetSearchConfig facetSearchConfig)
public IndexedType getIndexedType()
IndexerQueryContextgetIndexedType in interface IndexerQueryContextpublic void setIndexedType(IndexedType indexedType)
public java.lang.String getQuery()
IndexerQueryContextgetQuery in interface IndexerQueryContextpublic void setQuery(java.lang.String query)
public java.util.Map<java.lang.String,java.lang.Object> getQueryParameters()
IndexerQueryContextgetQueryParameters in interface IndexerQueryContextpublic void setQueryParameters(java.util.Map<java.lang.String,java.lang.Object> queryParameters)
public IndexerQueryContext.Status getStatus()
IndexerQueryContextgetStatus in interface IndexerQueryContextpublic void setStatus(IndexerQueryContext.Status status)
public void addFailureException(java.lang.Exception exception)
public java.util.List<java.lang.Exception> getFailureExceptions()
IndexerQueryContextIndexerQueryContext.getFailureExceptions in interface IndexerQueryContextpublic java.util.Map<java.lang.String,java.lang.Object> getAttributes()
IndexerQueryContextMap instance that can be used to store attributes. The attributes are only valid for the
duration of the index process.getAttributes in interface IndexerQueryContextCopyright © 2018 SAP SE. All Rights Reserved.