Class SqlgAbstractStep<S,E>

java.lang.Object
org.umlg.sqlg.step.SqlgAbstractStep<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>
Direct Known Subclasses:
SqlgAddVertexStartStep, SqlgBranchStepBarrier, SqlgComputerAwareStep, SqlgEmptyStepBarrier, SqlgFilterStep, SqlgFlatMapStep, SqlgHasNextStep, SqlgLocalStepBarrier, SqlgMapStep, SqlgOptionalStepBarrier, SqlgReducingStepBarrier, SqlgStartStepBarrier, SqlgTraversalFilterStepBarrier, SqlgUnionStepBarrier, SqlgVertexStep, SqlgWhereTraversalStepBarrier

public abstract class SqlgAbstractStep<S,E> extends Object implements org.apache.tinkerpop.gremlin.process.traversal.Step<S,E>
Author:
Pieter Martin Date: 2017/06/11
See Also:
  • Field Details

  • Constructor Details

    • SqlgAbstractStep

      protected SqlgAbstractStep(org.apache.tinkerpop.gremlin.process.traversal.Traversal.Admin traversal)
  • Method Details

    • hasStarts

      public boolean hasStarts()
      Specified by:
      hasStarts in interface org.apache.tinkerpop.gremlin.process.traversal.Step<S,E>
    • setId

      public void setId(String id)
      Specified by:
      setId in interface org.apache.tinkerpop.gremlin.process.traversal.Step<S,E>
    • getId

      public String getId()
      Specified by:
      getId in interface org.apache.tinkerpop.gremlin.process.traversal.Step<S,E>
    • addLabel

      public void addLabel(String label)
      Specified by:
      addLabel in interface org.apache.tinkerpop.gremlin.process.traversal.Step<S,E>
    • removeLabel

      public void removeLabel(String label)
      Specified by:
      removeLabel in interface org.apache.tinkerpop.gremlin.process.traversal.Step<S,E>
    • clearLabels

      public void clearLabels()
      Specified by:
      clearLabels in interface org.apache.tinkerpop.gremlin.process.traversal.Step<S,E>
    • getLabels

      public Set<String> getLabels()
      Specified by:
      getLabels in interface org.apache.tinkerpop.gremlin.process.traversal.Step<S,E>
    • reset

      public void reset()
      Specified by:
      reset in interface org.apache.tinkerpop.gremlin.process.traversal.Step<S,E>
    • addStarts

      public void addStarts(Iterator<org.apache.tinkerpop.gremlin.process.traversal.Traverser.Admin<S>> starts)
      Specified by:
      addStarts in interface org.apache.tinkerpop.gremlin.process.traversal.Step<S,E>
    • addStart

      public void addStart(org.apache.tinkerpop.gremlin.process.traversal.Traverser.Admin<S> start)
      Specified by:
      addStart in interface org.apache.tinkerpop.gremlin.process.traversal.Step<S,E>
    • setPreviousStep

      public void setPreviousStep(org.apache.tinkerpop.gremlin.process.traversal.Step<?,S> step)
      Specified by:
      setPreviousStep in interface org.apache.tinkerpop.gremlin.process.traversal.Step<S,E>
    • getPreviousStep

      public org.apache.tinkerpop.gremlin.process.traversal.Step<?,S> getPreviousStep()
      Specified by:
      getPreviousStep in interface org.apache.tinkerpop.gremlin.process.traversal.Step<S,E>
    • setNextStep

      public void setNextStep(org.apache.tinkerpop.gremlin.process.traversal.Step<E,?> step)
      Specified by:
      setNextStep in interface org.apache.tinkerpop.gremlin.process.traversal.Step<S,E>
    • getNextStep

      public org.apache.tinkerpop.gremlin.process.traversal.Step<E,?> getNextStep()
      Specified by:
      getNextStep in interface org.apache.tinkerpop.gremlin.process.traversal.Step<S,E>
    • next

      public org.apache.tinkerpop.gremlin.process.traversal.Traverser.Admin<E> next()
      Specified by:
      next in interface Iterator<S>
    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<S>
    • getTraversal

      public <A, B> org.apache.tinkerpop.gremlin.process.traversal.Traversal.Admin<A,B> getTraversal()
      Specified by:
      getTraversal in interface org.apache.tinkerpop.gremlin.process.traversal.Step<S,E>
    • setTraversal

      public void setTraversal(org.apache.tinkerpop.gremlin.process.traversal.Traversal.Admin<?,?> traversal)
      Specified by:
      setTraversal in interface org.apache.tinkerpop.gremlin.process.traversal.Step<S,E>
    • processNextStart

      protected abstract org.apache.tinkerpop.gremlin.process.traversal.Traverser.Admin<E> processNextStart() throws NoSuchElementException
      Throws:
      NoSuchElementException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • clone

      public SqlgAbstractStep<S,E> clone()
      Specified by:
      clone in interface org.apache.tinkerpop.gremlin.process.traversal.Step<S,E>
      Overrides:
      clone in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object