public class QueryEvaluationHint
extends java.lang.Object
Here be dragons: for advanced users only.
Constructor and Description |
---|
QueryEvaluationHint(java.lang.Class<? extends IQueryBackend> queryBackendClass,
java.util.Map<java.lang.String,java.lang.Object> backendHints)
Specifies the suggested query backend, and additional backend-specific options.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getBackendHints()
Each entry in the map overrides backend-specific options regarding query evaluation.
|
java.lang.Class<? extends IQueryBackend> |
getQueryBackendClass()
A suggestion for the query evaluator algorithm (whose factory must be registered).
|
public QueryEvaluationHint(java.lang.Class<? extends IQueryBackend> queryBackendClass, java.util.Map<java.lang.String,java.lang.Object> backendHints)
queryBackendClass
- overrides the query evaluator algorithm (whose factory must be registered); passing null retains the default algorithm associated with the querybackendHints
- each entry in the map overrides backend-specific options regarding query evaluation (null-valued map entries permitted to erase hints); passing null means default options associated with the querypublic java.lang.Class<? extends IQueryBackend> getQueryBackendClass()
Can be null.
public java.util.Map<java.lang.String,java.lang.Object> getBackendHints()
Can be null. Null-valued map entries permitted to erase hints.