Class 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>

public class SqlgFoldStep<S,E> extends SqlgReducingStepBarrier<S,E>
See Also:
  • 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

      public E reduce(E a, S b)
      Overrides:
      reduce in class SqlgReducingStepBarrier<S,E>
    • getRequirements

      public Set<org.apache.tinkerpop.gremlin.process.traversal.traverser.TraverserRequirement> getRequirements()
    • isListFold

      public boolean isListFold()