public class MockTermResolverOp extends PipelineOp
AssignmentNode inside queries; these construct fresh values, which
are mocked in a first step. Whenever these values are used later in the
query, e.g. by joining such a mock URI with a statement pattern, they need to
be resolved to their real IVs.Ø| Modifier and Type | Class and Description |
|---|---|
static interface |
MockTermResolverOp.Annotations |
DEFAULT_INITIAL_CAPACITY| Constructor and Description |
|---|
MockTermResolverOp(BOp[] args,
IVariable<?>[] vars,
String namespace,
long timestamp) |
MockTermResolverOp(BOp[] args,
Map<String,Object> annotations) |
MockTermResolverOp(BOp[] args,
NV... annotations) |
MockTermResolverOp(MockTermResolverOp op) |
| Modifier and Type | Method and Description |
|---|---|
FutureTask<Void> |
eval(BOpContext<IBindingSet> context)
Return a
FutureTask which computes the operator against the
evaluation context. |
IVariable<?>[] |
getVars()
Return the variables for which mocked IVs are resolved.
|
assertAtOnceJavaHeapOp, assertMaxParallelOne, getChunkCapacity, getChunkOfChunksCapacity, getChunkTimeout, getMaxMemory, getMaxParallel, isAtOnceEvaluation, isBlockedEvaluation, isLastPassRequested, isPipelinedEvaluation, isReorderSolutions, isSharedState, newStats__replaceArg, _clearProperty, _set, _setProperty, annotations, annotationsCopy, annotationsEqual, annotationsRef, argIterator, args, argsCopy, arity, clearAnnotations, clearProperty, deepCopy, deepCopy, get, getProperty, setArg, setProperty, setUnboundProperty, toArray, toArrayannotationsEqual, annotationsToString, annotationsToString, annotationValueToString, checkArgs, clone, equals, getEvaluationContext, getId, getProperty, getRequiredProperty, hashCode, indent, isController, mutation, shortenName, toShortString, toString, toStringpublic MockTermResolverOp(BOp[] args, Map<String,Object> annotations)
args - annotations - public MockTermResolverOp(MockTermResolverOp op)
op - public MockTermResolverOp(BOp[] args, IVariable<?>[] vars, String namespace, long timestamp)
vars - The variables for which to resolve mocked IVs. Resolving is only
attempted for those variables which are actually bound in given
solution.namespace - The namespace of the LexiconRelation.timestamp - The timestamp against which to read.public IVariable<?>[] getVars()
null iff all variables should resolved.MockTermResolverOp.Annotations.VARSpublic FutureTask<Void> eval(BOpContext<IBindingSet> context)
PipelineOpFutureTask which computes the operator against the
evaluation context. The caller is responsible for executing the
FutureTask (this gives them the ability to hook the completion of
the computation).eval in class PipelineOpcontext - The evaluation context.FutureTask which will compute the operator's
evaluation.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.