Package org.apache.calcite.piglet
Class Ast.OrderStmt
- java.lang.Object
-
- org.apache.calcite.piglet.Ast.Node
-
- org.apache.calcite.piglet.Ast.Stmt
-
- org.apache.calcite.piglet.Ast.Assignment
-
- org.apache.calcite.piglet.Ast.Assignment1
-
- org.apache.calcite.piglet.Ast.OrderStmt
-
- Enclosing class:
- Ast
public static class Ast.OrderStmt extends Ast.Assignment1
Parse tree node for ORDER statement.Syntax:
alias = ORDER alias BY (* | field) [ASC | DESC] [, field [ASC | DESC] ]...;
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.List<Pair<Ast.Identifier,Ast.Direction>>
fields
-
Fields inherited from class org.apache.calcite.piglet.Ast.Assignment1
source
-
Fields inherited from class org.apache.calcite.piglet.Ast.Assignment
target
-
-
Constructor Summary
Constructors Constructor Description OrderStmt(SqlParserPos pos, Ast.Identifier target, Ast.Identifier source, java.util.List<Pair<Ast.Identifier,Ast.Direction>> fields)
-
-
-
Field Detail
-
fields
final java.util.List<Pair<Ast.Identifier,Ast.Direction>> fields
-
-
Constructor Detail
-
OrderStmt
public OrderStmt(SqlParserPos pos, Ast.Identifier target, Ast.Identifier source, java.util.List<Pair<Ast.Identifier,Ast.Direction>> fields)
-
-