Interface IndexerQueryContext
-
- All Known Implementing Classes:
DefaultIndexerQueryContext
public interface IndexerQueryContextThis interface represents a context valid for the duration of an indexer query.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIndexerQueryContext.Status
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>getAttributes()Returns aMapinstance that can be used to store attributes.FacetSearchConfiggetFacetSearchConfig()Returns the facet search configuration.java.util.List<java.lang.Exception>getFailureExceptions()Returns all failure causing exceptions for thisIndexerQueryContext.IndexedTypegetIndexedType()Returns the indexed type.java.lang.StringgetQuery()Returns the query.java.util.Map<java.lang.String,java.lang.Object>getQueryParameters()Returns the query parameters.IndexerQueryContext.StatusgetStatus()Returns the current status of the query context
-
-
-
Method Detail
-
getFacetSearchConfig
FacetSearchConfig getFacetSearchConfig()
Returns the facet search configuration.- Returns:
- the facet search configuration
-
getIndexedType
IndexedType getIndexedType()
Returns the indexed type.- Returns:
- the indexed type
-
getQuery
java.lang.String getQuery()
Returns the query.- Returns:
- the query
-
getQueryParameters
java.util.Map<java.lang.String,java.lang.Object> getQueryParameters()
Returns the query parameters.- Returns:
- the query parameters
-
getStatus
IndexerQueryContext.Status getStatus()
Returns the current status of the query context- Returns:
- the current status
-
getFailureExceptions
java.util.List<java.lang.Exception> getFailureExceptions()
Returns all failure causing exceptions for thisIndexerQueryContext.
-
getAttributes
java.util.Map<java.lang.String,java.lang.Object> getAttributes()
Returns aMapinstance that can be used to store attributes. The attributes are only valid for the duration of the index process.- Returns:
- the map containing the attributes
-
-