public abstract class AbstractSubqueryOp extends PipelineOp
Note: This operator must execute on the query controller.
If you want to route intermediate results from other computations into
subqueries, then consider a Tee
pattern instead.
For example:
SLICE[1]( UNION[2]([...],{subqueries=[a,b,c]}) )Will run the subqueries a, b, and c in parallel. Each subquery will be run once for each source
IBindingSet
.Modifier and Type | Class and Description |
---|---|
static interface |
AbstractSubqueryOp.Annotations |
DEFAULT_INITIAL_CAPACITY
Constructor and Description |
---|
AbstractSubqueryOp(AbstractSubqueryOp op)
Deep copy constructor.
|
AbstractSubqueryOp(BOp[] args,
Map<String,Object> annotations)
Shallow copy constructor.
|
Modifier and Type | Method and Description |
---|---|
FutureTask<Void> |
eval(BOpContext<IBindingSet> context)
Return a
FutureTask which computes the operator against the
evaluation context. |
int |
getMaxParallelSubqueries() |
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, toArray
annotationsEqual, annotationsToString, annotationsToString, annotationValueToString, checkArgs, clone, equals, getEvaluationContext, getId, getProperty, getRequiredProperty, hashCode, indent, isController, mutation, shortenName, toShortString, toString, toString
public AbstractSubqueryOp(AbstractSubqueryOp op)
public int getMaxParallelSubqueries()
public FutureTask<Void> eval(BOpContext<IBindingSet> context)
PipelineOp
FutureTask
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 PipelineOp
context
- The evaluation context.FutureTask
which will compute the operator's
evaluation.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.