public interface IQueryBackend
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes the query backend.
|
void |
flushUpdates()
Propagates all pending updates in this query backend.
|
IQueryResultProvider |
getResultProvider(PQuery query)
Returns a result provider for a given query.
|
IQueryResultProvider |
getResultProvider(PQuery query,
QueryEvaluationHint hints)
Returns a result provider for a given query.
|
boolean |
isCaching() |
IQueryResultProvider |
peekExistingResultProvider(PQuery query)
Returns an existing result provider for a given query, if it was previously constructed, returns null otherwise.
|
boolean isCaching()
IQueryResultProvider getResultProvider(PQuery query) throws QueryProcessingException
QueryProcessingException
IQueryResultProvider getResultProvider(PQuery query, QueryEvaluationHint hints) throws QueryProcessingException
optional
- hints that may override engine and query defaults (as provided by IQueryBackendHintProvider
). Can be null.QueryProcessingException
IQueryResultProvider peekExistingResultProvider(PQuery query)
void flushUpdates()
void dispose()