Interface LocalBarrier<S>
-
- All Superinterfaces:
Barrier<TraverserSet<S>>,MemoryComputing<TraverserSet<S>>
- All Known Implementing Classes:
AggregateGlobalStep,NoOpBarrierStep
public interface LocalBarrier<S> extends Barrier<TraverserSet<S>>
- Author:
- Marko A. Rodriguez (http://markorodriguez.com)
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default TraverserSet<S>getEmptyBarrier()If a barrier is unproductive then provide an empty object suitable to the implementation which can be used to represent that state.default MemoryComputeKeygetMemoryComputeKey()TheMemoryComputeKeythat will be used by this step.-
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.Barrier
addBarrier, done, hasNextBarrier, nextBarrier, processAllStarts
-
-
-
-
Method Detail
-
getMemoryComputeKey
default MemoryComputeKey getMemoryComputeKey()
Description copied from interface:MemoryComputingTheMemoryComputeKeythat will be used by this step.- Specified by:
getMemoryComputeKeyin interfaceMemoryComputing<S>- Returns:
- the MemoryComputeKey to use
-
getEmptyBarrier
default TraverserSet<S> getEmptyBarrier()
Description copied from interface:BarrierIf a barrier is unproductive then provide an empty object suitable to the implementation which can be used to represent that state. This is important for cases likeby(out().order().fold())where theorder()might filter but thefold()means the traversal is productive.- Specified by:
getEmptyBarrierin interfaceBarrier<S>
-
-