Class DruidQueryGenerator.DruidNodeStack
java.lang.Object
org.apache.druid.sql.calcite.planner.querygen.DruidQueryGenerator.DruidNodeStack
- Enclosing class:
- DruidQueryGenerator
Tracks the upstream nodes during traversal.
Its main purpose is to provide access to parent nodes;
so that context sensitive logics can be formalized with it.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetNode()org.apache.druid.sql.calcite.planner.querygen.DruidQueryGenerator.DruidNodeStack.EntrygetNode(int i) intvoidpop()voidpush(DruidLogicalNode item) voidpush(DruidLogicalNode item, int operandIndex) intsize()
-
Constructor Details
-
DruidNodeStack
-
-
Method Details
-
push
-
push
-
pop
public void pop() -
size
public int size() -
getNode
-
parentNode
-
getNode
public org.apache.druid.sql.calcite.planner.querygen.DruidQueryGenerator.DruidNodeStack.Entry getNode(int i) -
peekOperandIndex
public int peekOperandIndex() -
getPlannerContext
-