Class ReplacedStepTree<S,E>

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

public class ReplacedStepTree<S,E> extends Object
Author:
Pieter Martin Date: 2017/03/03
  • Constructor Details

    • ReplacedStepTree

      public ReplacedStepTree(ReplacedStep<S,E> replacedStep)
  • Method Details

    • addReplacedStep

      public void addReplacedStep(ReplacedStep<S,E> replacedStep)
    • getCurrentTreeNodeNode

      public ReplacedStepTree<S,E>.TreeNode getCurrentTreeNodeNode()
    • root

      public ReplacedStepTree<S,E>.TreeNode root()
    • getDepth

      public int getDepth()
    • clearLabels

      public void clearLabels()
    • toString

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

      public void maybeAddLabelToLeafNodes()
    • hasRange

      public boolean hasRange()
    • hasOrderBy

      public boolean hasOrderBy()
    • orderByHasSelectOneStepAndForLabelNotInTree

      public boolean orderByHasSelectOneStepAndForLabelNotInTree()
      This happens when a SqlgVertexStep has a SelectOne step where the label is for an element on the path that is before the current optimized steps.
    • orderByIsBeforeLeftJoin

      public boolean orderByIsBeforeLeftJoin()
    • orderByIsOrder

      public boolean orderByIsOrder()
    • applyComparatorsOnDb

      public void applyComparatorsOnDb()
    • doNotApplyRangeOnDb

      public void doNotApplyRangeOnDb()
    • doNotApplyInStep

      public void doNotApplyInStep()
    • reset

      public void reset()