Package org.umlg.sqlg.step.barrier
Class SqlgFoldStep<S,E>
java.lang.Object
org.umlg.sqlg.step.SqlgAbstractStep<S,E>
org.umlg.sqlg.step.barrier.SqlgReducingStepBarrier<S,E>
org.umlg.sqlg.step.barrier.SqlgFoldStep<S,E>
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterator<org.apache.tinkerpop.gremlin.process.traversal.Traverser.Admin<E>>
,org.apache.tinkerpop.gremlin.process.traversal.Step<S,
E>
- See Also:
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.umlg.sqlg.step.SqlgAbstractStep
starts
-
Constructor Summary
ConstructorDescriptionSqlgFoldStep
(org.apache.tinkerpop.gremlin.process.traversal.Traversal.Admin traversal, Supplier<E> seed, boolean listFold, BinaryOperator<E> reducingBiOperator) -
Method Summary
Modifier and TypeMethodDescriptionSet<org.apache.tinkerpop.gremlin.process.traversal.traverser.TraverserRequirement>
boolean
Methods inherited from class org.umlg.sqlg.step.barrier.SqlgReducingStepBarrier
hasStarts, processNextStart, produceFinalResult, reset, setSeedSupplier
Methods inherited from class org.umlg.sqlg.step.SqlgAbstractStep
addLabel, addStart, addStarts, clearLabels, clone, equals, getId, getLabels, getNextStep, getPreviousStep, getTraversal, hashCode, hasNext, next, removeLabel, setId, setNextStep, setPreviousStep, setTraversal, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.Step
equals
-
Constructor Details
-
SqlgFoldStep
public SqlgFoldStep(org.apache.tinkerpop.gremlin.process.traversal.Traversal.Admin traversal, Supplier<E> seed, boolean listFold, BinaryOperator<E> reducingBiOperator)
-
-
Method Details
-
reduce
- Overrides:
reduce
in classSqlgReducingStepBarrier<S,
E>
-
getRequirements
public Set<org.apache.tinkerpop.gremlin.process.traversal.traverser.TraverserRequirement> getRequirements() -
isListFold
public boolean isListFold()
-