| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>Uses of Class org.apache.calcite.tools.RelBuilder (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="Uses of Class org.apache.calcite.tools.RelBuilder (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><a href="../package-summary.html">Package</a></li> |
| <li><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">Class</a></li> |
| <li class="navBarCell1Rev">Use</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"> |
| <h2 title="Uses of Class org.apache.calcite.tools.RelBuilder" class="title">Uses of Class<br>org.apache.calcite.tools.RelBuilder</h2> |
| </div> |
| <div class="classUseContainer"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <table class="useSummary"> |
| <caption><span>Packages that use <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Package</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="#org.apache.calcite.plan">org.apache.calcite.plan</a></th> |
| <td class="colLast"> |
| <div class="block">Defines interfaces for constructing rule-based optimizers of |
| relational expressions.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="#org.apache.calcite.rel.core">org.apache.calcite.rel.core</a></th> |
| <td class="colLast"> |
| <div class="block">Defines core relational expressions.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="#org.apache.calcite.rel.logical">org.apache.calcite.rel.logical</a></th> |
| <td class="colLast"> |
| <div class="block">Defines logical relational expressions.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="#org.apache.calcite.rel.mutable">org.apache.calcite.rel.mutable</a></th> |
| <td class="colLast"> |
| <div class="block">Defines mutable relational expressions.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="#org.apache.calcite.rel.rules">org.apache.calcite.rel.rules</a></th> |
| <td class="colLast"> |
| <div class="block">Provides a core set of planner rules.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="#org.apache.calcite.sql2rel">org.apache.calcite.sql2rel</a></th> |
| <td class="colLast"> |
| <div class="block">Translates a SQL parse tree to relational expression.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="#org.apache.calcite.statistic">org.apache.calcite.statistic</a></th> |
| <td class="colLast"> |
| <div class="block">Implementations of statistics providers.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="#org.apache.calcite.tools">org.apache.calcite.tools</a></th> |
| <td class="colLast"> |
| <div class="block">Provides utility classes.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <section role="region"><a id="org.apache.calcite.plan"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> in <a href="../../plan/package-summary.html">org.apache.calcite.plan</a></h3> |
| <table class="useSummary"> |
| <caption><span>Fields in <a href="../../plan/package-summary.html">org.apache.calcite.plan</a> declared as <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Field</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SubstitutionVisitor.</span><code><span class="memberNameLink"><a href="../../plan/SubstitutionVisitor.html#relBuilder">relBuilder</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Factory for a builder for relational expressions.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../../plan/package-summary.html">org.apache.calcite.plan</a> that return <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelOptRuleCall.</span><code><span class="memberNameLink"><a href="../../plan/RelOptRuleCall.html#builder()">builder</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../RelBuilder.html" title="class in org.apache.calcite.tools"><code>RelBuilder</code></a> to be used by |
| code within the call.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../../plan/package-summary.html">org.apache.calcite.plan</a> with parameters of type <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../../plan/RelOptUtil.Exists.html" title="class in org.apache.calcite.plan">RelOptUtil.Exists</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelOptUtil.</span><code><span class="memberNameLink"><a href="../../plan/RelOptUtil.html#createExistsPlan(org.apache.calcite.rel.RelNode,org.apache.calcite.plan.RelOptUtil.SubQueryType,org.apache.calcite.plan.RelOptUtil.Logic,boolean,org.apache.calcite.tools.RelBuilder)">createExistsPlan</a></span>​(<a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> seekRel, |
| <a href="../../plan/RelOptUtil.SubQueryType.html" title="enum in org.apache.calcite.plan">RelOptUtil.SubQueryType</a> subQueryType, |
| <a href="../../plan/RelOptUtil.Logic.html" title="enum in org.apache.calcite.plan">RelOptUtil.Logic</a> logic, |
| boolean notIn, |
| <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a plan suitable for use in <code>EXISTS</code> or <code>IN</code> |
| statements.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelOptUtil.</span><code><span class="memberNameLink"><a href="../../plan/RelOptUtil.html#createProject(org.apache.calcite.rel.RelNode,java.util.List,java.util.List,boolean,org.apache.calcite.tools.RelBuilder)">createProject</a></span>​(<a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> child, |
| java.util.List<? extends <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> exprs, |
| java.util.List<java.lang.String> fieldNames, |
| boolean optimize, |
| <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="deprecationComment">Use |
| <a href="../RelBuilder.html#projectNamed(java.lang.Iterable,java.lang.Iterable,boolean)"><code>projectNamed(Iterable, Iterable, boolean)</code></a></div> |
| </div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelOptUtil.</span><code><span class="memberNameLink"><a href="../../plan/RelOptUtil.html#pushDownJoinConditions(org.apache.calcite.rel.core.Join,org.apache.calcite.tools.RelBuilder)">pushDownJoinConditions</a></span>​(<a href="../../rel/core/Join.html" title="class in org.apache.calcite.rel.core">Join</a> originalJoin, |
| <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder)</code></th> |
| <td class="colLast"> |
| <div class="block">Pushes down expressions in "equal" join condition.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private static void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SubstitutionVisitor.</span><code><span class="memberNameLink"><a href="../../plan/SubstitutionVisitor.html#reverseSubstitute(org.apache.calcite.tools.RelBuilder,org.apache.calcite.rel.mutable.Holder,java.util.List,java.util.List,int,int)">reverseSubstitute</a></span>​(<a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../../rel/mutable/Holder.html" title="class in org.apache.calcite.rel.mutable">Holder</a> query, |
| java.util.List<java.util.List<<a href="../../plan/SubstitutionVisitor.Replacement.html" title="class in org.apache.calcite.plan">SubstitutionVisitor.Replacement</a>>> matches, |
| java.util.List<<a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>> sub, |
| int replaceCount, |
| int maxCount)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section role="region"><a id="org.apache.calcite.rel.core"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> in <a href="../../rel/core/package-summary.html">org.apache.calcite.rel.core</a></h3> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../../rel/core/package-summary.html">org.apache.calcite.rel.core</a> with parameters of type <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TableScan.</span><code><span class="memberNameLink"><a href="../../rel/core/TableScan.html#project(org.apache.calcite.util.ImmutableBitSet,java.util.Set,org.apache.calcite.tools.RelBuilder)">project</a></span>​(<a href="../../util/ImmutableBitSet.html" title="class in org.apache.calcite.util">ImmutableBitSet</a> fieldsUsed, |
| java.util.Set<<a href="../../rel/type/RelDataTypeField.html" title="interface in org.apache.calcite.rel.type">RelDataTypeField</a>> extraFields, |
| <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder)</code></th> |
| <td class="colLast"> |
| <div class="block">Projects a subset of the fields of the table, and also asks for "extra" |
| fields that were not included in the table's official type.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section role="region"><a id="org.apache.calcite.rel.logical"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> in <a href="../../rel/logical/package-summary.html">org.apache.calcite.rel.logical</a></h3> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../../rel/logical/package-summary.html">org.apache.calcite.rel.logical</a> with parameters of type <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LogicalWindow.</span><code><span class="memberNameLink"><a href="../../rel/logical/LogicalWindow.html#create(org.apache.calcite.plan.RelOptCluster,org.apache.calcite.plan.RelTraitSet,org.apache.calcite.tools.RelBuilder,org.apache.calcite.rel.RelNode,org.apache.calcite.rex.RexProgram)">create</a></span>​(<a href="../../plan/RelOptCluster.html" title="class in org.apache.calcite.plan">RelOptCluster</a> cluster, |
| <a href="../../plan/RelTraitSet.html" title="class in org.apache.calcite.plan">RelTraitSet</a> traitSet, |
| <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> child, |
| <a href="../../rex/RexProgram.html" title="class in org.apache.calcite.rex">RexProgram</a> program)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a LogicalWindow by parsing a <a href="../../rex/RexProgram.html" title="class in org.apache.calcite.rex"><code>RexProgram</code></a>.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section role="region"><a id="org.apache.calcite.rel.mutable"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> in <a href="../../rel/mutable/package-summary.html">org.apache.calcite.rel.mutable</a></h3> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../../rel/mutable/package-summary.html">org.apache.calcite.rel.mutable</a> with parameters of type <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">MutableRels.</span><code><span class="memberNameLink"><a href="../../rel/mutable/MutableRels.html#fromMutable(org.apache.calcite.rel.mutable.MutableRel,org.apache.calcite.tools.RelBuilder)">fromMutable</a></span>​(<a href="../../rel/mutable/MutableRel.html" title="class in org.apache.calcite.rel.mutable">MutableRel</a> node, |
| <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private static java.util.List<<a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">MutableRels.</span><code><span class="memberNameLink"><a href="../../rel/mutable/MutableRels.html#fromMutables(java.util.List,org.apache.calcite.tools.RelBuilder)">fromMutables</a></span>​(java.util.List<<a href="../../rel/mutable/MutableRel.html" title="class in org.apache.calcite.rel.mutable">MutableRel</a>> nodes, |
| <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section role="region"><a id="org.apache.calcite.rel.rules"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> in <a href="../../rel/rules/package-summary.html">org.apache.calcite.rel.rules</a></h3> |
| <table class="useSummary"> |
| <caption><span>Fields in <a href="../../rel/rules/package-summary.html">org.apache.calcite.rel.rules</a> declared as <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Field</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">CalcRelSplitter.</span><code><span class="memberNameLink"><a href="../../rel/rules/CalcRelSplitter.html#relBuilder">relBuilder</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">PushProjector.</span><code><span class="memberNameLink"><a href="../../rel/rules/PushProjector.html#relBuilder">relBuilder</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../../rel/rules/package-summary.html">org.apache.calcite.rel.rules</a> that return <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AggregateExpandDistinctAggregatesRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/AggregateExpandDistinctAggregatesRule.html#convertMonopole(org.apache.calcite.tools.RelBuilder,org.apache.calcite.rel.core.Aggregate,java.util.List,int)">convertMonopole</a></span>​(<a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../../rel/core/Aggregate.html" title="class in org.apache.calcite.rel.core">Aggregate</a> aggregate, |
| java.util.List<java.lang.Integer> argList, |
| int filterArg)</code></th> |
| <td class="colLast"> |
| <div class="block">Converts an aggregate relational expression that contains just one |
| distinct aggregate function (or perhaps several over the same arguments) |
| and no non-distinct aggregate functions.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AggregateExpandDistinctAggregatesRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/AggregateExpandDistinctAggregatesRule.html#convertSingletonDistinct(org.apache.calcite.tools.RelBuilder,org.apache.calcite.rel.core.Aggregate,java.util.Set)">convertSingletonDistinct</a></span>​(<a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../../rel/core/Aggregate.html" title="class in org.apache.calcite.rel.core">Aggregate</a> aggregate, |
| java.util.Set<<a href="../../util/Pair.html" title="class in org.apache.calcite.util">Pair</a><java.util.List<java.lang.Integer>,​java.lang.Integer>> argLists)</code></th> |
| <td class="colLast"> |
| <div class="block">Converts an aggregate with one distinct aggregate and one or more |
| non-distinct aggregates to multi-phase aggregates (see reference example |
| below).</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AggregateExpandDistinctAggregatesRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/AggregateExpandDistinctAggregatesRule.html#createSelectDistinct(org.apache.calcite.tools.RelBuilder,org.apache.calcite.rel.core.Aggregate,java.util.List,int,java.util.Map)">createSelectDistinct</a></span>​(<a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../../rel/core/Aggregate.html" title="class in org.apache.calcite.rel.core">Aggregate</a> aggregate, |
| java.util.List<java.lang.Integer> argList, |
| int filterArg, |
| java.util.Map<java.lang.Integer,​java.lang.Integer> sourceOf)</code></th> |
| <td class="colLast"> |
| <div class="block">Given an <a href="../../rel/core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> |
| and the ordinals of the arguments to a |
| particular call to an aggregate function, creates a 'select distinct' |
| relational expression which projects the group columns and those |
| arguments but nothing else.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../../rel/rules/package-summary.html">org.apache.calcite.rel.rules</a> with parameters of type <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptOptimizeJoinRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/LoptOptimizeJoinRule.html#addAdditionalFilters(org.apache.calcite.tools.RelBuilder,org.apache.calcite.rel.rules.LoptMultiJoin,org.apache.calcite.rel.rules.LoptJoinTree,org.apache.calcite.rel.rules.LoptJoinTree,java.util.List)">addAdditionalFilters</a></span>​(<a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../../rel/rules/LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin, |
| <a href="../../rel/rules/LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a> left, |
| <a href="../../rel/rules/LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a> right, |
| java.util.List<<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> filtersToAdd)</code></th> |
| <td class="colLast"> |
| <div class="block">Determines whether any additional filters are applicable to a join tree.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="../../rel/rules/LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptOptimizeJoinRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/LoptOptimizeJoinRule.html#addFactorToTree(org.apache.calcite.rel.metadata.RelMetadataQuery,org.apache.calcite.tools.RelBuilder,org.apache.calcite.rel.rules.LoptMultiJoin,org.apache.calcite.rel.rules.LoptSemiJoinOptimizer,org.apache.calcite.rel.rules.LoptJoinTree,int,java.util.BitSet,java.util.List,boolean)">addFactorToTree</a></span>​(<a href="../../rel/metadata/RelMetadataQuery.html" title="class in org.apache.calcite.rel.metadata">RelMetadataQuery</a> mq, |
| <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../../rel/rules/LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin, |
| <a href="../../rel/rules/LoptSemiJoinOptimizer.html" title="class in org.apache.calcite.rel.rules">LoptSemiJoinOptimizer</a> semiJoinOpt, |
| <a href="../../rel/rules/LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a> joinTree, |
| int factorToAdd, |
| java.util.BitSet factorsNeeded, |
| java.util.List<<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> filtersToAdd, |
| boolean selfJoin)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds a new factor into the current join tree.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../../rel/rules/LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptOptimizeJoinRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/LoptOptimizeJoinRule.html#addToTop(org.apache.calcite.rel.metadata.RelMetadataQuery,org.apache.calcite.tools.RelBuilder,org.apache.calcite.rel.rules.LoptMultiJoin,org.apache.calcite.rel.rules.LoptSemiJoinOptimizer,org.apache.calcite.rel.rules.LoptJoinTree,int,java.util.List,boolean)">addToTop</a></span>​(<a href="../../rel/metadata/RelMetadataQuery.html" title="class in org.apache.calcite.rel.metadata">RelMetadataQuery</a> mq, |
| <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../../rel/rules/LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin, |
| <a href="../../rel/rules/LoptSemiJoinOptimizer.html" title="class in org.apache.calcite.rel.rules">LoptSemiJoinOptimizer</a> semiJoinOpt, |
| <a href="../../rel/rules/LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a> joinTree, |
| int factorToAdd, |
| java.util.List<<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> filtersToAdd, |
| boolean selfJoin)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a join tree with the new factor added to the top of the tree</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SubQueryRemoveRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/SubQueryRemoveRule.html#apply(org.apache.calcite.rex.RexSubQuery,java.util.Set,org.apache.calcite.plan.RelOptUtil.Logic,org.apache.calcite.tools.RelBuilder,int,int)">apply</a></span>​(<a href="../../rex/RexSubQuery.html" title="class in org.apache.calcite.rex">RexSubQuery</a> e, |
| java.util.Set<<a href="../../rel/core/CorrelationId.html" title="class in org.apache.calcite.rel.core">CorrelationId</a>> variablesSet, |
| <a href="../../plan/RelOptUtil.Logic.html" title="enum in org.apache.calcite.plan">RelOptUtil.Logic</a> logic, |
| <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> builder, |
| int inputCount, |
| int offset)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected abstract <a href="../../rel/rules/AbstractMaterializedViewRule.ViewPartialRewriting.html" title="class in org.apache.calcite.rel.rules">AbstractMaterializedViewRule.ViewPartialRewriting</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AbstractMaterializedViewRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/AbstractMaterializedViewRule.html#compensateViewPartial(org.apache.calcite.tools.RelBuilder,org.apache.calcite.rex.RexBuilder,org.apache.calcite.rel.metadata.RelMetadataQuery,org.apache.calcite.rel.RelNode,org.apache.calcite.rel.core.Project,org.apache.calcite.rel.RelNode,java.util.Set,org.apache.calcite.rel.rules.AbstractMaterializedViewRule.EquivalenceClasses,org.apache.calcite.rel.core.Project,org.apache.calcite.rel.RelNode,java.util.Set)">compensateViewPartial</a></span>​(<a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../../rex/RexBuilder.html" title="class in org.apache.calcite.rex">RexBuilder</a> rexBuilder, |
| <a href="../../rel/metadata/RelMetadataQuery.html" title="class in org.apache.calcite.rel.metadata">RelMetadataQuery</a> mq, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> input, |
| <a href="../../rel/core/Project.html" title="class in org.apache.calcite.rel.core">Project</a> topProject, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> node, |
| java.util.Set<<a href="../../rex/RexTableInputRef.RelTableRef.html" title="class in org.apache.calcite.rex">RexTableInputRef.RelTableRef</a>> queryTableRefs, |
| <a href="../../rel/rules/AbstractMaterializedViewRule.EquivalenceClasses.html" title="class in org.apache.calcite.rel.rules">AbstractMaterializedViewRule.EquivalenceClasses</a> queryEC, |
| <a href="../../rel/core/Project.html" title="class in org.apache.calcite.rel.core">Project</a> topViewProject, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> viewNode, |
| java.util.Set<<a href="../../rex/RexTableInputRef.RelTableRef.html" title="class in org.apache.calcite.rex">RexTableInputRef.RelTableRef</a>> viewTableRefs)</code></th> |
| <td class="colLast"> |
| <div class="block">It checks whether the query can be rewritten using the view even though the |
| query uses additional tables.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../rel/rules/AbstractMaterializedViewRule.ViewPartialRewriting.html" title="class in org.apache.calcite.rel.rules">AbstractMaterializedViewRule.ViewPartialRewriting</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AbstractMaterializedViewRule.MaterializedViewAggregateRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/AbstractMaterializedViewRule.MaterializedViewAggregateRule.html#compensateViewPartial(org.apache.calcite.tools.RelBuilder,org.apache.calcite.rex.RexBuilder,org.apache.calcite.rel.metadata.RelMetadataQuery,org.apache.calcite.rel.RelNode,org.apache.calcite.rel.core.Project,org.apache.calcite.rel.RelNode,java.util.Set,org.apache.calcite.rel.rules.AbstractMaterializedViewRule.EquivalenceClasses,org.apache.calcite.rel.core.Project,org.apache.calcite.rel.RelNode,java.util.Set)">compensateViewPartial</a></span>​(<a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../../rex/RexBuilder.html" title="class in org.apache.calcite.rex">RexBuilder</a> rexBuilder, |
| <a href="../../rel/metadata/RelMetadataQuery.html" title="class in org.apache.calcite.rel.metadata">RelMetadataQuery</a> mq, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> input, |
| <a href="../../rel/core/Project.html" title="class in org.apache.calcite.rel.core">Project</a> topProject, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> node, |
| java.util.Set<<a href="../../rex/RexTableInputRef.RelTableRef.html" title="class in org.apache.calcite.rex">RexTableInputRef.RelTableRef</a>> queryTableRefs, |
| <a href="../../rel/rules/AbstractMaterializedViewRule.EquivalenceClasses.html" title="class in org.apache.calcite.rel.rules">AbstractMaterializedViewRule.EquivalenceClasses</a> queryEC, |
| <a href="../../rel/core/Project.html" title="class in org.apache.calcite.rel.core">Project</a> topViewProject, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> viewNode, |
| java.util.Set<<a href="../../rex/RexTableInputRef.RelTableRef.html" title="class in org.apache.calcite.rex">RexTableInputRef.RelTableRef</a>> viewTableRefs)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../rel/rules/AbstractMaterializedViewRule.ViewPartialRewriting.html" title="class in org.apache.calcite.rel.rules">AbstractMaterializedViewRule.ViewPartialRewriting</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AbstractMaterializedViewRule.MaterializedViewJoinRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/AbstractMaterializedViewRule.MaterializedViewJoinRule.html#compensateViewPartial(org.apache.calcite.tools.RelBuilder,org.apache.calcite.rex.RexBuilder,org.apache.calcite.rel.metadata.RelMetadataQuery,org.apache.calcite.rel.RelNode,org.apache.calcite.rel.core.Project,org.apache.calcite.rel.RelNode,java.util.Set,org.apache.calcite.rel.rules.AbstractMaterializedViewRule.EquivalenceClasses,org.apache.calcite.rel.core.Project,org.apache.calcite.rel.RelNode,java.util.Set)">compensateViewPartial</a></span>​(<a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../../rex/RexBuilder.html" title="class in org.apache.calcite.rex">RexBuilder</a> rexBuilder, |
| <a href="../../rel/metadata/RelMetadataQuery.html" title="class in org.apache.calcite.rel.metadata">RelMetadataQuery</a> mq, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> input, |
| <a href="../../rel/core/Project.html" title="class in org.apache.calcite.rel.core">Project</a> topProject, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> node, |
| java.util.Set<<a href="../../rex/RexTableInputRef.RelTableRef.html" title="class in org.apache.calcite.rex">RexTableInputRef.RelTableRef</a>> queryTableRefs, |
| <a href="../../rel/rules/AbstractMaterializedViewRule.EquivalenceClasses.html" title="class in org.apache.calcite.rel.rules">AbstractMaterializedViewRule.EquivalenceClasses</a> queryEC, |
| <a href="../../rel/core/Project.html" title="class in org.apache.calcite.rel.core">Project</a> topViewProject, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> viewNode, |
| java.util.Set<<a href="../../rex/RexTableInputRef.RelTableRef.html" title="class in org.apache.calcite.rex">RexTableInputRef.RelTableRef</a>> viewTableRefs)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AggregateExpandDistinctAggregatesRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/AggregateExpandDistinctAggregatesRule.html#convertMonopole(org.apache.calcite.tools.RelBuilder,org.apache.calcite.rel.core.Aggregate,java.util.List,int)">convertMonopole</a></span>​(<a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../../rel/core/Aggregate.html" title="class in org.apache.calcite.rel.core">Aggregate</a> aggregate, |
| java.util.List<java.lang.Integer> argList, |
| int filterArg)</code></th> |
| <td class="colLast"> |
| <div class="block">Converts an aggregate relational expression that contains just one |
| distinct aggregate function (or perhaps several over the same arguments) |
| and no non-distinct aggregate functions.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AggregateExpandDistinctAggregatesRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/AggregateExpandDistinctAggregatesRule.html#convertSingletonDistinct(org.apache.calcite.tools.RelBuilder,org.apache.calcite.rel.core.Aggregate,java.util.Set)">convertSingletonDistinct</a></span>​(<a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../../rel/core/Aggregate.html" title="class in org.apache.calcite.rel.core">Aggregate</a> aggregate, |
| java.util.Set<<a href="../../util/Pair.html" title="class in org.apache.calcite.util">Pair</a><java.util.List<java.lang.Integer>,​java.lang.Integer>> argLists)</code></th> |
| <td class="colLast"> |
| <div class="block">Converts an aggregate with one distinct aggregate and one or more |
| non-distinct aggregates to multi-phase aggregates (see reference example |
| below).</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="../../rel/rules/LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptOptimizeJoinRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/LoptOptimizeJoinRule.html#createJoinSubtree(org.apache.calcite.rel.metadata.RelMetadataQuery,org.apache.calcite.tools.RelBuilder,org.apache.calcite.rel.rules.LoptMultiJoin,org.apache.calcite.rel.rules.LoptJoinTree,org.apache.calcite.rel.rules.LoptJoinTree,org.apache.calcite.rex.RexNode,org.apache.calcite.rel.core.JoinRelType,java.util.List,boolean,boolean)">createJoinSubtree</a></span>​(<a href="../../rel/metadata/RelMetadataQuery.html" title="class in org.apache.calcite.rel.metadata">RelMetadataQuery</a> mq, |
| <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../../rel/rules/LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin, |
| <a href="../../rel/rules/LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a> left, |
| <a href="../../rel/rules/LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a> right, |
| <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> condition, |
| <a href="../../rel/core/JoinRelType.html" title="enum in org.apache.calcite.rel.core">JoinRelType</a> joinType, |
| java.util.List<<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> filtersToAdd, |
| boolean fullAdjust, |
| boolean selfJoin)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a LogicalJoin given left and right operands and a join condition.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../../rel/rules/LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptOptimizeJoinRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/LoptOptimizeJoinRule.html#createOrdering(org.apache.calcite.rel.metadata.RelMetadataQuery,org.apache.calcite.tools.RelBuilder,org.apache.calcite.rel.rules.LoptMultiJoin,org.apache.calcite.rel.rules.LoptSemiJoinOptimizer,int)">createOrdering</a></span>​(<a href="../../rel/metadata/RelMetadataQuery.html" title="class in org.apache.calcite.rel.metadata">RelMetadataQuery</a> mq, |
| <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../../rel/rules/LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin, |
| <a href="../../rel/rules/LoptSemiJoinOptimizer.html" title="class in org.apache.calcite.rel.rules">LoptSemiJoinOptimizer</a> semiJoinOpt, |
| int firstFactor)</code></th> |
| <td class="colLast"> |
| <div class="block">Generates a join tree with a specific factor as the first factor in the |
| join tree</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="../../rel/rules/LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptOptimizeJoinRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/LoptOptimizeJoinRule.html#createReplacementJoin(org.apache.calcite.tools.RelBuilder,org.apache.calcite.rel.rules.LoptMultiJoin,org.apache.calcite.rel.rules.LoptSemiJoinOptimizer,org.apache.calcite.rel.rules.LoptJoinTree,int,int,org.apache.calcite.util.ImmutableIntList,java.lang.Integer%5B%5D,java.util.List)">createReplacementJoin</a></span>​(<a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../../rel/rules/LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin, |
| <a href="../../rel/rules/LoptSemiJoinOptimizer.html" title="class in org.apache.calcite.rel.rules">LoptSemiJoinOptimizer</a> semiJoinOpt, |
| <a href="../../rel/rules/LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a> currJoinTree, |
| int leftIdx, |
| int factorToAdd, |
| <a href="../../util/ImmutableIntList.html" title="class in org.apache.calcite.util">ImmutableIntList</a> newKeys, |
| java.lang.Integer[] replacementKeys, |
| java.util.List<<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> filtersToAdd)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a replacement join, projecting either dummy columns or |
| replacement keys from the factor that doesn't actually need to be joined.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../../rel/rules/LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptOptimizeJoinRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/LoptOptimizeJoinRule.html#createReplacementSemiJoin(org.apache.calcite.tools.RelBuilder,org.apache.calcite.rel.rules.LoptMultiJoin,org.apache.calcite.rel.rules.LoptSemiJoinOptimizer,org.apache.calcite.rel.rules.LoptJoinTree,int,java.util.List)">createReplacementSemiJoin</a></span>​(<a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../../rel/rules/LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin, |
| <a href="../../rel/rules/LoptSemiJoinOptimizer.html" title="class in org.apache.calcite.rel.rules">LoptSemiJoinOptimizer</a> semiJoinOpt, |
| <a href="../../rel/rules/LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a> factTree, |
| int dimIdx, |
| java.util.List<<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> filtersToAdd)</code></th> |
| <td class="colLast"> |
| <div class="block">In the event that a dimension table does not need to be joined because of |
| a semijoin, this method creates a join tree that consists of a projection |
| on top of an existing join tree.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AggregateExpandDistinctAggregatesRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/AggregateExpandDistinctAggregatesRule.html#createSelectDistinct(org.apache.calcite.tools.RelBuilder,org.apache.calcite.rel.core.Aggregate,java.util.List,int,java.util.Map)">createSelectDistinct</a></span>​(<a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../../rel/core/Aggregate.html" title="class in org.apache.calcite.rel.core">Aggregate</a> aggregate, |
| java.util.List<java.lang.Integer> argList, |
| int filterArg, |
| java.util.Map<java.lang.Integer,​java.lang.Integer> sourceOf)</code></th> |
| <td class="colLast"> |
| <div class="block">Given an <a href="../../rel/core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> |
| and the ordinals of the arguments to a |
| particular call to an aggregate function, creates a 'select distinct' |
| relational expression which projects the group columns and those |
| arguments but nothing else.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptOptimizeJoinRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/LoptOptimizeJoinRule.html#createTopProject(org.apache.calcite.tools.RelBuilder,org.apache.calcite.rel.rules.LoptMultiJoin,org.apache.calcite.rel.rules.LoptJoinTree,java.util.List)">createTopProject</a></span>​(<a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../../rel/rules/LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin, |
| <a href="../../rel/rules/LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a> joinTree, |
| java.util.List<java.lang.String> fieldNames)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates the topmost projection that will sit on top of the selected join |
| ordering.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected abstract <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AbstractMaterializedViewRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/AbstractMaterializedViewRule.html#createUnion(org.apache.calcite.tools.RelBuilder,org.apache.calcite.rex.RexBuilder,org.apache.calcite.rel.RelNode,org.apache.calcite.rel.RelNode,org.apache.calcite.rel.RelNode)">createUnion</a></span>​(<a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../../rex/RexBuilder.html" title="class in org.apache.calcite.rex">RexBuilder</a> rexBuilder, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> topProject, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> unionInputQuery, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> unionInputView)</code></th> |
| <td class="colLast"> |
| <div class="block">If the view will be used in a union rewriting, this method is responsible for |
| generating the union and any other operator needed on top of it, e.g., a Project |
| operator.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AbstractMaterializedViewRule.MaterializedViewAggregateRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/AbstractMaterializedViewRule.MaterializedViewAggregateRule.html#createUnion(org.apache.calcite.tools.RelBuilder,org.apache.calcite.rex.RexBuilder,org.apache.calcite.rel.RelNode,org.apache.calcite.rel.RelNode,org.apache.calcite.rel.RelNode)">createUnion</a></span>​(<a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../../rex/RexBuilder.html" title="class in org.apache.calcite.rex">RexBuilder</a> rexBuilder, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> topProject, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> unionInputQuery, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> unionInputView)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AbstractMaterializedViewRule.MaterializedViewJoinRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/AbstractMaterializedViewRule.MaterializedViewJoinRule.html#createUnion(org.apache.calcite.tools.RelBuilder,org.apache.calcite.rex.RexBuilder,org.apache.calcite.rel.RelNode,org.apache.calcite.rel.RelNode,org.apache.calcite.rel.RelNode)">createUnion</a></span>​(<a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../../rex/RexBuilder.html" title="class in org.apache.calcite.rex">RexBuilder</a> rexBuilder, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> topProject, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> unionInputQuery, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> unionInputView)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AggregateExpandDistinctAggregatesRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/AggregateExpandDistinctAggregatesRule.html#doRewrite(org.apache.calcite.tools.RelBuilder,org.apache.calcite.rel.core.Aggregate,int,java.util.List,int,java.util.List)">doRewrite</a></span>​(<a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../../rel/core/Aggregate.html" title="class in org.apache.calcite.rel.core">Aggregate</a> aggregate, |
| int n, |
| java.util.List<java.lang.Integer> argList, |
| int filterArg, |
| java.util.List<<a href="../../rex/RexInputRef.html" title="class in org.apache.calcite.rex">RexInputRef</a>> refs)</code></th> |
| <td class="colLast"> |
| <div class="block">Converts all distinct aggregate calls to a given set of arguments.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="../../rex/RexInputRef.html" title="class in org.apache.calcite.rex">RexInputRef</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SubQueryRemoveRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/SubQueryRemoveRule.html#field(org.apache.calcite.tools.RelBuilder,int,int)">field</a></span>​(<a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> builder, |
| int inputCount, |
| int offset)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a reference to a particular field, by offset, across several |
| inputs on a <a href="../RelBuilder.html" title="class in org.apache.calcite.tools"><code>RelBuilder</code></a>'s stack.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private static java.util.List<<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SubQueryRemoveRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/SubQueryRemoveRule.html#fields(org.apache.calcite.tools.RelBuilder,int)">fields</a></span>​(<a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> builder, |
| int fieldCount)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a list of expressions that project the first <code>fieldCount</code> |
| fields of the top input on a <a href="../RelBuilder.html" title="class in org.apache.calcite.tools"><code>RelBuilder</code></a>'s stack.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptOptimizeJoinRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/LoptOptimizeJoinRule.html#findBestOrderings(org.apache.calcite.rel.metadata.RelMetadataQuery,org.apache.calcite.tools.RelBuilder,org.apache.calcite.rel.rules.LoptMultiJoin,org.apache.calcite.rel.rules.LoptSemiJoinOptimizer,org.apache.calcite.plan.RelOptRuleCall)">findBestOrderings</a></span>​(<a href="../../rel/metadata/RelMetadataQuery.html" title="class in org.apache.calcite.rel.metadata">RelMetadataQuery</a> mq, |
| <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../../rel/rules/LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin, |
| <a href="../../rel/rules/LoptSemiJoinOptimizer.html" title="class in org.apache.calcite.rel.rules">LoptSemiJoinOptimizer</a> semiJoinOpt, |
| <a href="../../plan/RelOptRuleCall.html" title="class in org.apache.calcite.plan">RelOptRuleCall</a> call)</code></th> |
| <td class="colLast"> |
| <div class="block">Generates N optimal join orderings.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">CalcRelSplitter.RelType.</span><code><span class="memberNameLink"><a href="../../rel/rules/CalcRelSplitter.RelType.html#makeRel(org.apache.calcite.plan.RelOptCluster,org.apache.calcite.plan.RelTraitSet,org.apache.calcite.tools.RelBuilder,org.apache.calcite.rel.RelNode,org.apache.calcite.rex.RexProgram)">makeRel</a></span>​(<a href="../../plan/RelOptCluster.html" title="class in org.apache.calcite.plan">RelOptCluster</a> cluster, |
| <a href="../../plan/RelTraitSet.html" title="class in org.apache.calcite.plan">RelTraitSet</a> traitSet, |
| <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> input, |
| <a href="../../rex/RexProgram.html" title="class in org.apache.calcite.rex">RexProgram</a> program)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AggregateReduceFunctionsRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/AggregateReduceFunctionsRule.html#newAggregateRel(org.apache.calcite.tools.RelBuilder,org.apache.calcite.rel.core.Aggregate,java.util.List)">newAggregateRel</a></span>​(<a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../../rel/core/Aggregate.html" title="class in org.apache.calcite.rel.core">Aggregate</a> oldAggregate, |
| java.util.List<<a href="../../rel/core/AggregateCall.html" title="class in org.apache.calcite.rel.core">AggregateCall</a>> newCalls)</code></th> |
| <td class="colLast"> |
| <div class="block">Do a shallow clone of oldAggRel and update aggCalls.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AggregateReduceFunctionsRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/AggregateReduceFunctionsRule.html#newCalcRel(org.apache.calcite.tools.RelBuilder,org.apache.calcite.rel.type.RelDataType,java.util.List)">newCalcRel</a></span>​(<a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a> rowType, |
| java.util.List<<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> exprs)</code></th> |
| <td class="colLast"> |
| <div class="block">Add a calc with the expressions to compute the original agg calls from the |
| decomposed ones.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="../../rel/rules/LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptOptimizeJoinRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/LoptOptimizeJoinRule.html#pushDownFactor(org.apache.calcite.rel.metadata.RelMetadataQuery,org.apache.calcite.tools.RelBuilder,org.apache.calcite.rel.rules.LoptMultiJoin,org.apache.calcite.rel.rules.LoptSemiJoinOptimizer,org.apache.calcite.rel.rules.LoptJoinTree,int,java.util.BitSet,java.util.List,boolean)">pushDownFactor</a></span>​(<a href="../../rel/metadata/RelMetadataQuery.html" title="class in org.apache.calcite.rel.metadata">RelMetadataQuery</a> mq, |
| <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../../rel/rules/LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin, |
| <a href="../../rel/rules/LoptSemiJoinOptimizer.html" title="class in org.apache.calcite.rel.rules">LoptSemiJoinOptimizer</a> semiJoinOpt, |
| <a href="../../rel/rules/LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a> joinTree, |
| int factorToAdd, |
| java.util.BitSet factorsNeeded, |
| java.util.List<<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> filtersToAdd, |
| boolean selfJoin)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a join tree where the new factor is pushed down one of the |
| operands of the current join tree</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../util/Pair.html" title="class in org.apache.calcite.util">Pair</a><<a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>,​<a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AbstractMaterializedViewRule.MaterializedViewAggregateRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/AbstractMaterializedViewRule.MaterializedViewAggregateRule.html#pushFilterToOriginalViewPlan(org.apache.calcite.tools.RelBuilder,org.apache.calcite.rel.RelNode,org.apache.calcite.rel.RelNode,org.apache.calcite.rex.RexNode)">pushFilterToOriginalViewPlan</a></span>​(<a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> builder, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> topViewProject, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> viewNode, |
| <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> cond)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../util/Pair.html" title="class in org.apache.calcite.util">Pair</a><<a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>,​<a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AbstractMaterializedViewRule.MaterializedViewJoinRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/AbstractMaterializedViewRule.MaterializedViewJoinRule.html#pushFilterToOriginalViewPlan(org.apache.calcite.tools.RelBuilder,org.apache.calcite.rel.RelNode,org.apache.calcite.rel.RelNode,org.apache.calcite.rex.RexNode)">pushFilterToOriginalViewPlan</a></span>​(<a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> builder, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> topViewProject, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> viewNode, |
| <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> cond)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected abstract <a href="../../util/Pair.html" title="class in org.apache.calcite.util">Pair</a><<a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>,​<a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AbstractMaterializedViewRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/AbstractMaterializedViewRule.html#pushFilterToOriginalViewPlan(org.apache.calcite.tools.RelBuilder,org.apache.calcite.rel.RelNode,org.apache.calcite.rel.RelNode,org.apache.calcite.rex.RexNode)">pushFilterToOriginalViewPlan</a></span>​(<a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> builder, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> topViewProject, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> viewNode, |
| <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> cond)</code></th> |
| <td class="colLast"> |
| <div class="block">Once we create a compensation predicate, this method is responsible for pushing |
| the resulting filter through the view nodes.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SubQueryRemoveRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/SubQueryRemoveRule.html#rewriteExists(org.apache.calcite.rex.RexSubQuery,java.util.Set,org.apache.calcite.plan.RelOptUtil.Logic,org.apache.calcite.tools.RelBuilder)">rewriteExists</a></span>​(<a href="../../rex/RexSubQuery.html" title="class in org.apache.calcite.rex">RexSubQuery</a> e, |
| java.util.Set<<a href="../../rel/core/CorrelationId.html" title="class in org.apache.calcite.rel.core">CorrelationId</a>> variablesSet, |
| <a href="../../plan/RelOptUtil.Logic.html" title="enum in org.apache.calcite.plan">RelOptUtil.Logic</a> logic, |
| <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> builder)</code></th> |
| <td class="colLast"> |
| <div class="block">Rewrites an EXISTS RexSubQuery into a <a href="../../rel/core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SubQueryRemoveRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/SubQueryRemoveRule.html#rewriteIn(org.apache.calcite.rex.RexSubQuery,java.util.Set,org.apache.calcite.plan.RelOptUtil.Logic,org.apache.calcite.tools.RelBuilder,int)">rewriteIn</a></span>​(<a href="../../rex/RexSubQuery.html" title="class in org.apache.calcite.rex">RexSubQuery</a> e, |
| java.util.Set<<a href="../../rel/core/CorrelationId.html" title="class in org.apache.calcite.rel.core">CorrelationId</a>> variablesSet, |
| <a href="../../plan/RelOptUtil.Logic.html" title="enum in org.apache.calcite.plan">RelOptUtil.Logic</a> logic, |
| <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> builder, |
| int offset)</code></th> |
| <td class="colLast"> |
| <div class="block">Rewrites an IN RexSubQuery into a <a href="../../rel/core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AbstractMaterializedViewRule.MaterializedViewAggregateRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/AbstractMaterializedViewRule.MaterializedViewAggregateRule.html#rewriteQuery(org.apache.calcite.tools.RelBuilder,org.apache.calcite.rex.RexBuilder,org.apache.calcite.rex.RexSimplify,org.apache.calcite.rel.metadata.RelMetadataQuery,org.apache.calcite.rex.RexNode,org.apache.calcite.rex.RexNode,org.apache.calcite.rel.core.Project,org.apache.calcite.rel.RelNode,com.google.common.collect.BiMap,org.apache.calcite.rel.rules.AbstractMaterializedViewRule.EquivalenceClasses,org.apache.calcite.rel.rules.AbstractMaterializedViewRule.EquivalenceClasses)">rewriteQuery</a></span>​(<a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../../rex/RexBuilder.html" title="class in org.apache.calcite.rex">RexBuilder</a> rexBuilder, |
| <a href="../../rex/RexSimplify.html" title="class in org.apache.calcite.rex">RexSimplify</a> simplify, |
| <a href="../../rel/metadata/RelMetadataQuery.html" title="class in org.apache.calcite.rel.metadata">RelMetadataQuery</a> mq, |
| <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> compensationColumnsEquiPred, |
| <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> otherCompensationPred, |
| <a href="../../rel/core/Project.html" title="class in org.apache.calcite.rel.core">Project</a> topProject, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> node, |
| com.google.common.collect.BiMap<<a href="../../rex/RexTableInputRef.RelTableRef.html" title="class in org.apache.calcite.rex">RexTableInputRef.RelTableRef</a>,​<a href="../../rex/RexTableInputRef.RelTableRef.html" title="class in org.apache.calcite.rex">RexTableInputRef.RelTableRef</a>> queryToViewTableMapping, |
| <a href="../../rel/rules/AbstractMaterializedViewRule.EquivalenceClasses.html" title="class in org.apache.calcite.rel.rules">AbstractMaterializedViewRule.EquivalenceClasses</a> viewEC, |
| <a href="../../rel/rules/AbstractMaterializedViewRule.EquivalenceClasses.html" title="class in org.apache.calcite.rel.rules">AbstractMaterializedViewRule.EquivalenceClasses</a> queryEC)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AbstractMaterializedViewRule.MaterializedViewJoinRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/AbstractMaterializedViewRule.MaterializedViewJoinRule.html#rewriteQuery(org.apache.calcite.tools.RelBuilder,org.apache.calcite.rex.RexBuilder,org.apache.calcite.rex.RexSimplify,org.apache.calcite.rel.metadata.RelMetadataQuery,org.apache.calcite.rex.RexNode,org.apache.calcite.rex.RexNode,org.apache.calcite.rel.core.Project,org.apache.calcite.rel.RelNode,com.google.common.collect.BiMap,org.apache.calcite.rel.rules.AbstractMaterializedViewRule.EquivalenceClasses,org.apache.calcite.rel.rules.AbstractMaterializedViewRule.EquivalenceClasses)">rewriteQuery</a></span>​(<a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../../rex/RexBuilder.html" title="class in org.apache.calcite.rex">RexBuilder</a> rexBuilder, |
| <a href="../../rex/RexSimplify.html" title="class in org.apache.calcite.rex">RexSimplify</a> simplify, |
| <a href="../../rel/metadata/RelMetadataQuery.html" title="class in org.apache.calcite.rel.metadata">RelMetadataQuery</a> mq, |
| <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> compensationColumnsEquiPred, |
| <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> otherCompensationPred, |
| <a href="../../rel/core/Project.html" title="class in org.apache.calcite.rel.core">Project</a> topProject, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> node, |
| com.google.common.collect.BiMap<<a href="../../rex/RexTableInputRef.RelTableRef.html" title="class in org.apache.calcite.rex">RexTableInputRef.RelTableRef</a>,​<a href="../../rex/RexTableInputRef.RelTableRef.html" title="class in org.apache.calcite.rex">RexTableInputRef.RelTableRef</a>> viewToQueryTableMapping, |
| <a href="../../rel/rules/AbstractMaterializedViewRule.EquivalenceClasses.html" title="class in org.apache.calcite.rel.rules">AbstractMaterializedViewRule.EquivalenceClasses</a> viewEC, |
| <a href="../../rel/rules/AbstractMaterializedViewRule.EquivalenceClasses.html" title="class in org.apache.calcite.rel.rules">AbstractMaterializedViewRule.EquivalenceClasses</a> queryEC)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected abstract <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AbstractMaterializedViewRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/AbstractMaterializedViewRule.html#rewriteQuery(org.apache.calcite.tools.RelBuilder,org.apache.calcite.rex.RexBuilder,org.apache.calcite.rex.RexSimplify,org.apache.calcite.rel.metadata.RelMetadataQuery,org.apache.calcite.rex.RexNode,org.apache.calcite.rex.RexNode,org.apache.calcite.rel.core.Project,org.apache.calcite.rel.RelNode,com.google.common.collect.BiMap,org.apache.calcite.rel.rules.AbstractMaterializedViewRule.EquivalenceClasses,org.apache.calcite.rel.rules.AbstractMaterializedViewRule.EquivalenceClasses)">rewriteQuery</a></span>​(<a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../../rex/RexBuilder.html" title="class in org.apache.calcite.rex">RexBuilder</a> rexBuilder, |
| <a href="../../rex/RexSimplify.html" title="class in org.apache.calcite.rex">RexSimplify</a> simplify, |
| <a href="../../rel/metadata/RelMetadataQuery.html" title="class in org.apache.calcite.rel.metadata">RelMetadataQuery</a> mq, |
| <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> compensationColumnsEquiPred, |
| <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> otherCompensationPred, |
| <a href="../../rel/core/Project.html" title="class in org.apache.calcite.rel.core">Project</a> topProject, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> node, |
| com.google.common.collect.BiMap<<a href="../../rex/RexTableInputRef.RelTableRef.html" title="class in org.apache.calcite.rex">RexTableInputRef.RelTableRef</a>,​<a href="../../rex/RexTableInputRef.RelTableRef.html" title="class in org.apache.calcite.rex">RexTableInputRef.RelTableRef</a>> viewToQueryTableMapping, |
| <a href="../../rel/rules/AbstractMaterializedViewRule.EquivalenceClasses.html" title="class in org.apache.calcite.rel.rules">AbstractMaterializedViewRule.EquivalenceClasses</a> viewEC, |
| <a href="../../rel/rules/AbstractMaterializedViewRule.EquivalenceClasses.html" title="class in org.apache.calcite.rel.rules">AbstractMaterializedViewRule.EquivalenceClasses</a> queryEC)</code></th> |
| <td class="colLast"> |
| <div class="block">If the view will be used in a union rewriting, this method is responsible for |
| rewriting the query branch of the union using the given compensation predicate.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SubQueryRemoveRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/SubQueryRemoveRule.html#rewriteScalarQuery(org.apache.calcite.rex.RexSubQuery,java.util.Set,org.apache.calcite.tools.RelBuilder,int,int)">rewriteScalarQuery</a></span>​(<a href="../../rex/RexSubQuery.html" title="class in org.apache.calcite.rex">RexSubQuery</a> e, |
| java.util.Set<<a href="../../rel/core/CorrelationId.html" title="class in org.apache.calcite.rel.core">CorrelationId</a>> variablesSet, |
| <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> builder, |
| int inputCount, |
| int offset)</code></th> |
| <td class="colLast"> |
| <div class="block">Rewrites a scalar sub-query into an |
| <a href="../../rel/core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SubQueryRemoveRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/SubQueryRemoveRule.html#rewriteSome(org.apache.calcite.rex.RexSubQuery,org.apache.calcite.tools.RelBuilder)">rewriteSome</a></span>​(<a href="../../rex/RexSubQuery.html" title="class in org.apache.calcite.rex">RexSubQuery</a> e, |
| <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> builder)</code></th> |
| <td class="colLast"> |
| <div class="block">Rewrites a SOME sub-query into a <a href="../../rel/core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AbstractMaterializedViewRule.MaterializedViewAggregateRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/AbstractMaterializedViewRule.MaterializedViewAggregateRule.html#rewriteView(org.apache.calcite.tools.RelBuilder,org.apache.calcite.rex.RexBuilder,org.apache.calcite.rex.RexSimplify,org.apache.calcite.rel.metadata.RelMetadataQuery,org.apache.calcite.rel.rules.AbstractMaterializedViewRule.MatchModality,boolean,org.apache.calcite.rel.RelNode,org.apache.calcite.rel.core.Project,org.apache.calcite.rel.RelNode,org.apache.calcite.rel.core.Project,org.apache.calcite.rel.RelNode,com.google.common.collect.BiMap,org.apache.calcite.rel.rules.AbstractMaterializedViewRule.EquivalenceClasses)">rewriteView</a></span>​(<a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../../rex/RexBuilder.html" title="class in org.apache.calcite.rex">RexBuilder</a> rexBuilder, |
| <a href="../../rex/RexSimplify.html" title="class in org.apache.calcite.rex">RexSimplify</a> simplify, |
| <a href="../../rel/metadata/RelMetadataQuery.html" title="class in org.apache.calcite.rel.metadata">RelMetadataQuery</a> mq, |
| <a href="../../rel/rules/AbstractMaterializedViewRule.MatchModality.html" title="enum in org.apache.calcite.rel.rules">AbstractMaterializedViewRule.MatchModality</a> matchModality, |
| boolean unionRewriting, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> input, |
| <a href="../../rel/core/Project.html" title="class in org.apache.calcite.rel.core">Project</a> topProject, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> node, |
| <a href="../../rel/core/Project.html" title="class in org.apache.calcite.rel.core">Project</a> topViewProject, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> viewNode, |
| com.google.common.collect.BiMap<<a href="../../rex/RexTableInputRef.RelTableRef.html" title="class in org.apache.calcite.rex">RexTableInputRef.RelTableRef</a>,​<a href="../../rex/RexTableInputRef.RelTableRef.html" title="class in org.apache.calcite.rex">RexTableInputRef.RelTableRef</a>> queryToViewTableMapping, |
| <a href="../../rel/rules/AbstractMaterializedViewRule.EquivalenceClasses.html" title="class in org.apache.calcite.rel.rules">AbstractMaterializedViewRule.EquivalenceClasses</a> queryEC)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AbstractMaterializedViewRule.MaterializedViewJoinRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/AbstractMaterializedViewRule.MaterializedViewJoinRule.html#rewriteView(org.apache.calcite.tools.RelBuilder,org.apache.calcite.rex.RexBuilder,org.apache.calcite.rex.RexSimplify,org.apache.calcite.rel.metadata.RelMetadataQuery,org.apache.calcite.rel.rules.AbstractMaterializedViewRule.MatchModality,boolean,org.apache.calcite.rel.RelNode,org.apache.calcite.rel.core.Project,org.apache.calcite.rel.RelNode,org.apache.calcite.rel.core.Project,org.apache.calcite.rel.RelNode,com.google.common.collect.BiMap,org.apache.calcite.rel.rules.AbstractMaterializedViewRule.EquivalenceClasses)">rewriteView</a></span>​(<a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../../rex/RexBuilder.html" title="class in org.apache.calcite.rex">RexBuilder</a> rexBuilder, |
| <a href="../../rex/RexSimplify.html" title="class in org.apache.calcite.rex">RexSimplify</a> simplify, |
| <a href="../../rel/metadata/RelMetadataQuery.html" title="class in org.apache.calcite.rel.metadata">RelMetadataQuery</a> mq, |
| <a href="../../rel/rules/AbstractMaterializedViewRule.MatchModality.html" title="enum in org.apache.calcite.rel.rules">AbstractMaterializedViewRule.MatchModality</a> matchModality, |
| boolean unionRewriting, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> input, |
| <a href="../../rel/core/Project.html" title="class in org.apache.calcite.rel.core">Project</a> topProject, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> node, |
| <a href="../../rel/core/Project.html" title="class in org.apache.calcite.rel.core">Project</a> topViewProject, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> viewNode, |
| com.google.common.collect.BiMap<<a href="../../rex/RexTableInputRef.RelTableRef.html" title="class in org.apache.calcite.rex">RexTableInputRef.RelTableRef</a>,​<a href="../../rex/RexTableInputRef.RelTableRef.html" title="class in org.apache.calcite.rex">RexTableInputRef.RelTableRef</a>> queryToViewTableMapping, |
| <a href="../../rel/rules/AbstractMaterializedViewRule.EquivalenceClasses.html" title="class in org.apache.calcite.rel.rules">AbstractMaterializedViewRule.EquivalenceClasses</a> queryEC)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected abstract <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AbstractMaterializedViewRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/AbstractMaterializedViewRule.html#rewriteView(org.apache.calcite.tools.RelBuilder,org.apache.calcite.rex.RexBuilder,org.apache.calcite.rex.RexSimplify,org.apache.calcite.rel.metadata.RelMetadataQuery,org.apache.calcite.rel.rules.AbstractMaterializedViewRule.MatchModality,boolean,org.apache.calcite.rel.RelNode,org.apache.calcite.rel.core.Project,org.apache.calcite.rel.RelNode,org.apache.calcite.rel.core.Project,org.apache.calcite.rel.RelNode,com.google.common.collect.BiMap,org.apache.calcite.rel.rules.AbstractMaterializedViewRule.EquivalenceClasses)">rewriteView</a></span>​(<a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../../rex/RexBuilder.html" title="class in org.apache.calcite.rex">RexBuilder</a> rexBuilder, |
| <a href="../../rex/RexSimplify.html" title="class in org.apache.calcite.rex">RexSimplify</a> simplify, |
| <a href="../../rel/metadata/RelMetadataQuery.html" title="class in org.apache.calcite.rel.metadata">RelMetadataQuery</a> mq, |
| <a href="../../rel/rules/AbstractMaterializedViewRule.MatchModality.html" title="enum in org.apache.calcite.rel.rules">AbstractMaterializedViewRule.MatchModality</a> matchModality, |
| boolean unionRewriting, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> input, |
| <a href="../../rel/core/Project.html" title="class in org.apache.calcite.rel.core">Project</a> topProject, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> node, |
| <a href="../../rel/core/Project.html" title="class in org.apache.calcite.rel.core">Project</a> topViewProject, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> viewNode, |
| com.google.common.collect.BiMap<<a href="../../rex/RexTableInputRef.RelTableRef.html" title="class in org.apache.calcite.rex">RexTableInputRef.RelTableRef</a>,​<a href="../../rex/RexTableInputRef.RelTableRef.html" title="class in org.apache.calcite.rex">RexTableInputRef.RelTableRef</a>> queryToViewTableMapping, |
| <a href="../../rel/rules/AbstractMaterializedViewRule.EquivalenceClasses.html" title="class in org.apache.calcite.rel.rules">AbstractMaterializedViewRule.EquivalenceClasses</a> queryEC)</code></th> |
| <td class="colLast"> |
| <div class="block">Rewrites the query using the given view query.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private static <a href="../../rel/core/AggregateCall.html" title="class in org.apache.calcite.rel.core">AggregateCall</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AggregateStarTableRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/AggregateStarTableRule.html#rollUp(int,org.apache.calcite.tools.RelBuilder,org.apache.calcite.rel.core.AggregateCall,org.apache.calcite.materialize.TileKey)">rollUp</a></span>​(int groupCount, |
| <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../../rel/core/AggregateCall.html" title="class in org.apache.calcite.rel.core">AggregateCall</a> aggregateCall, |
| <a href="../../materialize/TileKey.html" title="class in org.apache.calcite.materialize">TileKey</a> tileKey)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JoinCommuteRule.</span><code><span class="memberNameLink"><a href="../../rel/rules/JoinCommuteRule.html#swap(org.apache.calcite.rel.core.Join,boolean,org.apache.calcite.tools.RelBuilder)">swap</a></span>​(<a href="../../rel/core/Join.html" title="class in org.apache.calcite.rel.core">Join</a> join, |
| boolean swapOuterJoins, |
| <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a relational expression with the inputs switched round.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Constructors in <a href="../../rel/rules/package-summary.html">org.apache.calcite.rel.rules</a> with parameters of type <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../rel/rules/CalcRelSplitter.html#%3Cinit%3E(org.apache.calcite.rel.core.Calc,org.apache.calcite.tools.RelBuilder,org.apache.calcite.rel.rules.CalcRelSplitter.RelType%5B%5D)">CalcRelSplitter</a></span>​(<a href="../../rel/core/Calc.html" title="class in org.apache.calcite.rel.core">Calc</a> calc, |
| <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../../rel/rules/CalcRelSplitter.RelType.html" title="class in org.apache.calcite.rel.rules">CalcRelSplitter.RelType</a>[] relTypes)</code></th> |
| <td class="colLast"> |
| <div class="block">Constructs a CalcRelSplitter.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../rel/rules/PushProjector.html#%3Cinit%3E(org.apache.calcite.rel.core.Project,org.apache.calcite.rex.RexNode,org.apache.calcite.rel.RelNode,org.apache.calcite.rel.rules.PushProjector.ExprCondition,org.apache.calcite.tools.RelBuilder)">PushProjector</a></span>​(<a href="../../rel/core/Project.html" title="class in org.apache.calcite.rel.core">Project</a> origProj, |
| <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> origFilter, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> childRel, |
| <a href="../../rel/rules/PushProjector.ExprCondition.html" title="interface in org.apache.calcite.rel.rules">PushProjector.ExprCondition</a> preserveExprCondition, |
| <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a PushProjector object for pushing projects past a RelNode.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../rel/rules/ProjectToWindowRule.WindowedAggRelSplitter.html#%3Cinit%3E(org.apache.calcite.rel.core.Calc,org.apache.calcite.tools.RelBuilder)">WindowedAggRelSplitter</a></span>​(<a href="../../rel/core/Calc.html" title="class in org.apache.calcite.rel.core">Calc</a> calc, |
| <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section role="region"><a id="org.apache.calcite.sql2rel"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> in <a href="../../sql2rel/package-summary.html">org.apache.calcite.sql2rel</a></h3> |
| <table class="useSummary"> |
| <caption><span>Fields in <a href="../../sql2rel/package-summary.html">org.apache.calcite.sql2rel</a> declared as <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Field</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelDecorrelator.</span><code><span class="memberNameLink"><a href="../../sql2rel/RelDecorrelator.html#relBuilder">relBuilder</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelFieldTrimmer.</span><code><span class="memberNameLink"><a href="../../sql2rel/RelFieldTrimmer.html#relBuilder">relBuilder</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelStructuredTypeFlattener.</span><code><span class="memberNameLink"><a href="../../sql2rel/RelStructuredTypeFlattener.html#relBuilder">relBuilder</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SqlToRelConverter.</span><code><span class="memberNameLink"><a href="../../sql2rel/SqlToRelConverter.html#relBuilder">relBuilder</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../../sql2rel/package-summary.html">org.apache.calcite.sql2rel</a> with parameters of type <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelDecorrelator.</span><code><span class="memberNameLink"><a href="../../sql2rel/RelDecorrelator.html#decorrelateQuery(org.apache.calcite.rel.RelNode,org.apache.calcite.tools.RelBuilder)">decorrelateQuery</a></span>​(<a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> rootRel, |
| <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder)</code></th> |
| <td class="colLast"> |
| <div class="block">Decorrelates a query.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Constructors in <a href="../../sql2rel/package-summary.html">org.apache.calcite.sql2rel</a> with parameters of type <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../sql2rel/RelDecorrelator.html#%3Cinit%3E(org.apache.calcite.sql2rel.RelDecorrelator.CorelMap,org.apache.calcite.plan.Context,org.apache.calcite.tools.RelBuilder)">RelDecorrelator</a></span>​(<a href="../../sql2rel/RelDecorrelator.CorelMap.html" title="class in org.apache.calcite.sql2rel">RelDecorrelator.CorelMap</a> cm, |
| <a href="../../plan/Context.html" title="interface in org.apache.calcite.plan">Context</a> context, |
| <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../sql2rel/RelFieldTrimmer.html#%3Cinit%3E(org.apache.calcite.sql.validate.SqlValidator,org.apache.calcite.tools.RelBuilder)">RelFieldTrimmer</a></span>​(<a href="../../sql/validate/SqlValidator.html" title="interface in org.apache.calcite.sql.validate">SqlValidator</a> validator, |
| <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a RelFieldTrimmer.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../sql2rel/RelStructuredTypeFlattener.html#%3Cinit%3E(org.apache.calcite.tools.RelBuilder,org.apache.calcite.rex.RexBuilder,org.apache.calcite.plan.RelOptTable.ToRelContext,boolean)">RelStructuredTypeFlattener</a></span>​(<a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../../rex/RexBuilder.html" title="class in org.apache.calcite.rex">RexBuilder</a> rexBuilder, |
| <a href="../../plan/RelOptTable.ToRelContext.html" title="interface in org.apache.calcite.plan">RelOptTable.ToRelContext</a> toRelContext, |
| boolean restructure)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section role="region"><a id="org.apache.calcite.statistic"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> in <a href="../../statistic/package-summary.html">org.apache.calcite.statistic</a></h3> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../../statistic/package-summary.html">org.apache.calcite.statistic</a> with parameters of type <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../statistic/QuerySqlStatisticProvider.BuilderAction.html" title="type parameter in QuerySqlStatisticProvider.BuilderAction">R</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">QuerySqlStatisticProvider.BuilderAction.</span><code><span class="memberNameLink"><a href="../../statistic/QuerySqlStatisticProvider.BuilderAction.html#apply(org.apache.calcite.plan.RelOptCluster,org.apache.calcite.plan.RelOptSchema,org.apache.calcite.adapter.jdbc.JdbcSchema,org.apache.calcite.tools.RelBuilder)">apply</a></span>​(<a href="../../plan/RelOptCluster.html" title="class in org.apache.calcite.plan">RelOptCluster</a> cluster, |
| <a href="../../plan/RelOptSchema.html" title="interface in org.apache.calcite.plan">RelOptSchema</a> relOptSchema, |
| <a href="../../adapter/jdbc/JdbcSchema.html" title="class in org.apache.calcite.adapter.jdbc">JdbcSchema</a> jdbcSchema, |
| <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section role="region"><a id="org.apache.calcite.tools"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> in <a href="../package-summary.html">org.apache.calcite.tools</a></h3> |
| <table class="useSummary"> |
| <caption><span>Subclasses of <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> in <a href="../package-summary.html">org.apache.calcite.tools</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Class</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../PigRelBuilder.html" title="class in org.apache.calcite.tools">PigRelBuilder</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Extension to <a href="../RelBuilder.html" title="class in org.apache.calcite.tools"><code>RelBuilder</code></a> for Pig relational operators.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../package-summary.html">org.apache.calcite.tools</a> that return <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#aggregate(org.apache.calcite.tools.RelBuilder.GroupKey,java.lang.Iterable)">aggregate</a></span>​(<a href="../RelBuilder.GroupKey.html" title="interface in org.apache.calcite.tools">RelBuilder.GroupKey</a> groupKey, |
| java.lang.Iterable<<a href="../RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a>> aggCalls)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates an <a href="../../rel/core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> with a list of |
| calls.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#aggregate(org.apache.calcite.tools.RelBuilder.GroupKey,java.util.List)">aggregate</a></span>​(<a href="../RelBuilder.GroupKey.html" title="interface in org.apache.calcite.tools">RelBuilder.GroupKey</a> groupKey, |
| java.util.List<<a href="../../rel/core/AggregateCall.html" title="class in org.apache.calcite.rel.core">AggregateCall</a>> aggregateCalls)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#aggregate(org.apache.calcite.tools.RelBuilder.GroupKey,org.apache.calcite.tools.RelBuilder.AggCall...)">aggregate</a></span>​(<a href="../RelBuilder.GroupKey.html" title="interface in org.apache.calcite.tools">RelBuilder.GroupKey</a> groupKey, |
| <a href="../RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a>... aggCalls)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates an <a href="../../rel/core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> with an array of |
| calls.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#aggregate_(org.apache.calcite.util.ImmutableBitSet,com.google.common.collect.ImmutableList,org.apache.calcite.rel.RelNode,java.util.List,java.util.List,com.google.common.collect.ImmutableList)">aggregate_</a></span>​(<a href="../../util/ImmutableBitSet.html" title="class in org.apache.calcite.util">ImmutableBitSet</a> groupSet, |
| com.google.common.collect.ImmutableList<<a href="../../util/ImmutableBitSet.html" title="class in org.apache.calcite.util">ImmutableBitSet</a>> groupSets, |
| <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> input, |
| java.util.List<<a href="../../rel/core/AggregateCall.html" title="class in org.apache.calcite.rel.core">AggregateCall</a>> aggregateCalls, |
| java.util.List<<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> extraNodes, |
| com.google.common.collect.ImmutableList<<a href="../RelBuilder.Field.html" title="class in org.apache.calcite.tools">RelBuilder.Field</a>> inFields)</code></th> |
| <td class="colLast"> |
| <div class="block">Finishes the implementation of <a href="../RelBuilder.html#aggregate(org.apache.calcite.tools.RelBuilder.GroupKey,org.apache.calcite.tools.RelBuilder.AggCall...)"><code>aggregate(org.apache.calcite.tools.RelBuilder.GroupKey, org.apache.calcite.tools.RelBuilder.AggCall...)</code></a> by creating an |
| <a href="../../rel/core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> and pushing it onto the stack.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#antiJoin(java.lang.Iterable)">antiJoin</a></span>​(java.lang.Iterable<? extends <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> conditions)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates an anti-join.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#antiJoin(org.apache.calcite.rex.RexNode...)">antiJoin</a></span>​(<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>... conditions)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates an anti-join.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">PigRelBuilder.</span><code><span class="memberNameLink"><a href="../PigRelBuilder.html#as(java.lang.String)">as</a></span>​(java.lang.String alias)</code></th> |
| <td class="colLast"> |
| <div class="block">As super-class method, but also retains alias for naming of aggregates.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#as(java.lang.String)">as</a></span>​(java.lang.String alias)</code></th> |
| <td class="colLast"> |
| <div class="block">Assigns a table alias to the top entry on the stack.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#convert(org.apache.calcite.rel.type.RelDataType,boolean)">convert</a></span>​(<a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a> castRowType, |
| boolean rename)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a projection that converts the current relational expression's |
| output to a desired row type.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#create(org.apache.calcite.tools.FrameworkConfig)">create</a></span>​(<a href="../FrameworkConfig.html" title="interface in org.apache.calcite.tools">FrameworkConfig</a> config)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a RelBuilder.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilderFactory.</span><code><span class="memberNameLink"><a href="../RelBuilderFactory.html#create(org.apache.calcite.plan.RelOptCluster,org.apache.calcite.plan.RelOptSchema)">create</a></span>​(<a href="../../plan/RelOptCluster.html" title="class in org.apache.calcite.plan">RelOptCluster</a> cluster, |
| <a href="../../plan/RelOptSchema.html" title="interface in org.apache.calcite.plan">RelOptSchema</a> schema)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a RelBuilder.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#distinct()">distinct</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Creates an <a href="../../rel/core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> that makes the |
| relational expression distinct on all fields.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#empty()">empty</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a relational expression that reads from an input and throws |
| all of the rows away.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#exchange(org.apache.calcite.rel.RelDistribution)">exchange</a></span>​(<a href="../../rel/RelDistribution.html" title="interface in org.apache.calcite.rel">RelDistribution</a> distribution)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates an Exchange by distribution.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#filter(java.lang.Iterable)">filter</a></span>​(java.lang.Iterable<? extends <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> predicates)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a> of a list of |
| predicates.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#filter(org.apache.calcite.rex.RexNode...)">filter</a></span>​(<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>... predicates)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a> of an array of |
| predicates.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#functionScan(org.apache.calcite.sql.SqlOperator,int,java.lang.Iterable)">functionScan</a></span>​(<a href="../../sql/SqlOperator.html" title="class in org.apache.calcite.sql">SqlOperator</a> operator, |
| int inputCount, |
| java.lang.Iterable<? extends <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> operands)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/TableFunctionScan.html" title="class in org.apache.calcite.rel.core"><code>TableFunctionScan</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#functionScan(org.apache.calcite.sql.SqlOperator,int,org.apache.calcite.rex.RexNode...)">functionScan</a></span>​(<a href="../../sql/SqlOperator.html" title="class in org.apache.calcite.sql">SqlOperator</a> operator, |
| int inputCount, |
| <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>... operands)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/TableFunctionScan.html" title="class in org.apache.calcite.rel.core"><code>TableFunctionScan</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#intersect(boolean)">intersect</a></span>​(boolean all)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates an <a href="../../rel/core/Intersect.html" title="class in org.apache.calcite.rel.core"><code>Intersect</code></a> of the two most |
| recent relational expressions on the stack.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#intersect(boolean,int)">intersect</a></span>​(boolean all, |
| int n)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates an <a href="../../rel/core/Intersect.html" title="class in org.apache.calcite.rel.core"><code>Intersect</code></a> of the <code>n</code> |
| most recent relational expressions on the stack.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#join(org.apache.calcite.rel.core.JoinRelType,java.lang.Iterable)">join</a></span>​(<a href="../../rel/core/JoinRelType.html" title="enum in org.apache.calcite.rel.core">JoinRelType</a> joinType, |
| java.lang.Iterable<? extends <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> conditions)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> with multiple |
| conditions.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#join(org.apache.calcite.rel.core.JoinRelType,java.lang.String...)">join</a></span>​(<a href="../../rel/core/JoinRelType.html" title="enum in org.apache.calcite.rel.core">JoinRelType</a> joinType, |
| java.lang.String... fieldNames)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> using USING syntax.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#join(org.apache.calcite.rel.core.JoinRelType,org.apache.calcite.rex.RexNode)">join</a></span>​(<a href="../../rel/core/JoinRelType.html" title="enum in org.apache.calcite.rel.core">JoinRelType</a> joinType, |
| <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> condition)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#join(org.apache.calcite.rel.core.JoinRelType,org.apache.calcite.rex.RexNode,java.util.Set)">join</a></span>​(<a href="../../rel/core/JoinRelType.html" title="enum in org.apache.calcite.rel.core">JoinRelType</a> joinType, |
| <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> condition, |
| java.util.Set<<a href="../../rel/core/CorrelationId.html" title="class in org.apache.calcite.rel.core">CorrelationId</a>> variablesSet)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> with correlating |
| variables.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#join(org.apache.calcite.rel.core.JoinRelType,org.apache.calcite.rex.RexNode,org.apache.calcite.rex.RexNode...)">join</a></span>​(<a href="../../rel/core/JoinRelType.html" title="enum in org.apache.calcite.rel.core">JoinRelType</a> joinType, |
| <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> condition0, |
| <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>... conditions)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#limit(int,int)">limit</a></span>​(int offset, |
| int fetch)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a limit without a sort.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#match(org.apache.calcite.rex.RexNode,boolean,boolean,java.util.Map,java.lang.Iterable,org.apache.calcite.rex.RexNode,java.util.Map,boolean,java.lang.Iterable,java.lang.Iterable,org.apache.calcite.rex.RexNode)">match</a></span>​(<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> pattern, |
| boolean strictStart, |
| boolean strictEnd, |
| java.util.Map<java.lang.String,​<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> patternDefinitions, |
| java.lang.Iterable<? extends <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> measureList, |
| <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> after, |
| java.util.Map<java.lang.String,​? extends java.util.SortedSet<java.lang.String>> subsets, |
| boolean allRows, |
| java.lang.Iterable<? extends <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> partitionKeys, |
| java.lang.Iterable<? extends <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> orderKeys, |
| <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> interval)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/Match.html" title="class in org.apache.calcite.rel.core"><code>Match</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#minus(boolean)">minus</a></span>​(boolean all)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/Minus.html" title="class in org.apache.calcite.rel.core"><code>Minus</code></a> of the two most recent |
| relational expressions on the stack.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#minus(boolean,int)">minus</a></span>​(boolean all, |
| int n)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/Minus.html" title="class in org.apache.calcite.rel.core"><code>Minus</code></a> of the <code>n</code> |
| most recent relational expressions on the stack.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#permute(org.apache.calcite.util.mapping.Mapping)">permute</a></span>​(<a href="../../util/mapping/Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a> mapping)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#project(java.lang.Iterable)">project</a></span>​(java.lang.Iterable<? extends <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> nodes)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> of the given list |
| of expressions.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#project(java.lang.Iterable,java.lang.Iterable)">project</a></span>​(java.lang.Iterable<? extends <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> nodes, |
| java.lang.Iterable<java.lang.String> fieldNames)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> of the given list |
| of expressions and field names.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#project(java.lang.Iterable,java.lang.Iterable,boolean)">project</a></span>​(java.lang.Iterable<? extends <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> nodes, |
| java.lang.Iterable<java.lang.String> fieldNames, |
| boolean force)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> of the given list |
| of expressions, using the given names.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#project(org.apache.calcite.rex.RexNode...)">project</a></span>​(<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>... nodes)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> of the given |
| expressions.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#projectNamed(java.lang.Iterable,java.lang.Iterable,boolean)">projectNamed</a></span>​(java.lang.Iterable<? extends <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> nodes, |
| java.lang.Iterable<java.lang.String> fieldNames, |
| boolean force)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> of the given |
| expressions and field names, and optionally optimizing.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#projectPlus(java.lang.Iterable)">projectPlus</a></span>​(java.lang.Iterable<<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> nodes)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> of all original fields, plus the given list of |
| expressions.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#projectPlus(org.apache.calcite.rex.RexNode...)">projectPlus</a></span>​(<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>... nodes)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> of all original fields, plus the given |
| expressions.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#push(org.apache.calcite.rel.RelNode)">push</a></span>​(<a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a> node)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds a relational expression to be the input to the next relational |
| expression constructed.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#pushAll(java.lang.Iterable)">pushAll</a></span>​(java.lang.Iterable<? extends <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>> nodes)</code></th> |
| <td class="colLast"> |
| <div class="block">Pushes a collection of relational expressions.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#rename(java.util.List)">rename</a></span>​(java.util.List<java.lang.String> fieldNames)</code></th> |
| <td class="colLast"> |
| <div class="block">Ensures that the field names match those given.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#repeatUnion(java.lang.String,boolean)">repeatUnion</a></span>​(java.lang.String tableName, |
| boolean all)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/RepeatUnion.html" title="class in org.apache.calcite.rel.core"><code>RepeatUnion</code></a> associated to a <a href="../../schema/TransientTable.html" title="interface in org.apache.calcite.schema"><code>TransientTable</code></a> without a maximum number |
| of iterations, i.e.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#repeatUnion(java.lang.String,boolean,int)">repeatUnion</a></span>​(java.lang.String tableName, |
| boolean all, |
| int maxRep)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/RepeatUnion.html" title="class in org.apache.calcite.rel.core"><code>RepeatUnion</code></a> associated to a <a href="../../schema/TransientTable.html" title="interface in org.apache.calcite.schema"><code>TransientTable</code></a> of the |
| two most recent relational expressions on the stack.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#scan(java.lang.Iterable)">scan</a></span>​(java.lang.Iterable<java.lang.String> tableNames)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/TableScan.html" title="class in org.apache.calcite.rel.core"><code>TableScan</code></a> of the table |
| with a given name.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#scan(java.lang.String...)">scan</a></span>​(java.lang.String... tableNames)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/TableScan.html" title="class in org.apache.calcite.rel.core"><code>TableScan</code></a> of the table |
| with a given name.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#semiJoin(java.lang.Iterable)">semiJoin</a></span>​(java.lang.Iterable<? extends <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> conditions)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> with <a href="../../rel/core/JoinRelType.html#SEMI"><code>JoinRelType.SEMI</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#semiJoin(org.apache.calcite.rex.RexNode...)">semiJoin</a></span>​(<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>... conditions)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> with <a href="../../rel/core/JoinRelType.html#SEMI"><code>JoinRelType.SEMI</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#setOp(boolean,org.apache.calcite.sql.SqlKind,int)">setOp</a></span>​(boolean all, |
| <a href="../../sql/SqlKind.html" title="enum in org.apache.calcite.sql">SqlKind</a> kind, |
| int n)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#snapshot(org.apache.calcite.rex.RexNode)">snapshot</a></span>​(<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> period)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/Snapshot.html" title="class in org.apache.calcite.rel.core"><code>Snapshot</code></a> of a given snapshot period.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#sort(int...)">sort</a></span>​(int... fields)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/Sort.html" title="class in org.apache.calcite.rel.core"><code>Sort</code></a> by field ordinals.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#sort(java.lang.Iterable)">sort</a></span>​(java.lang.Iterable<? extends <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> nodes)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/Sort.html" title="class in org.apache.calcite.rel.core"><code>Sort</code></a> by expressions.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#sort(org.apache.calcite.rex.RexNode...)">sort</a></span>​(<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>... nodes)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/Sort.html" title="class in org.apache.calcite.rel.core"><code>Sort</code></a> by expressions.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#sortExchange(org.apache.calcite.rel.RelDistribution,org.apache.calcite.rel.RelCollation)">sortExchange</a></span>​(<a href="../../rel/RelDistribution.html" title="interface in org.apache.calcite.rel">RelDistribution</a> distribution, |
| <a href="../../rel/RelCollation.html" title="interface in org.apache.calcite.rel">RelCollation</a> collation)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a SortExchange by distribution and collation.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#sortLimit(int,int,java.lang.Iterable)">sortLimit</a></span>​(int offset, |
| int fetch, |
| java.lang.Iterable<? extends <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> nodes)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/Sort.html" title="class in org.apache.calcite.rel.core"><code>Sort</code></a> by a list of expressions, with limit and offset.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#sortLimit(int,int,org.apache.calcite.rex.RexNode...)">sortLimit</a></span>​(int offset, |
| int fetch, |
| <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>... nodes)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/Sort.html" title="class in org.apache.calcite.rel.core"><code>Sort</code></a> by expressions, with limit and offset.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#tableSpool(org.apache.calcite.rel.core.Spool.Type,org.apache.calcite.rel.core.Spool.Type,java.lang.String)">tableSpool</a></span>​(<a href="../../rel/core/Spool.Type.html" title="enum in org.apache.calcite.rel.core">Spool.Type</a> readType, |
| <a href="../../rel/core/Spool.Type.html" title="enum in org.apache.calcite.rel.core">Spool.Type</a> writeType, |
| java.lang.String tableName)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/TableSpool.html" title="class in org.apache.calcite.rel.core"><code>TableSpool</code></a> for the most recent relational expression.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#transientScan(java.lang.String)">transientScan</a></span>​(java.lang.String tableName)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/TableScan.html" title="class in org.apache.calcite.rel.core"><code>TableScan</code></a> on a <a href="../../schema/TransientTable.html" title="interface in org.apache.calcite.schema"><code>TransientTable</code></a> with the given name, using as type |
| the top of the stack's type.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#transientScan(java.lang.String,org.apache.calcite.rel.type.RelDataType)">transientScan</a></span>​(java.lang.String tableName, |
| <a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a> rowType)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/TableScan.html" title="class in org.apache.calcite.rel.core"><code>TableScan</code></a> on a <a href="../../schema/TransientTable.html" title="interface in org.apache.calcite.schema"><code>TransientTable</code></a> with the given name and type.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#union(boolean)">union</a></span>​(boolean all)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/Union.html" title="class in org.apache.calcite.rel.core"><code>Union</code></a> of the two most recent |
| relational expressions on the stack.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#union(boolean,int)">union</a></span>​(boolean all, |
| int n)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/Union.html" title="class in org.apache.calcite.rel.core"><code>Union</code></a> of the <code>n</code> |
| most recent relational expressions on the stack.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#values(java.lang.Iterable,org.apache.calcite.rel.type.RelDataType)">values</a></span>​(java.lang.Iterable<? extends java.util.List<<a href="../../rex/RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a>>> tupleList, |
| <a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a> rowType)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/Values.html" title="class in org.apache.calcite.rel.core"><code>Values</code></a> with a specified row type.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#values(java.lang.String%5B%5D,java.lang.Object...)">values</a></span>​(java.lang.String[] fieldNames, |
| java.lang.Object... values)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/Values.html" title="class in org.apache.calcite.rel.core"><code>Values</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#values(org.apache.calcite.rel.type.RelDataType)">values</a></span>​(<a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a> rowType)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/Values.html" title="class in org.apache.calcite.rel.core"><code>Values</code></a> with a specified row type and |
| zero rows.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#values(org.apache.calcite.rel.type.RelDataType,java.lang.Object...)">values</a></span>​(<a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a> rowType, |
| java.lang.Object... columnValues)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../../rel/core/Values.html" title="class in org.apache.calcite.rel.core"><code>Values</code></a> with a specified row type.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RelBuilder.</span><code><span class="memberNameLink"><a href="../RelBuilder.html#variable(org.apache.calcite.util.Holder)">variable</a></span>​(<a href="../../util/Holder.html" title="class in org.apache.calcite.util">Holder</a><<a href="../../rex/RexCorrelVariable.html" title="class in org.apache.calcite.rex">RexCorrelVariable</a>> v)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a correlation variable for the current input, and writes it into |
| a Holder.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| </ul> |
| </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><a href="../package-summary.html">Package</a></li> |
| <li><a href="../RelBuilder.html" title="class in org.apache.calcite.tools">Class</a></li> |
| <li class="navBarCell1Rev">Use</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> |