public class DataSetJoin extends PipelineOp
SPARQL specific join of the source binding sets with an inline access path allowing var to take on the given graphIds values. This join operator is useful when the multiplicity of the graphs is small to moderate. If there are a very large number of graphs, then the operator tree is to cumbersome and you would do better off joining against an index (whether temporary or permanent) containing the graphs.
The evaluation context is BOpEvaluationContext.ANY
.
Modifier and Type | Class and Description |
---|---|
static interface |
DataSetJoin.Annotations |
DEFAULT_INITIAL_CAPACITY
Constructor and Description |
---|
DataSetJoin(BOp[] args,
Map<String,Object> annotations)
Shallow copy constructor.
|
DataSetJoin(BOp[] args,
NV... annotations) |
DataSetJoin(DataSetJoin op)
Deep 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. |
Set<IV> |
getGraphs() |
IVariable<?> |
getVar() |
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 DataSetJoin(DataSetJoin op)
op
- public DataSetJoin(BOp[] args, Map<String,Object> annotations)
args
- annotations
- public IVariable<?> getVar()
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.