Package org.apache.calcite.tools
Class Hoist.Variable
java.lang.Object
org.apache.calcite.tools.Hoist.Variable
- Enclosing class:
Hoist
Variable.
-
Field Summary
Modifier and TypeFieldDescriptionfinal int
Zero-based position within the SQL text after end of node.final SqlNode
Parse tree node (typically a literal).final int
Zero-based ordinal in statement.final String
Original SQL of whole statement.final int
Zero-based position within the SQL text of start of node. -
Method Summary
-
Field Details
-
originalSql
Original SQL of whole statement. -
ordinal
public final int ordinalZero-based ordinal in statement. -
node
Parse tree node (typically a literal). -
start
public final int startZero-based position within the SQL text of start of node. -
end
public final int endZero-based position within the SQL text after end of node.
-
-
Method Details
-
sql
Returns SQL text of the region of the statement covered by this Variable.
-