Class RelationalRuntimeContext
java.lang.Object
tools.refinery.store.query.interpreter.internal.context.RelationalRuntimeContext
- All Implemented Interfaces:
IQueryRuntimeContext
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addUpdateListener
(IInputKey key, Tuple seed, IQueryRuntimeContextListener listener) <V> V
coalesceTraversals
(Callable<V> callable) boolean
containsTuple
(IInputKey key, ITuple seed) int
countTuples
(IInputKey key, TupleMask seedMask, ITuple seed) void
ensureIndexed
(IInputKey key, IndexingService service) void
ensureWildcardIndexing
(IndexingService service) enumerateTuples
(IInputKey key, TupleMask seedMask, ITuple seed) Iterable
<?> enumerateValues
(IInputKey key, TupleMask seedMask, ITuple seed) estimateCardinality
(IInputKey key, TupleMask groupMask, Accuracy requiredAccuracy) void
executeAfterTraversal
(Runnable runnable) boolean
boolean
isIndexed
(IInputKey key, IndexingService service) void
removeUpdateListener
(IInputKey key, Tuple seed, IQueryRuntimeContextListener listener) unwrapElement
(Object internalElement) unwrapTuple
(Tuple internalElements) wrapElement
(Object externalElement) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface tools.refinery.interpreter.matchers.context.IQueryRuntimeContext
estimateAverageBucketSize
-
Method Details
-
getMetaContext
- Specified by:
getMetaContext
in interfaceIQueryRuntimeContext
-
coalesceTraversals
- Specified by:
coalesceTraversals
in interfaceIQueryRuntimeContext
- Throws:
InvocationTargetException
-
isCoalescing
public boolean isCoalescing()- Specified by:
isCoalescing
in interfaceIQueryRuntimeContext
-
isIndexed
- Specified by:
isIndexed
in interfaceIQueryRuntimeContext
-
ensureIndexed
- Specified by:
ensureIndexed
in interfaceIQueryRuntimeContext
-
countTuples
- Specified by:
countTuples
in interfaceIQueryRuntimeContext
-
estimateCardinality
public Optional<Long> estimateCardinality(IInputKey key, TupleMask groupMask, Accuracy requiredAccuracy) - Specified by:
estimateCardinality
in interfaceIQueryRuntimeContext
-
enumerateTuples
- Specified by:
enumerateTuples
in interfaceIQueryRuntimeContext
-
enumerateValues
- Specified by:
enumerateValues
in interfaceIQueryRuntimeContext
-
containsTuple
- Specified by:
containsTuple
in interfaceIQueryRuntimeContext
-
addUpdateListener
- Specified by:
addUpdateListener
in interfaceIQueryRuntimeContext
-
removeUpdateListener
- Specified by:
removeUpdateListener
in interfaceIQueryRuntimeContext
-
wrapElement
- Specified by:
wrapElement
in interfaceIQueryRuntimeContext
-
unwrapElement
- Specified by:
unwrapElement
in interfaceIQueryRuntimeContext
-
wrapTuple
- Specified by:
wrapTuple
in interfaceIQueryRuntimeContext
-
unwrapTuple
- Specified by:
unwrapTuple
in interfaceIQueryRuntimeContext
-
ensureWildcardIndexing
- Specified by:
ensureWildcardIndexing
in interfaceIQueryRuntimeContext
-
executeAfterTraversal
- Specified by:
executeAfterTraversal
in interfaceIQueryRuntimeContext
-
getCancellationToken
- Specified by:
getCancellationToken
in interfaceIQueryRuntimeContext
-