Interface SnContext
- All Known Subinterfaces:
SnIndexContext,SnIndexerBatchContext,SnIndexerContext,SnSearchContext,SnSuggestContext
- All Known Implementing Classes:
DefaultSnContext,DefaultSnIndexContext,DefaultSnIndexerBatchContext,DefaultSnIndexerContext,DefaultSnSearchContext,DefaultSnSuggestContext
public interface SnContext
Represents a context.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddException(Exception exception) Adds a new exception to this context.Returns the exceptions for this context.Returns the index configuration.Returns the index type.Returns the qualifiers.
-
Method Details
-
getIndexConfiguration
SnIndexConfiguration getIndexConfiguration()Returns the index configuration.- Returns:
- the index configuration
-
getIndexType
SnIndexType getIndexType()Returns the index type.- Returns:
- the index type
-
getQualifiers
Map<String,List<SnQualifier>> getQualifiers()Returns the qualifiers.- Returns:
- the qualifiers
-
getAttributes
- Returns:
- the map containing the attributes
-
addException
Adds a new exception to this context.- Parameters:
exception- - the exception
-
getExceptions
Returns the exceptions for this context.- Returns:
- the exceptions for this context
-