| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>org.apache.calcite.rel (Apache Calcite calcite API)</title> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="org.apache.calcite.rel (Apache Calcite calcite API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li class="navBarCell1Rev">Package</li> |
| <li>Class</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 class="aboutLanguage"><b>Apache Calcite</b></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/calcite/profile/package-summary.html">Prev Package</a></li> |
| <li><a href="../../../../org/apache/calcite/rel/convert/package-summary.html">Next Package</a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/calcite/rel/package-summary.html" target="_top">Frames</a></li> |
| <li><a href="package-summary.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></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> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <div class="header"> |
| <h1 title="Package" class="title">Package org.apache.calcite.rel</h1> |
| <div class="docSummary"> |
| <div class="block">Defines relational expressions.</div> |
| </div> |
| <p>See: <a href="#package.description">Description</a></p> |
| </div> |
| <div class="contentContainer"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Interface Summary table, listing interfaces, and an explanation"> |
| <caption><span>Interface Summary</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Interface</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../org/apache/calcite/rel/PhysicalNode.html" title="interface in org.apache.calcite.rel">PhysicalNode</a></td> |
| <td class="colLast"> |
| <div class="block">Physical node in a planner that is capable of doing |
| physical trait propagation and derivation.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../org/apache/calcite/rel/RelCollation.html" title="interface in org.apache.calcite.rel">RelCollation</a></td> |
| <td class="colLast"> |
| <div class="block">Description of the physical ordering of a relational expression.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../org/apache/calcite/rel/RelDistribution.html" title="interface in org.apache.calcite.rel">RelDistribution</a></td> |
| <td class="colLast"> |
| <div class="block">Description of the physical distribution of a relational expression.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../org/apache/calcite/rel/RelInput.html" title="interface in org.apache.calcite.rel">RelInput</a></td> |
| <td class="colLast"> |
| <div class="block">Context from which a relational expression can initialize itself, |
| reading from a serialized form of the relational expression.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../org/apache/calcite/rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a></td> |
| <td class="colLast"> |
| <div class="block">A <code>RelNode</code> is a relational expression.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../org/apache/calcite/rel/RelNode.Context.html" title="interface in org.apache.calcite.rel">RelNode.Context</a></td> |
| <td class="colLast"> |
| <div class="block">Context of a relational expression, for purposes of checking validity.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../org/apache/calcite/rel/RelReferentialConstraint.html" title="interface in org.apache.calcite.rel">RelReferentialConstraint</a></td> |
| <td class="colLast"> |
| <div class="block">Interface for a referential constraint, i.e., Foreign-Key - Unique-Key relationship, |
| between two tables.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../org/apache/calcite/rel/RelShuttle.html" title="interface in org.apache.calcite.rel">RelShuttle</a></td> |
| <td class="colLast"> |
| <div class="block">Visitor that has methods for the common logical relational expressions.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../org/apache/calcite/rel/RelWriter.html" title="interface in org.apache.calcite.rel">RelWriter</a></td> |
| <td class="colLast"> |
| <div class="block">Callback for an expression to dump itself to.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"> |
| <table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation"> |
| <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"> |
| <td class="colFirst"><a href="../../../../org/apache/calcite/rel/AbstractRelNode.html" title="class in org.apache.calcite.rel">AbstractRelNode</a></td> |
| <td class="colLast"> |
| <div class="block">Base class for every relational expression (<a href="../../../../org/apache/calcite/rel/RelNode.html" title="interface in org.apache.calcite.rel"><code>RelNode</code></a>).</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../org/apache/calcite/rel/BiRel.html" title="class in org.apache.calcite.rel">BiRel</a></td> |
| <td class="colLast"> |
| <div class="block">Abstract base class for relational expressions with a two inputs.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../org/apache/calcite/rel/RelCollationImpl.html" title="class in org.apache.calcite.rel">RelCollationImpl</a></td> |
| <td class="colLast"> |
| <div class="block">Simple implementation of <a href="../../../../org/apache/calcite/rel/RelCollation.html" title="interface in org.apache.calcite.rel"><code>RelCollation</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../org/apache/calcite/rel/RelCollations.html" title="class in org.apache.calcite.rel">RelCollations</a></td> |
| <td class="colLast"> |
| <div class="block">Utilities concerning <a href="../../../../org/apache/calcite/rel/RelCollation.html" title="interface in org.apache.calcite.rel"><code>RelCollation</code></a> |
| and <a href="../../../../org/apache/calcite/rel/RelFieldCollation.html" title="class in org.apache.calcite.rel"><code>RelFieldCollation</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../org/apache/calcite/rel/RelCollationTraitDef.html" title="class in org.apache.calcite.rel">RelCollationTraitDef</a></td> |
| <td class="colLast"> |
| <div class="block">Definition of the ordering trait.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../org/apache/calcite/rel/RelDistributions.html" title="class in org.apache.calcite.rel">RelDistributions</a></td> |
| <td class="colLast"> |
| <div class="block">Utilities concerning <a href="../../../../org/apache/calcite/rel/RelDistribution.html" title="interface in org.apache.calcite.rel"><code>RelDistribution</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../org/apache/calcite/rel/RelDistributionTraitDef.html" title="class in org.apache.calcite.rel">RelDistributionTraitDef</a></td> |
| <td class="colLast"> |
| <div class="block">Definition of the distribution trait.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../org/apache/calcite/rel/RelFieldCollation.html" title="class in org.apache.calcite.rel">RelFieldCollation</a></td> |
| <td class="colLast"> |
| <div class="block">Definition of the ordering of one field of a <a href="../../../../org/apache/calcite/rel/RelNode.html" title="interface in org.apache.calcite.rel"><code>RelNode</code></a> whose |
| output is to be sorted.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../org/apache/calcite/rel/RelHomogeneousShuttle.html" title="class in org.apache.calcite.rel">RelHomogeneousShuttle</a></td> |
| <td class="colLast"> |
| <div class="block">Visits all the relations in a homogeneous way: always redirects calls to |
| <code>accept(RelNode)</code>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../org/apache/calcite/rel/RelNodes.html" title="class in org.apache.calcite.rel">RelNodes</a></td> |
| <td class="colLast"> |
| <div class="block">Utilities concerning relational expressions.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../org/apache/calcite/rel/RelReferentialConstraintImpl.html" title="class in org.apache.calcite.rel">RelReferentialConstraintImpl</a></td> |
| <td class="colLast"> |
| <div class="block">RelOptReferentialConstraint base implementation.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../org/apache/calcite/rel/RelRoot.html" title="class in org.apache.calcite.rel">RelRoot</a></td> |
| <td class="colLast"> |
| <div class="block">Root of a tree of <a href="../../../../org/apache/calcite/rel/RelNode.html" title="interface in org.apache.calcite.rel"><code>RelNode</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../org/apache/calcite/rel/RelShuttleImpl.html" title="class in org.apache.calcite.rel">RelShuttleImpl</a></td> |
| <td class="colLast"> |
| <div class="block">Basic implementation of <a href="../../../../org/apache/calcite/rel/RelShuttle.html" title="interface in org.apache.calcite.rel"><code>RelShuttle</code></a> that calls |
| <a href="../../../../org/apache/calcite/rel/RelNode.html#accept-org.apache.calcite.rel.RelShuttle-"><code>RelNode.accept(RelShuttle)</code></a> on each child, and |
| <a href="../../../../org/apache/calcite/rel/RelNode.html#copy-org.apache.calcite.plan.RelTraitSet-java.util.List-"><code>RelNode.copy(org.apache.calcite.plan.RelTraitSet, java.util.List)</code></a> if |
| any children change.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../org/apache/calcite/rel/RelVisitor.html" title="class in org.apache.calcite.rel">RelVisitor</a></td> |
| <td class="colLast"> |
| <div class="block">A <code>RelVisitor</code> is a Visitor role in the |
| <a href="../../../../org/apache/calcite/util/Glossary.html#VISITOR_PATTERN"><code>visitor pattern</code></a> and |
| visits <a href="../../../../org/apache/calcite/rel/RelNode.html" title="interface in org.apache.calcite.rel"><code>RelNode</code></a> objects as the role of Element.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../org/apache/calcite/rel/SingleRel.html" title="class in org.apache.calcite.rel">SingleRel</a></td> |
| <td class="colLast"> |
| <div class="block">Abstract base class for relational expressions with a single input.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"> |
| <table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Summary table, listing enums, and an explanation"> |
| <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"> |
| <td class="colFirst"><a href="../../../../org/apache/calcite/rel/RelDistribution.Type.html" title="enum in org.apache.calcite.rel">RelDistribution.Type</a></td> |
| <td class="colLast"> |
| <div class="block">Type of distribution.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../org/apache/calcite/rel/RelFieldCollation.Direction.html" title="enum in org.apache.calcite.rel">RelFieldCollation.Direction</a></td> |
| <td class="colLast"> |
| <div class="block">Direction that a field is ordered in.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../org/apache/calcite/rel/RelFieldCollation.NullDirection.html" title="enum in org.apache.calcite.rel">RelFieldCollation.NullDirection</a></td> |
| <td class="colLast"> |
| <div class="block">Ordering of nulls.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"> |
| <table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Exception Summary table, listing exceptions, and an explanation"> |
| <caption><span>Exception Summary</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Exception</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../org/apache/calcite/rel/InvalidRelException.html" title="class in org.apache.calcite.rel">InvalidRelException</a></td> |
| <td class="colLast"> |
| <div class="block">Exception that indicates that a relational expression would be invalid |
| with given parameters.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| </ul> |
| <a name="package.description"> |
| <!-- --> |
| </a> |
| <h2 title="Package org.apache.calcite.rel Description">Package org.apache.calcite.rel Description</h2> |
| <div class="block">Defines relational expressions. |
| |
| <h2>Related packages and classes</h2> |
| <ul> |
| |
| <li>Package <code> |
| <a href="../sql/package-summary.html">org.apache.calcite.sql</a></code> |
| is an object model for SQL expressions |
| |
| <li>Package <code> |
| <a href="../sql/package-summary.html">org.apache.calcite.rex</a></code> |
| is an object model for relational row expressions |
| |
| <li>Package <code> |
| <a href="../plan/package-summary.html">org.apache.calcite.plan</a></code> |
| provides an optimizer interface. |
| |
| </ul></div> |
| </div> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li class="navBarCell1Rev">Package</li> |
| <li>Class</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 class="aboutLanguage"><b>Apache Calcite</b></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/calcite/profile/package-summary.html">Prev Package</a></li> |
| <li><a href="../../../../org/apache/calcite/rel/convert/package-summary.html">Next Package</a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/calcite/rel/package-summary.html" target="_top">Frames</a></li> |
| <li><a href="package-summary.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses-noframe.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> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2012-2020 Apache Software Foundation. All Rights Reserved.</small></p> |
| </body> |
| </html> |