Package org.apache.calcite.piglet
Piglet, a Pig-like language.
-
Class Summary Class Description Ast Abstract syntax tree.Ast.Assignment Abstract base class for statements that assign to a named relation.Ast.Assignment1 Abstract base class for an assignment with one source relation.Ast.BagType Parse tree for a bag type.Ast.Call Parse tree node for a call to a function or operator.Ast.DescribeStmt Parse tree node for DESCRIBE statement.Ast.DistinctStmt Parse tree node for DISTINCT statement.Ast.DumpStmt Parse tree node for DUMP statement.Ast.FieldSchema Parse tree for field schema.Ast.FilterStmt Parse tree node for FILTER statement.Ast.ForeachNestedStmt Parse tree node for FOREACH statement (nested).Ast.ForeachStmt Parse tree node for FOREACH statement (non-nested).Ast.GroupStmt Parse tree node for GROUP statement.Ast.Identifier Parse tree node for Identifier.Ast.LimitStmt Parse tree node for LIMIT statement.Ast.Literal Parse tree node for Literal.Ast.LoadStmt Parse tree node for LOAD statement.Ast.MapType Parse tree for a map type.Ast.Node Abstract base class for parse tree node.Ast.NumericLiteral Parse tree node for NumericLiteral.Ast.OrderStmt Parse tree node for ORDER statement.Ast.Program Parse tree node for a program.Ast.ScalarType Parse tree for scalar type such asint
.Ast.Schema Parse tree for schema.Ast.SpecialIdentifier Parse tree node for "*", a special kind of identifier.Ast.Stmt Abstract base class for parse tree node representing a statement.Ast.TupleType Parse tree for a tuple type.Ast.Type Parse tree for type.Ast.UnParser Contains output and indentation level while a tree of nodes is being converted to text.Ast.ValuesStmt Parse tree node for VALUES statement.DynamicTupleRecordType Represents Pig Tuples with unknown fields.Handler Walks over a Piglet AST and calls the corresponding methods in aPigRelBuilder
.PigConverter Extension from PigServer to convert Pig scripts into logical relational algebra plans and SQL statements.PigRelBuilder Extension toRelBuilder
for Pig logical operators.PigRelExVisitor Visits pig expression plans and converts them into corresponding RexNodes.PigRelExWalker Post-order walker for Pig expression plans.PigRelOpInnerVisitor Visits Pig logical operators of Pig inner logical plans (inLOForEach
) and converts them into corresponding relational algebra plans.PigRelOpVisitor Visits Pig logical operators and converts them into corresponding relational algebra plans.PigRelOpWalker Post-order walker for Pig logical relational plans.PigRelOpWalker.PlanPreVisitor Visitor that allow doing pre-visit.PigRelSqlUdfs PigRelToSqlConverter An extension ofRelToSqlConverter
to convert a relation algebra tree, translated from a Pig script, into a SQL statement.PigRelUdfConverter This class maps a Pig UDF to a corresponding SQL built-in function/operator.PigTable A non-queriable table that contains only row type to represent a Pig Table.PigToSqlAggregateRule Planner rule that converts Pig aggregate UDF calls to built-in SQL aggregates.PigTypes Utility methods for converting Pig data types to SQL types.PigTypes.PigRelDataTypeFactory Type factory that produces types with the nullability when converting from Pig types.PigUdfFinder Utility class to find the implementation method object for a given Pig UDF class.PigUdfs Implementation methods.PigUserDefinedFunction Class to represent Pig UDF objects -
Enum Summary Enum Description Ast.Direction Sort direction.Ast.Op Parse tree node type.PigRelOpVisitor.GroupType Type of Pig groups