Package org.umlg.sqlg.sql.parse
Class ReplacedStepTree<S,E>
java.lang.Object
org.umlg.sqlg.sql.parse.ReplacedStepTree<S,E>
- Author:
- Pieter Martin Date: 2017/03/03
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addReplacedStep
(ReplacedStep<S, E> replacedStep) void
void
void
void
int
getDepth()
boolean
boolean
hasRange()
void
boolean
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.boolean
boolean
void
reset()
root()
toString()
-
Constructor Details
-
ReplacedStepTree
-
-
Method Details
-
addReplacedStep
-
getCurrentTreeNodeNode
-
root
-
getDepth
public int getDepth() -
clearLabels
public void clearLabels() -
toString
-
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()
-