| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>org.apache.calcite.piglet (Apache Calcite API)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="../../../../jquery/jquery-3.3.1.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jquery-migrate-3.0.1.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="org.apache.calcite.piglet (Apache Calcite API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var pathtoroot = "../../../../"; |
| var useModuleDirectories = true; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../index.html">Overview</a></li> |
| <li class="navBarCell1Rev">Package</li> |
| <li>Class</li> |
| <li><a href="package-use.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <ul class="navListSearch"> |
| <li><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <main role="main"> |
| <div class="header"> |
| <h1 title="Package" class="title">Package org.apache.calcite.piglet</h1> |
| </div> |
| <div class="contentContainer"> |
| <section role="region"><a id="package.description"> |
| <!-- --> |
| </a> |
| <div class="block">Piglet, a Pig-like language.</div> |
| </section> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <table class="typeSummary"> |
| <caption><span>Class Summary</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Class</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="Ast.html" title="class in org.apache.calcite.piglet">Ast</a></th> |
| <td class="colLast"> |
| <div class="block">Abstract syntax tree.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="Ast.Assignment.html" title="class in org.apache.calcite.piglet">Ast.Assignment</a></th> |
| <td class="colLast"> |
| <div class="block">Abstract base class for statements that assign to a named relation.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="Ast.Assignment1.html" title="class in org.apache.calcite.piglet">Ast.Assignment1</a></th> |
| <td class="colLast"> |
| <div class="block">Abstract base class for an assignment with one source relation.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="Ast.BagType.html" title="class in org.apache.calcite.piglet">Ast.BagType</a></th> |
| <td class="colLast"> |
| <div class="block">Parse tree for a bag type.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="Ast.Call.html" title="class in org.apache.calcite.piglet">Ast.Call</a></th> |
| <td class="colLast"> |
| <div class="block">Parse tree node for a call to a function or operator.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="Ast.DescribeStmt.html" title="class in org.apache.calcite.piglet">Ast.DescribeStmt</a></th> |
| <td class="colLast"> |
| <div class="block">Parse tree node for DESCRIBE statement.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="Ast.DistinctStmt.html" title="class in org.apache.calcite.piglet">Ast.DistinctStmt</a></th> |
| <td class="colLast"> |
| <div class="block">Parse tree node for DISTINCT statement.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="Ast.DumpStmt.html" title="class in org.apache.calcite.piglet">Ast.DumpStmt</a></th> |
| <td class="colLast"> |
| <div class="block">Parse tree node for DUMP statement.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="Ast.FieldSchema.html" title="class in org.apache.calcite.piglet">Ast.FieldSchema</a></th> |
| <td class="colLast"> |
| <div class="block">Parse tree for field schema.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="Ast.FilterStmt.html" title="class in org.apache.calcite.piglet">Ast.FilterStmt</a></th> |
| <td class="colLast"> |
| <div class="block">Parse tree node for FILTER statement.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="Ast.ForeachNestedStmt.html" title="class in org.apache.calcite.piglet">Ast.ForeachNestedStmt</a></th> |
| <td class="colLast"> |
| <div class="block">Parse tree node for FOREACH statement (nested).</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="Ast.ForeachStmt.html" title="class in org.apache.calcite.piglet">Ast.ForeachStmt</a></th> |
| <td class="colLast"> |
| <div class="block">Parse tree node for FOREACH statement (non-nested).</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="Ast.GroupStmt.html" title="class in org.apache.calcite.piglet">Ast.GroupStmt</a></th> |
| <td class="colLast"> |
| <div class="block">Parse tree node for GROUP statement.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="Ast.Identifier.html" title="class in org.apache.calcite.piglet">Ast.Identifier</a></th> |
| <td class="colLast"> |
| <div class="block">Parse tree node for Identifier.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="Ast.LimitStmt.html" title="class in org.apache.calcite.piglet">Ast.LimitStmt</a></th> |
| <td class="colLast"> |
| <div class="block">Parse tree node for LIMIT statement.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="Ast.Literal.html" title="class in org.apache.calcite.piglet">Ast.Literal</a></th> |
| <td class="colLast"> |
| <div class="block">Parse tree node for Literal.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="Ast.LoadStmt.html" title="class in org.apache.calcite.piglet">Ast.LoadStmt</a></th> |
| <td class="colLast"> |
| <div class="block">Parse tree node for LOAD statement.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="Ast.MapType.html" title="class in org.apache.calcite.piglet">Ast.MapType</a></th> |
| <td class="colLast"> |
| <div class="block">Parse tree for a map type.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="Ast.Node.html" title="class in org.apache.calcite.piglet">Ast.Node</a></th> |
| <td class="colLast"> |
| <div class="block">Abstract base class for parse tree node.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="Ast.NumericLiteral.html" title="class in org.apache.calcite.piglet">Ast.NumericLiteral</a></th> |
| <td class="colLast"> |
| <div class="block">Parse tree node for NumericLiteral.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="Ast.OrderStmt.html" title="class in org.apache.calcite.piglet">Ast.OrderStmt</a></th> |
| <td class="colLast"> |
| <div class="block">Parse tree node for ORDER statement.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="Ast.Program.html" title="class in org.apache.calcite.piglet">Ast.Program</a></th> |
| <td class="colLast"> |
| <div class="block">Parse tree node for a program.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="Ast.ScalarType.html" title="class in org.apache.calcite.piglet">Ast.ScalarType</a></th> |
| <td class="colLast"> |
| <div class="block">Parse tree for scalar type such as <code>int</code>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="Ast.Schema.html" title="class in org.apache.calcite.piglet">Ast.Schema</a></th> |
| <td class="colLast"> |
| <div class="block">Parse tree for schema.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="Ast.SpecialIdentifier.html" title="class in org.apache.calcite.piglet">Ast.SpecialIdentifier</a></th> |
| <td class="colLast"> |
| <div class="block">Parse tree node for "*", a special kind of identifier.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="Ast.Stmt.html" title="class in org.apache.calcite.piglet">Ast.Stmt</a></th> |
| <td class="colLast"> |
| <div class="block">Abstract base class for parse tree node representing a statement.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="Ast.TupleType.html" title="class in org.apache.calcite.piglet">Ast.TupleType</a></th> |
| <td class="colLast"> |
| <div class="block">Parse tree for a tuple type.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="Ast.Type.html" title="class in org.apache.calcite.piglet">Ast.Type</a></th> |
| <td class="colLast"> |
| <div class="block">Parse tree for type.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="Ast.UnParser.html" title="class in org.apache.calcite.piglet">Ast.UnParser</a></th> |
| <td class="colLast"> |
| <div class="block">Contains output and indentation level while a tree of nodes is |
| being converted to text.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="Ast.ValuesStmt.html" title="class in org.apache.calcite.piglet">Ast.ValuesStmt</a></th> |
| <td class="colLast"> |
| <div class="block">Parse tree node for VALUES statement.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="DynamicTupleRecordType.html" title="class in org.apache.calcite.piglet">DynamicTupleRecordType</a></th> |
| <td class="colLast"> |
| <div class="block">Represents Pig Tuples with unknown fields.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="Handler.html" title="class in org.apache.calcite.piglet">Handler</a></th> |
| <td class="colLast"> |
| <div class="block">Walks over a Piglet AST and calls the corresponding methods in a |
| <a href="../tools/PigRelBuilder.html" title="class in org.apache.calcite.tools"><code>PigRelBuilder</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="PigConverter.html" title="class in org.apache.calcite.piglet">PigConverter</a></th> |
| <td class="colLast"> |
| <div class="block">Extension from PigServer to convert Pig scripts into logical relational |
| algebra plans and SQL statements.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="PigRelBuilder.html" title="class in org.apache.calcite.piglet">PigRelBuilder</a></th> |
| <td class="colLast"> |
| <div class="block">Extension to <a href="../tools/RelBuilder.html" title="class in org.apache.calcite.tools"><code>RelBuilder</code></a> for Pig logical operators.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="PigRelExVisitor.html" title="class in org.apache.calcite.piglet">PigRelExVisitor</a></th> |
| <td class="colLast"> |
| <div class="block">Visits pig expression plans and converts them into corresponding RexNodes.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="PigRelExWalker.html" title="class in org.apache.calcite.piglet">PigRelExWalker</a></th> |
| <td class="colLast"> |
| <div class="block">Post-order walker for Pig expression plans.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="PigRelOpInnerVisitor.html" title="class in org.apache.calcite.piglet">PigRelOpInnerVisitor</a></th> |
| <td class="colLast"> |
| <div class="block">Visits Pig logical operators of Pig inner logical plans |
| (in <code>LOForEach</code>) |
| and converts them into corresponding relational algebra plans.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="PigRelOpVisitor.html" title="class in org.apache.calcite.piglet">PigRelOpVisitor</a></th> |
| <td class="colLast"> |
| <div class="block">Visits Pig logical operators and converts them into corresponding relational |
| algebra plans.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="PigRelOpWalker.html" title="class in org.apache.calcite.piglet">PigRelOpWalker</a></th> |
| <td class="colLast"> |
| <div class="block">Post-order walker for Pig logical relational plans.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="PigRelOpWalker.PlanPreVisitor.html" title="class in org.apache.calcite.piglet">PigRelOpWalker.PlanPreVisitor</a></th> |
| <td class="colLast"> |
| <div class="block">Visitor that allow doing pre-visit.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="PigRelSqlUdfs.html" title="class in org.apache.calcite.piglet">PigRelSqlUdfs</a></th> |
| <td class="colLast"> |
| <div class="block">User-defined functions (<a href="../sql/validate/SqlUserDefinedFunction.html" title="class in org.apache.calcite.sql.validate"><code>UDFs</code></a>) |
| needed for Pig-to-<a href="../rel/RelNode.html" title="interface in org.apache.calcite.rel"><code>RelNode</code></a> translation.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="PigRelToSqlConverter.html" title="class in org.apache.calcite.piglet">PigRelToSqlConverter</a></th> |
| <td class="colLast"> |
| <div class="block">An extension of <a href="../rel/rel2sql/RelToSqlConverter.html" title="class in org.apache.calcite.rel.rel2sql"><code>RelToSqlConverter</code></a> to convert a relation algebra tree, |
| translated from a Pig script, into a SQL statement.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="PigRelUdfConverter.html" title="class in org.apache.calcite.piglet">PigRelUdfConverter</a></th> |
| <td class="colLast"> |
| <div class="block">This class maps a Pig UDF to a corresponding SQL built-in function/operator.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="PigTable.html" title="class in org.apache.calcite.piglet">PigTable</a></th> |
| <td class="colLast"> |
| <div class="block">A non-queriable table that contains only row type to represent a Pig Table.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="PigToSqlAggregateRule.html" title="class in org.apache.calcite.piglet">PigToSqlAggregateRule</a></th> |
| <td class="colLast"> |
| <div class="block">Planner rule that converts Pig aggregate UDF calls to built-in SQL |
| aggregates.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="PigTypes.html" title="class in org.apache.calcite.piglet">PigTypes</a></th> |
| <td class="colLast"> |
| <div class="block">Utility methods for converting Pig data types to SQL types.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="PigTypes.PigRelDataTypeFactory.html" title="class in org.apache.calcite.piglet">PigTypes.PigRelDataTypeFactory</a></th> |
| <td class="colLast"> |
| <div class="block">Type factory that produces types with the nullability when converting |
| from Pig types.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="PigUdfFinder.html" title="class in org.apache.calcite.piglet">PigUdfFinder</a></th> |
| <td class="colLast"> |
| <div class="block">Utility class to find the implementation method object for a given Pig UDF |
| class.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="PigUdfs.html" title="class in org.apache.calcite.piglet">PigUdfs</a></th> |
| <td class="colLast"> |
| <div class="block">Implementation methods.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="PigUserDefinedFunction.html" title="class in org.apache.calcite.piglet">PigUserDefinedFunction</a></th> |
| <td class="colLast"> |
| <div class="block">Class to represent Pig UDF objects</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"> |
| <table class="typeSummary"> |
| <caption><span>Enum Summary</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Enum</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="Ast.Direction.html" title="enum in org.apache.calcite.piglet">Ast.Direction</a></th> |
| <td class="colLast"> |
| <div class="block">Sort direction.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="Ast.Op.html" title="enum in org.apache.calcite.piglet">Ast.Op</a></th> |
| <td class="colLast"> |
| <div class="block">Parse tree node type.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="PigRelOpVisitor.GroupType.html" title="enum in org.apache.calcite.piglet">PigRelOpVisitor.GroupType</a></th> |
| <td class="colLast"> |
| <div class="block">Type of Pig groups</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| </ul> |
| </div> |
| </main> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a id="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../index.html">Overview</a></li> |
| <li class="navBarCell1Rev">Package</li> |
| <li>Class</li> |
| <li><a href="package-use.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 2012–2019 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |