Package org.apache.calcite.tools
Class Hoist.Variable
java.lang.Object
org.apache.calcite.tools.Hoist.Variable
- Enclosing class:
Hoist
Variable.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal intZero-based position within the SQL text after end of node.final SqlNodeParse tree node (typically a literal).final intZero-based ordinal in statement.final StringOriginal SQL of whole statement.final intZero-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.
-