public class ChunkedMaterializationOp extends PipelineOp
BigdataBindingSetResolverator
. However, this class caches the
resolved BigdataValue
reference on the IV
while the
BigdataBindingSetResolverator
replaces the IV
in the solution
with the BigdataValue
. Also, this class does not filter out variables
which are not being materialized.Modifier and Type | Class and Description |
---|---|
static interface |
ChunkedMaterializationOp.Annotations |
DEFAULT_INITIAL_CAPACITY
Constructor and Description |
---|
ChunkedMaterializationOp(BOp[] args,
IVariable<?>[] vars,
String namespace,
long timestamp) |
ChunkedMaterializationOp(BOp[] args,
Map<String,Object> annotations) |
ChunkedMaterializationOp(BOp[] args,
NV... annotations) |
ChunkedMaterializationOp(ChunkedMaterializationOp 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 to be materialized.
|
boolean |
materializeInlineIVs()
When
true , inline IV s are also materialized. |
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 ChunkedMaterializationOp(BOp[] args, Map<String,Object> annotations)
args
- annotations
- public ChunkedMaterializationOp(ChunkedMaterializationOp op)
op
- public ChunkedMaterializationOp(BOp[] args, IVariable<?>[] vars, String namespace, long timestamp)
vars
- The variables to be materialized. Materialization 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 be materialized.ChunkedMaterializationOp.Annotations.VARS
public boolean materializeInlineIVs()
true
, inline IV
s are also materialized.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.