public abstract class AbstractQueryRuntimeContext extends java.lang.Object implements IQueryRuntimeContext
| Constructor and Description |
|---|
AbstractQueryRuntimeContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
ensureIndexed(IInputKey key,
IndexingService service)
If the given (enumerable) input key is not yet indexed, the model will be traversed
(after the end of the outermost coalescing block, see
IQueryRuntimeContext.coalesceTraversals(Callable))
so that the index can be built. |
boolean |
isIndexed(IInputKey key,
IndexingService service)
Returns true if index is available for the given key providing the given service.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddUpdateListener, coalesceTraversals, containsTuple, countTuples, ensureIndexed, ensureWildcardIndexing, enumerateTuples, enumerateValues, executeAfterTraversal, getMetaContext, isCoalescing, isIndexed, removeUpdateListener, unwrapElement, unwrapTuple, wrapElement, wrapTuplepublic void ensureIndexed(IInputKey key, IndexingService service)
IQueryRuntimeContextIQueryRuntimeContext.coalesceTraversals(Callable))
so that the index can be built. It is possible that the base indexer will select a higher indexing level merging
multiple indexing requests to an appropriate level.
Postcondition: After invoking this method, #getIndexed(IInputKey, IndexingService) for the same key
and service will be guaranteed to return the requested or a highing indexing level as soon as IQueryRuntimeContext.isCoalescing() first returns false.
Precondition: the given key is enumerable, see IQueryMetaContext.isEnumerable(IInputKey).
ensureIndexed in interface IQueryRuntimeContextpublic boolean isIndexed(IInputKey key, IndexingService service)
IQueryRuntimeContextisIndexed in interface IQueryRuntimeContext