Class DefaultIndexerQueryContext
java.lang.Object
de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexerQueryContext
- All Implemented Interfaces:
IndexerQueryContext
Default implementation of
IndexerQueryContext.-
Nested Class Summary
Nested classes/interfaces inherited from interface de.hybris.platform.solrfacetsearch.indexer.IndexerQueryContext
IndexerQueryContext.Status -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFailureException(Exception exception) Returns aMapinstance that can be used to store attributes.Returns the facet search configuration.Returns all failure causing exceptions for thisIndexerQueryContext.Returns the indexed type.getQuery()Returns the query.Returns the query parameters.Returns the current status of the query contextvoidsetFacetSearchConfig(FacetSearchConfig facetSearchConfig) voidsetIndexedType(IndexedType indexedType) voidvoidsetQueryParameters(Map<String, Object> queryParameters) voidsetStatus(IndexerQueryContext.Status status)
-
Constructor Details
-
DefaultIndexerQueryContext
public DefaultIndexerQueryContext()
-
-
Method Details
-
getFacetSearchConfig
Description copied from interface:IndexerQueryContextReturns the facet search configuration.- Specified by:
getFacetSearchConfigin interfaceIndexerQueryContext- Returns:
- the facet search configuration
-
setFacetSearchConfig
-
getIndexedType
Description copied from interface:IndexerQueryContextReturns the indexed type.- Specified by:
getIndexedTypein interfaceIndexerQueryContext- Returns:
- the indexed type
-
setIndexedType
-
getQuery
Description copied from interface:IndexerQueryContextReturns the query.- Specified by:
getQueryin interfaceIndexerQueryContext- Returns:
- the query
-
setQuery
-
getQueryParameters
Description copied from interface:IndexerQueryContextReturns the query parameters.- Specified by:
getQueryParametersin interfaceIndexerQueryContext- Returns:
- the query parameters
-
setQueryParameters
-
getStatus
Description copied from interface:IndexerQueryContextReturns the current status of the query context- Specified by:
getStatusin interfaceIndexerQueryContext- Returns:
- the current status
-
setStatus
-
addFailureException
-
getFailureExceptions
Description copied from interface:IndexerQueryContextReturns all failure causing exceptions for thisIndexerQueryContext.- Specified by:
getFailureExceptionsin interfaceIndexerQueryContext
-
getAttributes
Description copied from interface:IndexerQueryContextReturns aMapinstance that can be used to store attributes. The attributes are only valid for the duration of the index process.- Specified by:
getAttributesin interfaceIndexerQueryContext- Returns:
- the map containing the attributes
-