public class DefaultIndexerQueryContext extends Object implements IndexerQueryContext
IndexerQueryContext.IndexerQueryContext.Status| Constructor and Description |
|---|
DefaultIndexerQueryContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFailureException(Exception exception) |
Map<String,Object> |
getAttributes()
Returns a
Map instance that can be used to store attributes. |
FacetSearchConfig |
getFacetSearchConfig()
Returns the facet search configuration.
|
List<Exception> |
getFailureExceptions()
Returns all failure causing exceptions for this
IndexerQueryContext. |
IndexedType |
getIndexedType()
Returns the indexed type.
|
String |
getQuery()
Returns the query.
|
Map<String,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(String query) |
void |
setQueryParameters(Map<String,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 String getQuery()
IndexerQueryContextgetQuery in interface IndexerQueryContextpublic void setQuery(String query)
public Map<String,Object> getQueryParameters()
IndexerQueryContextgetQueryParameters in interface IndexerQueryContextpublic IndexerQueryContext.Status getStatus()
IndexerQueryContextgetStatus in interface IndexerQueryContextpublic void setStatus(IndexerQueryContext.Status status)
public void addFailureException(Exception exception)
public List<Exception> getFailureExceptions()
IndexerQueryContextIndexerQueryContext.getFailureExceptions in interface IndexerQueryContextpublic Map<String,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 © 2017 SAP SE. All Rights Reserved.