Interface LocalBarrier<S>
- All Superinterfaces:
Barrier<TraverserSet<S>>,MemoryComputing<TraverserSet<S>>
- All Known Implementing Classes:
AggregateStep,GroupCountSideEffectStep,GroupSideEffectStep,NoOpBarrierStep,SideEffectBarrierStep,SubgraphStep,TreeSideEffectStep
- Author:
- Marko A. Rodriguez (http://markorodriguez.com)
-
Method Summary
Modifier and TypeMethodDescriptiondefault TraverserSet<S>If a barrier is unproductive then provide an empty object suitable to the implementation which can be used to represent that state.default MemoryComputeKeyTheMemoryComputeKeythat will be used by this step.Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.Barrier
addBarrier, done, hasNextBarrier, nextBarrier, processAllStarts
-
Method Details
-
getMemoryComputeKey
Description copied from interface:MemoryComputingTheMemoryComputeKeythat will be used by this step.- Specified by:
getMemoryComputeKeyin interfaceMemoryComputing<S>- Returns:
- the MemoryComputeKey to use
-
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>
-