Package org.apache.calcite.piglet
Class Ast
java.lang.Object
org.apache.calcite.piglet.Ast
Abstract syntax tree.
Contains inner classes for various kinds of parse tree node.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAbstract base class for statements that assign to a named relation.static classAbstract base class for an assignment with one source relation.static classParse tree for a bag type.static classParse tree node for a call to a function or operator.static classParse tree node for DESCRIBE statement.static enumSort direction.static classParse tree node for DISTINCT statement.static classParse tree node for DUMP statement.static classParse tree for field schema.static classParse tree node for FILTER statement.static classParse tree node for FOREACH statement (nested).static classParse tree node for FOREACH statement (non-nested).static classParse tree node for GROUP statement.static classParse tree node for Identifier.static classParse tree node for LIMIT statement.static classParse tree node for Literal.static classParse tree node for LOAD statement.static classParse tree for a map type.static classAbstract base class for parse tree node.static classParse tree node for NumericLiteral.static enumParse tree node type.static classParse tree node for ORDER statement.static classParse tree node for a program.static classParse tree for scalar type such asint.static classParse tree for schema.static classParse tree node for "*", a special kind of identifier.static classAbstract base class for parse tree node representing a statement.static classParse tree for a tuple type.static classParse tree for type.static classParse tree node for VALUES statement. -
Method Summary
-
Method Details
-
toString
-
unParse
public static org.apache.calcite.piglet.Ast.UnParser unParse(org.apache.calcite.piglet.Ast.UnParser u, Ast.Node n) Formats a node and its children as a string.
-