Class ReplacedStep<S,E>

java.lang.Object
org.umlg.sqlg.sql.parse.ReplacedStep<S,E>

public class ReplacedStep<S,E> extends Object
Date: 2015/06/27 Time: 6:05 PM
  • Method Details

    • from

      public static <S, E> ReplacedStep<S,E> from(Topology topology)
      Used for SqlgVertexStepStrategy. It is a fake ReplacedStep to simulate the incoming vertex from which the traversal continues.
      Parameters:
      topology - A reference to the topology
      Returns:
      The ReplacedStep
    • from

      public static <S, E> ReplacedStep<S,E> from(Topology topology, org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep<S,E> step, int pathCount)
    • getAndOrHasContainers

      public List<AndOrHasContainer> getAndOrHasContainers()
    • getSqlgComparatorHolder

      public SqlgComparatorHolder getSqlgComparatorHolder()
    • getDbComparators

      public List<org.javatuples.Pair<org.apache.tinkerpop.gremlin.process.traversal.Traversal.Admin<?,?>,Comparator<?>>> getDbComparators()
    • addLabel

      public void addLabel(String label)
    • getLabels

      public Set<String> getLabels()
    • hasLabels

      public boolean hasLabels()
    • setRecursiveRepeatStepConfig

      public void setRecursiveRepeatStepConfig(RecursiveRepeatStepConfig recursiveRepeatStepConfig)
    • getRecursiveRepeatStepConfig

      public RecursiveRepeatStepConfig getRecursiveRepeatStepConfig()
    • setDepth

      public void setDepth(int depth)
    • toString

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

      public boolean isGraphStep()
    • isVertexStep

      public boolean isVertexStep()
    • isEdgeVertexStep

      public boolean isEdgeVertexStep()
    • isEdgeOtherVertexStep

      public boolean isEdgeOtherVertexStep()
    • getStep

      public org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep<S,E> getStep()
    • isEmit

      public boolean isEmit()
    • setEmit

      public void setEmit(boolean emit)
    • setLeftJoin

      public void setLeftJoin(boolean leftJoin)
    • isLeftJoin

      public boolean isLeftJoin()
    • isOuterLeftJoin

      public boolean isOuterLeftJoin()
    • setOuterLeftJoin

      public void setOuterLeftJoin(boolean outerLeftJoin)
    • isDrop

      public boolean isDrop()
    • isJoinToLeftJoin

      public boolean isJoinToLeftJoin()
    • isUntilFirst

      public boolean isUntilFirst()
    • setUntilFirst

      public void setUntilFirst(boolean untilFirst)
    • getDepth

      public int getDepth()
    • addIdHasContainer

      public void addIdHasContainer(org.apache.tinkerpop.gremlin.process.traversal.step.util.HasContainer hasContainer)
      Each id is for a specific label, add the label to the labelHasContainers
      Parameters:
      hasContainer - A hasContainer with T.id as key for this step. Copied from the original step.
    • addLabelHasContainer

      public void addLabelHasContainer(org.apache.tinkerpop.gremlin.process.traversal.step.util.HasContainer hasContainer)
      Parameters:
      hasContainer - A hasContainers with T.label as key for this step. Copied from the original step.
    • getLabelHasContainers

      public List<org.apache.tinkerpop.gremlin.process.traversal.step.util.HasContainer> getLabelHasContainers()
    • getLoopsStepIsStepContainer

      public LoopsStepIsStepContainer getLoopsStepIsStepContainer()
    • setLoopsStepIsStepContainer

      public void setLoopsStepIsStepContainer(LoopsStepIsStepContainer loopsStepIsStepContainer)
    • addHasContainer

      public void addHasContainer(org.apache.tinkerpop.gremlin.process.traversal.step.util.HasContainer hasContainer)
      Parameters:
      hasContainer - A hasContainer for this step. Copied from the original step.
    • addAndOrHasContainer

      public void addAndOrHasContainer(AndOrHasContainer andOrHasContainer)
    • getSqlgRangeHolder

      public SqlgRangeHolder getSqlgRangeHolder()
    • setSqlgRangeHolder

      public void setSqlgRangeHolder(SqlgRangeHolder sqlgRangeHolder)
    • hasRange

      public boolean hasRange()
    • applyInStep

      public boolean applyInStep()
    • markAsJoinToLeftJoin

      public void markAsJoinToLeftJoin()
    • markAsDrop

      public void markAsDrop()
    • getRestrictedProperties

      public Set<String> getRestrictedProperties()
    • markForSqlgSchema

      public void markForSqlgSchema()
    • isForSqlgSchema

      public boolean isForSqlgSchema()
    • getAggregateFunction

      public org.apache.commons.lang3.tuple.Pair<String,List<String>> getAggregateFunction()
    • hasAggregateFunction

      public boolean hasAggregateFunction()
    • setAggregateFunction

      public void setAggregateFunction(org.apache.commons.lang3.tuple.Pair<String,List<String>> aggregateFunction)
    • getGroupBy

      public List<String> getGroupBy()
    • setGroupBy

      public void setGroupBy(List<String> groupBy)
    • isIdOnly

      public boolean isIdOnly()
    • setIdOnly

      public void setIdOnly(boolean idOnly)