protected abstract static class HashIndexOpBase.ChunkTaskBase extends Object implements Callable<Void>
Modifier and Type | Field and Description |
---|---|
protected BOpContext<IBindingSet> |
context |
protected boolean |
first
true iff this is the first invocation of this operator. |
protected HashIndexOpBase |
op |
protected boolean |
sourceIsPipeline
true iff the hash index will be generated from the
intermediate solutions arriving from the pipeline. |
protected IHashJoinUtility |
state |
protected NamedSolutionSetStats |
stats |
Constructor and Description |
---|
HashIndexOpBase.ChunkTaskBase(HashIndexOpBase op,
BOpContext<IBindingSet> context) |
Modifier and Type | Method and Description |
---|---|
protected void |
acceptSolutions()
Add solutions to the hash index.
|
protected void |
checkpointSolutionSet()
Checkpoint and save the solution set.
|
protected final BOpContext<IBindingSet> context
protected final HashIndexOpBase op
protected final NamedSolutionSetStats stats
protected final IHashJoinUtility state
protected final boolean first
true
iff this is the first invocation of this operator.protected final boolean sourceIsPipeline
true
iff the hash index will be generated from the
intermediate solutions arriving from the pipeline. When
false
, the
HashIndexOpBase.Annotations.NAMED_SET_SOURCE_REF
identifies
the source from which the index will be built.public HashIndexOpBase.ChunkTaskBase(HashIndexOpBase op, BOpContext<IBindingSet> context)
protected void acceptSolutions()
protected void checkpointSolutionSet()
Note: We must checkpoint the solution set before we output anything.
Otherwise the chunks output by this operator could appear at the
SolutionSetHashJoinOp
before this operator is done and it
would have the mutable view of the HTree
rather than the
concurrent read-only view of the HTree
.
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.