| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>CoreRules (Apache Calcite calcite API)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="description" content="declaration: package: org.apache.calcite.rel.rules, class: CoreRules"> |
| <meta name="generator" content="javadoc/ClassWriterImpl"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../script-dir/jquery-ui.css" title="Style"> |
| <script type="text/javascript" src="../../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../../script-dir/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="../../../../../script-dir/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="../../../../../script-dir/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="../../../../../script-dir/jquery-3.4.1.js"></script> |
| <script type="text/javascript" src="../../../../../script-dir/jquery-ui.js"></script> |
| </head> |
| <body class="class-declaration"> |
| <script type="text/javascript">var pathtoroot = "../../../../../"; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <div class="flexBox"> |
| <header role="banner" class="flexHeader"> |
| <nav role="navigation"> |
| <!-- ========= 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 class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage"><b>Apache Calcite</b></div> |
| </div> |
| <div class="subNav"> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li>Constr | </li> |
| <li>Method</li> |
| </ul> |
| </div> |
| <div class="navListSearch"><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </div> |
| </div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <div class="skipNav"><a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| </nav> |
| </header> |
| <div class="flexContent"> |
| <main role="main"> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.apache.calcite.rel.rules</a></div> |
| <h1 title="Class CoreRules" class="title">Class CoreRules</h1> |
| </div> |
| <div class="contentContainer"> |
| <div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Object</a> |
| <div class="inheritance">org.apache.calcite.rel.rules.CoreRules</div> |
| </div> |
| <section class="description"> |
| <hr> |
| <pre>public class <span class="typeNameLabel">CoreRules</span> |
| extends <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></pre> |
| <div class="block">Rules that perform logical transformations on relational expressions.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="materialize/MaterializedViewRules.html" title="class in org.apache.calcite.rel.rules.materialize"><code>MaterializedViewRules</code></a></dd> |
| </dl> |
| </section> |
| <section class="summary"> |
| <ul class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <li class="blockList"> |
| <section class="fieldSummary"><a id="field.summary"> |
| <!-- --> |
| </a> |
| <h2>Field Summary</h2> |
| <div class="memberSummary"> |
| <table> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <thead> |
| <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> |
| </thead> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="AggregateProjectPullUpConstantsRule.html" title="class in org.apache.calcite.rel.rules">AggregateProjectPullUpConstantsRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#AGGREGATE_ANY_PULL_UP_CONSTANTS">AGGREGATE_ANY_PULL_UP_CONSTANTS</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">More general form of <a href="#AGGREGATE_PROJECT_PULL_UP_CONSTANTS"><code>AGGREGATE_PROJECT_PULL_UP_CONSTANTS</code></a> |
| that matches any relational expression.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="AggregateCaseToFilterRule.html" title="class in org.apache.calcite.rel.rules">AggregateCaseToFilterRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#AGGREGATE_CASE_TO_FILTER">AGGREGATE_CASE_TO_FILTER</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that converts CASE-style filtered aggregates into true filtered |
| aggregates.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="AggregateExpandDistinctAggregatesRule.html" title="class in org.apache.calcite.rel.rules">AggregateExpandDistinctAggregatesRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#AGGREGATE_EXPAND_DISTINCT_AGGREGATES">AGGREGATE_EXPAND_DISTINCT_AGGREGATES</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that expands distinct aggregates |
| (such as <code>COUNT(DISTINCT x)</code>) from a |
| <a href="../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>static <a href="AggregateExpandDistinctAggregatesRule.html" title="class in org.apache.calcite.rel.rules">AggregateExpandDistinctAggregatesRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#AGGREGATE_EXPAND_DISTINCT_AGGREGATES_TO_JOIN">AGGREGATE_EXPAND_DISTINCT_AGGREGATES_TO_JOIN</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">As <a href="#AGGREGATE_EXPAND_DISTINCT_AGGREGATES"><code>AGGREGATE_EXPAND_DISTINCT_AGGREGATES</code></a> but generates a Join.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="AggregateExpandWithinDistinctRule.html" title="class in org.apache.calcite.rel.rules">AggregateExpandWithinDistinctRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#AGGREGATE_EXPAND_WITHIN_DISTINCT">AGGREGATE_EXPAND_WITHIN_DISTINCT</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that rewrites a <a href="../logical/LogicalAggregate.html" title="class in org.apache.calcite.rel.logical"><code>LogicalAggregate</code></a> that contains |
| <code>WITHIN DISTINCT</code> aggregate functions to one that does not.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="AggregateFilterTransposeRule.html" title="class in org.apache.calcite.rel.rules">AggregateFilterTransposeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#AGGREGATE_FILTER_TRANSPOSE">AGGREGATE_FILTER_TRANSPOSE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that matches an <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> |
| on a <a href="../core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a> and transposes them, |
| pushing the aggregate below the filter.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="AggregateJoinJoinRemoveRule.html" title="class in org.apache.calcite.rel.rules">AggregateJoinJoinRemoveRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#AGGREGATE_JOIN_JOIN_REMOVE">AGGREGATE_JOIN_JOIN_REMOVE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that matches an <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> |
| on a <a href="../core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> and removes the left input |
| of the join provided that the left input is also a left join if |
| possible.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="AggregateJoinRemoveRule.html" title="class in org.apache.calcite.rel.rules">AggregateJoinRemoveRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#AGGREGATE_JOIN_REMOVE">AGGREGATE_JOIN_REMOVE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that matches an <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> |
| on a <a href="../core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> and removes the join |
| provided that the join is a left join or right join and it computes no |
| aggregate functions or all the aggregate calls have distinct.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="AggregateJoinTransposeRule.html" title="class in org.apache.calcite.rel.rules">AggregateJoinTransposeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#AGGREGATE_JOIN_TRANSPOSE">AGGREGATE_JOIN_TRANSPOSE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that pushes an <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> |
| past a <a href="../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>static <a href="AggregateJoinTransposeRule.html" title="class in org.apache.calcite.rel.rules">AggregateJoinTransposeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#AGGREGATE_JOIN_TRANSPOSE_EXTENDED">AGGREGATE_JOIN_TRANSPOSE_EXTENDED</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">As <a href="#AGGREGATE_JOIN_TRANSPOSE"><code>AGGREGATE_JOIN_TRANSPOSE</code></a>, but extended to push down aggregate |
| functions.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="AggregateMergeRule.html" title="class in org.apache.calcite.rel.rules">AggregateMergeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#AGGREGATE_MERGE">AGGREGATE_MERGE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that matches an <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> on an <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a>, |
| and merges into a single Aggregate if the top aggregate's group key is a |
| subset of the lower aggregate's group key, and the aggregates are |
| expansions of rollups.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="AggregateProjectMergeRule.html" title="class in org.apache.calcite.rel.rules">AggregateProjectMergeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#AGGREGATE_PROJECT_MERGE">AGGREGATE_PROJECT_MERGE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that recognizes an <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> |
| on top of a <a href="../core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> and if possible |
| aggregates through the Project or removes the Project.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="AggregateProjectPullUpConstantsRule.html" title="class in org.apache.calcite.rel.rules">AggregateProjectPullUpConstantsRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#AGGREGATE_PROJECT_PULL_UP_CONSTANTS">AGGREGATE_PROJECT_PULL_UP_CONSTANTS</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that removes constant keys from an <a href="../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>static <a href="AggregateProjectStarTableRule.html" title="class in org.apache.calcite.rel.rules">AggregateProjectStarTableRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#AGGREGATE_PROJECT_STAR_TABLE">AGGREGATE_PROJECT_STAR_TABLE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Variant of <a href="#AGGREGATE_STAR_TABLE"><code>AGGREGATE_STAR_TABLE</code></a> that accepts a <a href="../core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> |
| between the <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> and its <a href="../../schema/impl/StarTable.StarTableScan.html" title="class in org.apache.calcite.schema.impl"><code>StarTable.StarTableScan</code></a> |
| input.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="AggregateReduceFunctionsRule.html" title="class in org.apache.calcite.rel.rules">AggregateReduceFunctionsRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#AGGREGATE_REDUCE_FUNCTIONS">AGGREGATE_REDUCE_FUNCTIONS</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that reduces aggregate functions in |
| an <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> to simpler forms.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="AggregateRemoveRule.html" title="class in org.apache.calcite.rel.rules">AggregateRemoveRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#AGGREGATE_REMOVE">AGGREGATE_REMOVE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that removes an <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> |
| if it computes no aggregate functions |
| (that is, it is implementing <code>SELECT DISTINCT</code>), |
| or all the aggregate functions are splittable, |
| and the underlying relational expression is already distinct.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="AggregateStarTableRule.html" title="class in org.apache.calcite.rel.rules">AggregateStarTableRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#AGGREGATE_STAR_TABLE">AGGREGATE_STAR_TABLE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that matches an <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> on |
| a <a href="../../schema/impl/StarTable.StarTableScan.html" title="class in org.apache.calcite.schema.impl"><code>StarTable.StarTableScan</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="AggregateUnionAggregateRule.html" title="class in org.apache.calcite.rel.rules">AggregateUnionAggregateRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#AGGREGATE_UNION_AGGREGATE">AGGREGATE_UNION_AGGREGATE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that matches an <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> whose input is a <a href="../core/Union.html" title="class in org.apache.calcite.rel.core"><code>Union</code></a> |
| one of whose inputs is an <code>Aggregate</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="AggregateUnionAggregateRule.html" title="class in org.apache.calcite.rel.rules">AggregateUnionAggregateRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#AGGREGATE_UNION_AGGREGATE_FIRST">AGGREGATE_UNION_AGGREGATE_FIRST</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">As <a href="#AGGREGATE_UNION_AGGREGATE"><code>AGGREGATE_UNION_AGGREGATE</code></a>, but matches an <code>Aggregate</code> |
| only as the left input of the <code>Union</code>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="AggregateUnionAggregateRule.html" title="class in org.apache.calcite.rel.rules">AggregateUnionAggregateRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#AGGREGATE_UNION_AGGREGATE_SECOND">AGGREGATE_UNION_AGGREGATE_SECOND</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">As <a href="#AGGREGATE_UNION_AGGREGATE"><code>AGGREGATE_UNION_AGGREGATE</code></a>, but matches an <code>Aggregate</code> |
| only as the right input of the <code>Union</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="AggregateUnionTransposeRule.html" title="class in org.apache.calcite.rel.rules">AggregateUnionTransposeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#AGGREGATE_UNION_TRANSPOSE">AGGREGATE_UNION_TRANSPOSE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that pushes an <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> |
| past a non-distinct <a href="../core/Union.html" title="class in org.apache.calcite.rel.core"><code>Union</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="AggregateValuesRule.html" title="class in org.apache.calcite.rel.rules">AggregateValuesRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#AGGREGATE_VALUES">AGGREGATE_VALUES</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that applies an <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> to a <a href="../core/Values.html" title="class in org.apache.calcite.rel.core"><code>Values</code></a> (currently just |
| an empty <code>Values</code>).</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="CalcMergeRule.html" title="class in org.apache.calcite.rel.rules">CalcMergeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#CALC_MERGE">CALC_MERGE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that merges a <a href="../core/Calc.html" title="class in org.apache.calcite.rel.core"><code>Calc</code></a> onto a <code>Calc</code>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="ReduceDecimalsRule.html" title="class in org.apache.calcite.rel.rules">ReduceDecimalsRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#CALC_REDUCE_DECIMALS">CALC_REDUCE_DECIMALS</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that reduces operations on the DECIMAL type, such as casts or |
| arithmetic, into operations involving more primitive types such as BIGINT |
| and DOUBLE.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="ReduceExpressionsRule.CalcReduceExpressionsRule.html" title="class in org.apache.calcite.rel.rules">ReduceExpressionsRule.CalcReduceExpressionsRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#CALC_REDUCE_EXPRESSIONS">CALC_REDUCE_EXPRESSIONS</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that reduces constants inside a <a href="../logical/LogicalCalc.html" title="class in org.apache.calcite.rel.logical"><code>LogicalCalc</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="CalcRemoveRule.html" title="class in org.apache.calcite.rel.rules">CalcRemoveRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#CALC_REMOVE">CALC_REMOVE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that removes a trivial <a href="../logical/LogicalCalc.html" title="class in org.apache.calcite.rel.logical"><code>LogicalCalc</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="CalcSplitRule.html" title="class in org.apache.calcite.rel.rules">CalcSplitRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#CALC_SPLIT">CALC_SPLIT</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that converts a <a href="../core/Calc.html" title="class in org.apache.calcite.rel.core"><code>Calc</code></a> to a <a href="../core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> and |
| <a href="../core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="ProjectToWindowRule.CalcToWindowRule.html" title="class in org.apache.calcite.rel.rules">ProjectToWindowRule.CalcToWindowRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#CALC_TO_WINDOW">CALC_TO_WINDOW</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that transforms a <a href="../core/Calc.html" title="class in org.apache.calcite.rel.core"><code>Calc</code></a> |
| that contains windowed aggregates to a mixture of |
| <a href="../logical/LogicalWindow.html" title="class in org.apache.calcite.rel.logical"><code>LogicalWindow</code></a> and <code>Calc</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="CoerceInputsRule.html" title="class in org.apache.calcite.rel.rules">CoerceInputsRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#COERCE_INPUTS">COERCE_INPUTS</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that pre-casts inputs to a particular type.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="ExchangeRemoveConstantKeysRule.html" title="class in org.apache.calcite.rel.rules">ExchangeRemoveConstantKeysRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#EXCHANGE_REMOVE_CONSTANT_KEYS">EXCHANGE_REMOVE_CONSTANT_KEYS</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that removes constants inside a <a href="../logical/LogicalExchange.html" title="class in org.apache.calcite.rel.logical"><code>LogicalExchange</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="FilterAggregateTransposeRule.html" title="class in org.apache.calcite.rel.rules">FilterAggregateTransposeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#FILTER_AGGREGATE_TRANSPOSE">FILTER_AGGREGATE_TRANSPOSE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that pushes a <a href="../core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a> past an <a href="../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>static <a href="FilterCalcMergeRule.html" title="class in org.apache.calcite.rel.rules">FilterCalcMergeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#FILTER_CALC_MERGE">FILTER_CALC_MERGE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that merges a <a href="../core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a> and a <a href="../logical/LogicalCalc.html" title="class in org.apache.calcite.rel.logical"><code>LogicalCalc</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="FilterCorrelateRule.html" title="class in org.apache.calcite.rel.rules">FilterCorrelateRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#FILTER_CORRELATE">FILTER_CORRELATE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that pushes a <a href="../core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a> above a <a href="../core/Correlate.html" title="class in org.apache.calcite.rel.core"><code>Correlate</code></a> into the |
| inputs of the <code>Correlate</code>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="FilterRemoveIsNotDistinctFromRule.html" title="class in org.apache.calcite.rel.rules">FilterRemoveIsNotDistinctFromRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#FILTER_EXPAND_IS_NOT_DISTINCT_FROM">FILTER_EXPAND_IS_NOT_DISTINCT_FROM</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that replaces <code>IS NOT DISTINCT FROM</code> |
| in a <a href="../core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a> with logically equivalent operations.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="FilterTableScanRule.html" title="class in org.apache.calcite.rel.rules">FilterTableScanRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#FILTER_INTERPRETER_SCAN">FILTER_INTERPRETER_SCAN</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that matches a <a href="../core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a> on an |
| <a href="../../adapter/enumerable/EnumerableInterpreter.html" title="class in org.apache.calcite.adapter.enumerable"><code>EnumerableInterpreter</code></a> on a |
| <a href="../core/TableScan.html" title="class in org.apache.calcite.rel.core"><code>TableScan</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="FilterJoinRule.FilterIntoJoinRule.html" title="class in org.apache.calcite.rel.rules">FilterJoinRule.FilterIntoJoinRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#FILTER_INTO_JOIN">FILTER_INTO_JOIN</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that tries to push filter expressions into a join |
| condition and into the inputs of the join.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="FilterJoinRule.FilterIntoJoinRule.html" title="class in org.apache.calcite.rel.rules">FilterJoinRule.FilterIntoJoinRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#FILTER_INTO_JOIN_DUMB">FILTER_INTO_JOIN_DUMB</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Dumber version of <a href="#FILTER_INTO_JOIN"><code>FILTER_INTO_JOIN</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="FilterMergeRule.html" title="class in org.apache.calcite.rel.rules">FilterMergeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#FILTER_MERGE">FILTER_MERGE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that combines two <a href="../logical/LogicalFilter.html" title="class in org.apache.calcite.rel.logical"><code>LogicalFilter</code></a>s.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="FilterMultiJoinMergeRule.html" title="class in org.apache.calcite.rel.rules">FilterMultiJoinMergeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#FILTER_MULTI_JOIN_MERGE">FILTER_MULTI_JOIN_MERGE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that merges a <a href="../core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a> into a <a href="MultiJoin.html" title="class in org.apache.calcite.rel.rules"><code>MultiJoin</code></a>, |
| creating a richer <code>MultiJoin</code>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="FilterProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">FilterProjectTransposeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#FILTER_PROJECT_TRANSPOSE">FILTER_PROJECT_TRANSPOSE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The default instance of |
| <a href="FilterProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules"><code>FilterProjectTransposeRule</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="ReduceExpressionsRule.FilterReduceExpressionsRule.html" title="class in org.apache.calcite.rel.rules">ReduceExpressionsRule.FilterReduceExpressionsRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#FILTER_REDUCE_EXPRESSIONS">FILTER_REDUCE_EXPRESSIONS</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that reduces constants inside a <a href="../logical/LogicalFilter.html" title="class in org.apache.calcite.rel.logical"><code>LogicalFilter</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="FilterTableScanRule.html" title="class in org.apache.calcite.rel.rules">FilterTableScanRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#FILTER_SCAN">FILTER_SCAN</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that matches a <a href="../core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a> on a <a href="../core/TableScan.html" title="class in org.apache.calcite.rel.core"><code>TableScan</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="FilterSetOpTransposeRule.html" title="class in org.apache.calcite.rel.rules">FilterSetOpTransposeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#FILTER_SET_OP_TRANSPOSE">FILTER_SET_OP_TRANSPOSE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that pushes a <a href="../core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a> past a <a href="../core/SetOp.html" title="class in org.apache.calcite.rel.core"><code>SetOp</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="SubQueryRemoveRule.html" title="class in org.apache.calcite.rel.rules">SubQueryRemoveRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#FILTER_SUB_QUERY_TO_CORRELATE">FILTER_SUB_QUERY_TO_CORRELATE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that converts a sub-queries from filter expressions into |
| <a href="../core/Correlate.html" title="class in org.apache.calcite.rel.core"><code>Correlate</code></a> instances.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="FilterTableFunctionTransposeRule.html" title="class in org.apache.calcite.rel.rules">FilterTableFunctionTransposeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#FILTER_TABLE_FUNCTION_TRANSPOSE">FILTER_TABLE_FUNCTION_TRANSPOSE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that pushes a <a href="../logical/LogicalFilter.html" title="class in org.apache.calcite.rel.logical"><code>LogicalFilter</code></a> |
| past a <a href="../logical/LogicalTableFunctionScan.html" title="class in org.apache.calcite.rel.logical"><code>LogicalTableFunctionScan</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="FilterToCalcRule.html" title="class in org.apache.calcite.rel.rules">FilterToCalcRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#FILTER_TO_CALC">FILTER_TO_CALC</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that converts a <a href="../logical/LogicalFilter.html" title="class in org.apache.calcite.rel.logical"><code>LogicalFilter</code></a> to a <a href="../logical/LogicalCalc.html" title="class in org.apache.calcite.rel.logical"><code>LogicalCalc</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="ValuesReduceRule.html" title="class in org.apache.calcite.rel.rules">ValuesReduceRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#FILTER_VALUES_MERGE">FILTER_VALUES_MERGE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that merges a <a href="../core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a> onto an underlying |
| <a href="../logical/LogicalValues.html" title="class in org.apache.calcite.rel.logical"><code>LogicalValues</code></a>, |
| resulting in a <code>Values</code> with potentially fewer rows.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="UnionMergeRule.html" title="class in org.apache.calcite.rel.rules">UnionMergeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#INTERSECT_MERGE">INTERSECT_MERGE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that flattens an <a href="../core/Intersect.html" title="class in org.apache.calcite.rel.core"><code>Intersect</code></a> on an <code>Intersect</code> |
| into a single <code>Intersect</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="IntersectToDistinctRule.html" title="class in org.apache.calcite.rel.rules">IntersectToDistinctRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#INTERSECT_TO_DISTINCT">INTERSECT_TO_DISTINCT</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that translates a distinct |
| <a href="../core/Intersect.html" title="class in org.apache.calcite.rel.core"><code>Intersect</code></a> into a group of operators |
| composed of <a href="../core/Union.html" title="class in org.apache.calcite.rel.core"><code>Union</code></a>, <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a>, etc.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="JoinAddRedundantSemiJoinRule.html" title="class in org.apache.calcite.rel.rules">JoinAddRedundantSemiJoinRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#JOIN_ADD_REDUNDANT_SEMI_JOIN">JOIN_ADD_REDUNDANT_SEMI_JOIN</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule to add a semi-join into a <a href="../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>static <a href="JoinAssociateRule.html" title="class in org.apache.calcite.rel.rules">JoinAssociateRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#JOIN_ASSOCIATE">JOIN_ASSOCIATE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that changes a join based on the associativity rule, |
| ((a JOIN b) JOIN c) → (a JOIN (b JOIN c)).</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="JoinCommuteRule.html" title="class in org.apache.calcite.rel.rules">JoinCommuteRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#JOIN_COMMUTE">JOIN_COMMUTE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that permutes the inputs to an inner <a href="../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>static <a href="JoinCommuteRule.html" title="class in org.apache.calcite.rel.rules">JoinCommuteRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#JOIN_COMMUTE_OUTER">JOIN_COMMUTE_OUTER</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">As <a href="#JOIN_COMMUTE"><code>JOIN_COMMUTE</code></a> but swaps outer joins as well as inner joins.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="FilterJoinRule.JoinConditionPushRule.html" title="class in org.apache.calcite.rel.rules">FilterJoinRule.JoinConditionPushRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#JOIN_CONDITION_PUSH">JOIN_CONDITION_PUSH</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that pushes predicates in a Join into the inputs to the join.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="JoinExtractFilterRule.html" title="class in org.apache.calcite.rel.rules">JoinExtractFilterRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#JOIN_EXTRACT_FILTER">JOIN_EXTRACT_FILTER</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule to convert an |
| <a href="../logical/LogicalJoin.html" title="class in org.apache.calcite.rel.logical"><code>inner join</code></a> to a |
| <a href="../logical/LogicalFilter.html" title="class in org.apache.calcite.rel.logical"><code>filter</code></a> on top of a |
| <a href="../logical/LogicalJoin.html" title="class in org.apache.calcite.rel.logical"><code>cartesian inner join</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="JoinUnionTransposeRule.html" title="class in org.apache.calcite.rel.rules">JoinUnionTransposeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#JOIN_LEFT_UNION_TRANSPOSE">JOIN_LEFT_UNION_TRANSPOSE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that pushes a <a href="../core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> |
| past a non-distinct <a href="../core/Union.html" title="class in org.apache.calcite.rel.core"><code>Union</code></a> as its left input.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="JoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">JoinProjectTransposeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#JOIN_PROJECT_BOTH_TRANSPOSE">JOIN_PROJECT_BOTH_TRANSPOSE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that matches a <a href="../logical/LogicalJoin.html" title="class in org.apache.calcite.rel.logical"><code>LogicalJoin</code></a> whose inputs are |
| <a href="../logical/LogicalProject.html" title="class in org.apache.calcite.rel.logical"><code>LogicalProject</code></a>s, and pulls the project expressions up.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="JoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">JoinProjectTransposeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#JOIN_PROJECT_BOTH_TRANSPOSE_INCLUDE_OUTER">JOIN_PROJECT_BOTH_TRANSPOSE_INCLUDE_OUTER</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">As <a href="#JOIN_PROJECT_BOTH_TRANSPOSE"><code>JOIN_PROJECT_BOTH_TRANSPOSE</code></a> but match outer as well as |
| inner join.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="JoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">JoinProjectTransposeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#JOIN_PROJECT_LEFT_TRANSPOSE">JOIN_PROJECT_LEFT_TRANSPOSE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">As <a href="#JOIN_PROJECT_BOTH_TRANSPOSE"><code>JOIN_PROJECT_BOTH_TRANSPOSE</code></a> but only the left input is |
| a <a href="../logical/LogicalProject.html" title="class in org.apache.calcite.rel.logical"><code>LogicalProject</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="JoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">JoinProjectTransposeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#JOIN_PROJECT_LEFT_TRANSPOSE_INCLUDE_OUTER">JOIN_PROJECT_LEFT_TRANSPOSE_INCLUDE_OUTER</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">As <a href="#JOIN_PROJECT_LEFT_TRANSPOSE"><code>JOIN_PROJECT_LEFT_TRANSPOSE</code></a> but match outer as well as |
| inner join.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="JoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">JoinProjectTransposeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#JOIN_PROJECT_RIGHT_TRANSPOSE">JOIN_PROJECT_RIGHT_TRANSPOSE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">As <a href="#JOIN_PROJECT_BOTH_TRANSPOSE"><code>JOIN_PROJECT_BOTH_TRANSPOSE</code></a> but only the right input is |
| a <a href="../logical/LogicalProject.html" title="class in org.apache.calcite.rel.logical"><code>LogicalProject</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="JoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">JoinProjectTransposeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#JOIN_PROJECT_RIGHT_TRANSPOSE_INCLUDE_OUTER">JOIN_PROJECT_RIGHT_TRANSPOSE_INCLUDE_OUTER</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">As <a href="#JOIN_PROJECT_RIGHT_TRANSPOSE"><code>JOIN_PROJECT_RIGHT_TRANSPOSE</code></a> but match outer as well as |
| inner join.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="JoinPushExpressionsRule.html" title="class in org.apache.calcite.rel.rules">JoinPushExpressionsRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#JOIN_PUSH_EXPRESSIONS">JOIN_PUSH_EXPRESSIONS</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that matches a <a href="../core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> and pushes down expressions on either |
| side of "equal" conditions.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="JoinPushTransitivePredicatesRule.html" title="class in org.apache.calcite.rel.rules">JoinPushTransitivePredicatesRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#JOIN_PUSH_TRANSITIVE_PREDICATES">JOIN_PUSH_TRANSITIVE_PREDICATES</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that infers predicates from on a <a href="../core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> and creates |
| <a href="../core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a>s if those predicates can be pushed to its inputs.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="ReduceExpressionsRule.JoinReduceExpressionsRule.html" title="class in org.apache.calcite.rel.rules">ReduceExpressionsRule.JoinReduceExpressionsRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#JOIN_REDUCE_EXPRESSIONS">JOIN_REDUCE_EXPRESSIONS</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that reduces constants inside a <a href="../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>static <a href="JoinUnionTransposeRule.html" title="class in org.apache.calcite.rel.rules">JoinUnionTransposeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#JOIN_RIGHT_UNION_TRANSPOSE">JOIN_RIGHT_UNION_TRANSPOSE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that pushes a <a href="../core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> |
| past a non-distinct <a href="../core/Union.html" title="class in org.apache.calcite.rel.core"><code>Union</code></a> as its right input.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="SubQueryRemoveRule.html" title="class in org.apache.calcite.rel.rules">SubQueryRemoveRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#JOIN_SUB_QUERY_TO_CORRELATE">JOIN_SUB_QUERY_TO_CORRELATE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that converts sub-queries from join expressions into |
| <a href="../core/Correlate.html" title="class in org.apache.calcite.rel.core"><code>Correlate</code></a> instances.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="JoinToCorrelateRule.html" title="class in org.apache.calcite.rel.rules">JoinToCorrelateRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#JOIN_TO_CORRELATE">JOIN_TO_CORRELATE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that converts a <a href="../logical/LogicalJoin.html" title="class in org.apache.calcite.rel.logical"><code>LogicalJoin</code></a> |
| into a <a href="../logical/LogicalCorrelate.html" title="class in org.apache.calcite.rel.logical"><code>LogicalCorrelate</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="JoinToMultiJoinRule.html" title="class in org.apache.calcite.rel.rules">JoinToMultiJoinRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#JOIN_TO_MULTI_JOIN">JOIN_TO_MULTI_JOIN</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that flattens a tree of <a href="../logical/LogicalJoin.html" title="class in org.apache.calcite.rel.logical"><code>LogicalJoin</code></a>s |
| into a single <a href="MultiJoin.html" title="class in org.apache.calcite.rel.rules"><code>MultiJoin</code></a> with N inputs.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="SemiJoinRule.JoinToSemiJoinRule.html" title="class in org.apache.calcite.rel.rules">SemiJoinRule.JoinToSemiJoinRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#JOIN_TO_SEMI_JOIN">JOIN_TO_SEMI_JOIN</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that creates a <a href="../core/Join.html#isSemiJoin()"><code>semi-join</code></a> from a |
| <a href="../core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> with an empty <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> as its right input.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="MatchRule.html" title="class in org.apache.calcite.rel.rules">MatchRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MATCH">MATCH</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that converts a <a href="../logical/LogicalMatch.html" title="class in org.apache.calcite.rel.logical"><code>LogicalMatch</code></a> to the result of calling |
| <a href="../logical/LogicalMatch.html#copy(org.apache.calcite.plan.RelTraitSet,java.util.List)"><code>LogicalMatch.copy(org.apache.calcite.plan.RelTraitSet, java.util.List<org.apache.calcite.rel.RelNode>)</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="UnionMergeRule.html" title="class in org.apache.calcite.rel.rules">UnionMergeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MINUS_MERGE">MINUS_MERGE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that flattens a <a href="../core/Minus.html" title="class in org.apache.calcite.rel.core"><code>Minus</code></a> on a <code>Minus</code> |
| into a single <code>Minus</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="MultiJoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">MultiJoinProjectTransposeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MULTI_JOIN_BOTH_PROJECT">MULTI_JOIN_BOTH_PROJECT</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that matches a <a href="../logical/LogicalJoin.html" title="class in org.apache.calcite.rel.logical"><code>LogicalJoin</code></a> whose inputs are both a |
| <a href="MultiJoin.html" title="class in org.apache.calcite.rel.rules"><code>MultiJoin</code></a> with intervening <a href="../logical/LogicalProject.html" title="class in org.apache.calcite.rel.logical"><code>LogicalProject</code></a>s, |
| and pulls the Projects up above the Join.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="MultiJoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">MultiJoinProjectTransposeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MULTI_JOIN_LEFT_PROJECT">MULTI_JOIN_LEFT_PROJECT</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">As <a href="#MULTI_JOIN_BOTH_PROJECT"><code>MULTI_JOIN_BOTH_PROJECT</code></a> but only the left input has |
| an intervening Project.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="LoptOptimizeJoinRule.html" title="class in org.apache.calcite.rel.rules">LoptOptimizeJoinRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MULTI_JOIN_OPTIMIZE">MULTI_JOIN_OPTIMIZE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that re-orders a <a href="../core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> using a heuristic planner.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="MultiJoinOptimizeBushyRule.html" title="class in org.apache.calcite.rel.rules">MultiJoinOptimizeBushyRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MULTI_JOIN_OPTIMIZE_BUSHY">MULTI_JOIN_OPTIMIZE_BUSHY</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that finds an approximately optimal ordering for join operators |
| using a heuristic algorithm and can handle bushy joins.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="MultiJoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">MultiJoinProjectTransposeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MULTI_JOIN_RIGHT_PROJECT">MULTI_JOIN_RIGHT_PROJECT</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">As <a href="#MULTI_JOIN_BOTH_PROJECT"><code>MULTI_JOIN_BOTH_PROJECT</code></a> but only the right input has |
| an intervening Project.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="ProjectAggregateMergeRule.html" title="class in org.apache.calcite.rel.rules">ProjectAggregateMergeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#PROJECT_AGGREGATE_MERGE">PROJECT_AGGREGATE_MERGE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that matches a <a href="../core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> on an <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a>, |
| projecting away aggregate calls that are not used.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="ProjectCalcMergeRule.html" title="class in org.apache.calcite.rel.rules">ProjectCalcMergeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#PROJECT_CALC_MERGE">PROJECT_CALC_MERGE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that merges a <a href="../logical/LogicalProject.html" title="class in org.apache.calcite.rel.logical"><code>LogicalProject</code></a> and a <a href="../logical/LogicalCalc.html" title="class in org.apache.calcite.rel.logical"><code>LogicalCalc</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="ProjectCorrelateTransposeRule.html" title="class in org.apache.calcite.rel.rules">ProjectCorrelateTransposeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#PROJECT_CORRELATE_TRANSPOSE">PROJECT_CORRELATE_TRANSPOSE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that matches a <a href="../core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> on a <a href="../core/Correlate.html" title="class in org.apache.calcite.rel.core"><code>Correlate</code></a> and |
| pushes the projections to the Correlate's left and right inputs.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="ProjectFilterTransposeRule.html" title="class in org.apache.calcite.rel.rules">ProjectFilterTransposeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#PROJECT_FILTER_TRANSPOSE">PROJECT_FILTER_TRANSPOSE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that pushes a <a href="../core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> past a <a href="../core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="ProjectFilterTransposeRule.html" title="class in org.apache.calcite.rel.rules">ProjectFilterTransposeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#PROJECT_FILTER_TRANSPOSE_WHOLE_EXPRESSIONS">PROJECT_FILTER_TRANSPOSE_WHOLE_EXPRESSIONS</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">As <a href="#PROJECT_FILTER_TRANSPOSE"><code>PROJECT_FILTER_TRANSPOSE</code></a>, but pushes down project and filter |
| expressions whole, not field references.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="ProjectFilterTransposeRule.html" title="class in org.apache.calcite.rel.rules">ProjectFilterTransposeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#PROJECT_FILTER_TRANSPOSE_WHOLE_PROJECT_EXPRESSIONS">PROJECT_FILTER_TRANSPOSE_WHOLE_PROJECT_EXPRESSIONS</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">As <a href="#PROJECT_FILTER_TRANSPOSE"><code>PROJECT_FILTER_TRANSPOSE</code></a>, |
| pushes down field references for filters, |
| but pushes down project expressions whole.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="ValuesReduceRule.html" title="class in org.apache.calcite.rel.rules">ValuesReduceRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#PROJECT_FILTER_VALUES_MERGE">PROJECT_FILTER_VALUES_MERGE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that merges a <a href="../core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> |
| on top of a <a href="../core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a> onto an underlying |
| <a href="../logical/LogicalValues.html" title="class in org.apache.calcite.rel.logical"><code>LogicalValues</code></a>, |
| resulting in a <code>Values</code> with different columns |
| and potentially fewer rows.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="ProjectTableScanRule.html" title="class in org.apache.calcite.rel.rules">ProjectTableScanRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#PROJECT_INTERPRETER_TABLE_SCAN">PROJECT_INTERPRETER_TABLE_SCAN</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">As <a href="#PROJECT_TABLE_SCAN"><code>PROJECT_TABLE_SCAN</code></a>, but with an intervening |
| <a href="../../adapter/enumerable/EnumerableInterpreter.html" title="class in org.apache.calcite.adapter.enumerable"><code>EnumerableInterpreter</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="ProjectJoinJoinRemoveRule.html" title="class in org.apache.calcite.rel.rules">ProjectJoinJoinRemoveRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#PROJECT_JOIN_JOIN_REMOVE">PROJECT_JOIN_JOIN_REMOVE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that matches an <a href="../core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> on a <a href="../core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> and removes the |
| left input of the join provided that the left input is also a left join.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="ProjectJoinRemoveRule.html" title="class in org.apache.calcite.rel.rules">ProjectJoinRemoveRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#PROJECT_JOIN_REMOVE">PROJECT_JOIN_REMOVE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that matches an <a href="../core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> on a <a href="../core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> and removes the |
| join provided that the join is a left join or right join and the join keys |
| are unique.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="ProjectJoinTransposeRule.html" title="class in org.apache.calcite.rel.rules">ProjectJoinTransposeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#PROJECT_JOIN_TRANSPOSE">PROJECT_JOIN_TRANSPOSE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that pushes a <a href="../logical/LogicalProject.html" title="class in org.apache.calcite.rel.logical"><code>LogicalProject</code></a> past a <a href="../logical/LogicalJoin.html" title="class in org.apache.calcite.rel.logical"><code>LogicalJoin</code></a> |
| by splitting the projection into a projection on top of each child of |
| the join.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="ProjectMergeRule.html" title="class in org.apache.calcite.rel.rules">ProjectMergeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#PROJECT_MERGE">PROJECT_MERGE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that merges a <a href="../core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> into another <a href="../core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a>, |
| provided the projects are not projecting identical sets of input |
| references.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="ProjectMultiJoinMergeRule.html" title="class in org.apache.calcite.rel.rules">ProjectMultiJoinMergeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#PROJECT_MULTI_JOIN_MERGE">PROJECT_MULTI_JOIN_MERGE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that pushes a <a href="../core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> into a <a href="MultiJoin.html" title="class in org.apache.calcite.rel.rules"><code>MultiJoin</code></a>, |
| creating a richer <code>MultiJoin</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="ReduceExpressionsRule.ProjectReduceExpressionsRule.html" title="class in org.apache.calcite.rel.rules">ReduceExpressionsRule.ProjectReduceExpressionsRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#PROJECT_REDUCE_EXPRESSIONS">PROJECT_REDUCE_EXPRESSIONS</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that reduces constants inside a <a href="../logical/LogicalProject.html" title="class in org.apache.calcite.rel.logical"><code>LogicalProject</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="ProjectRemoveRule.html" title="class in org.apache.calcite.rel.rules">ProjectRemoveRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#PROJECT_REMOVE">PROJECT_REMOVE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that, given a <a href="../core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> node that merely returns its input, |
| converts the node into its input.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="ProjectSetOpTransposeRule.html" title="class in org.apache.calcite.rel.rules">ProjectSetOpTransposeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#PROJECT_SET_OP_TRANSPOSE">PROJECT_SET_OP_TRANSPOSE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that pushes a <a href="../logical/LogicalProject.html" title="class in org.apache.calcite.rel.logical"><code>LogicalProject</code></a> past a <a href="../core/SetOp.html" title="class in org.apache.calcite.rel.core"><code>SetOp</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="SubQueryRemoveRule.html" title="class in org.apache.calcite.rel.rules">SubQueryRemoveRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#PROJECT_SUB_QUERY_TO_CORRELATE">PROJECT_SUB_QUERY_TO_CORRELATE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that converts sub-queries from project expressions into |
| <a href="../core/Correlate.html" title="class in org.apache.calcite.rel.core"><code>Correlate</code></a> instances.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="ProjectTableScanRule.html" title="class in org.apache.calcite.rel.rules">ProjectTableScanRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#PROJECT_TABLE_SCAN">PROJECT_TABLE_SCAN</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that converts a <a href="../core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> on a <a href="../core/TableScan.html" title="class in org.apache.calcite.rel.core"><code>TableScan</code></a> |
| of a <a href="../../schema/ProjectableFilterableTable.html" title="interface in org.apache.calcite.schema"><code>ProjectableFilterableTable</code></a> |
| to a <a href="../../interpreter/Bindables.BindableTableScan.html" title="class in org.apache.calcite.interpreter"><code>Bindables.BindableTableScan</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="ProjectToCalcRule.html" title="class in org.apache.calcite.rel.rules">ProjectToCalcRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#PROJECT_TO_CALC">PROJECT_TO_CALC</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that converts a <a href="../logical/LogicalProject.html" title="class in org.apache.calcite.rel.logical"><code>LogicalProject</code></a> to a <a href="../logical/LogicalCalc.html" title="class in org.apache.calcite.rel.logical"><code>LogicalCalc</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="ProjectToWindowRule.ProjectToLogicalProjectAndWindowRule.html" title="class in org.apache.calcite.rel.rules">ProjectToWindowRule.ProjectToLogicalProjectAndWindowRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#PROJECT_TO_LOGICAL_PROJECT_AND_WINDOW">PROJECT_TO_LOGICAL_PROJECT_AND_WINDOW</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that transforms a <a href="../core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> |
| into a mixture of <code>LogicalProject</code> |
| and <a href="../logical/LogicalWindow.html" title="class in org.apache.calcite.rel.logical"><code>LogicalWindow</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="SemiJoinRule.ProjectToSemiJoinRule.html" title="class in org.apache.calcite.rel.rules">SemiJoinRule.ProjectToSemiJoinRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#PROJECT_TO_SEMI_JOIN">PROJECT_TO_SEMI_JOIN</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that creates a <a href="../core/Join.html#isSemiJoin()"><code>semi-join</code></a> from a |
| <a href="../core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> on top of a <a href="../core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> with an <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> as its |
| right input.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="ValuesReduceRule.html" title="class in org.apache.calcite.rel.rules">ValuesReduceRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#PROJECT_VALUES_MERGE">PROJECT_VALUES_MERGE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that merges a <a href="../core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> onto an underlying |
| <a href="../logical/LogicalValues.html" title="class in org.apache.calcite.rel.logical"><code>LogicalValues</code></a>, |
| resulting in a <code>Values</code> with different columns.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="ProjectWindowTransposeRule.html" title="class in org.apache.calcite.rel.rules">ProjectWindowTransposeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#PROJECT_WINDOW_TRANSPOSE">PROJECT_WINDOW_TRANSPOSE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that pushes a <a href="../logical/LogicalProject.html" title="class in org.apache.calcite.rel.logical"><code>LogicalProject</code></a> past a <a href="../logical/LogicalWindow.html" title="class in org.apache.calcite.rel.logical"><code>LogicalWindow</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="SemiJoinFilterTransposeRule.html" title="class in org.apache.calcite.rel.rules">SemiJoinFilterTransposeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#SEMI_JOIN_FILTER_TRANSPOSE">SEMI_JOIN_FILTER_TRANSPOSE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that pushes a <a href="../core/Join.html#isSemiJoin()"><code>semi-join</code></a> down in a tree past |
| a <a href="../core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="SemiJoinJoinTransposeRule.html" title="class in org.apache.calcite.rel.rules">SemiJoinJoinTransposeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#SEMI_JOIN_JOIN_TRANSPOSE">SEMI_JOIN_JOIN_TRANSPOSE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that pushes a <a href="../core/Join.html#isSemiJoin()"><code>semi-join</code></a> down in a tree past a |
| <a href="../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>static <a href="SemiJoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">SemiJoinProjectTransposeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#SEMI_JOIN_PROJECT_TRANSPOSE">SEMI_JOIN_PROJECT_TRANSPOSE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that pushes a <a href="../core/Join.html#isSemiJoin()"><code>semi-join</code></a> down in a tree past |
| a <a href="../core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="SemiJoinRemoveRule.html" title="class in org.apache.calcite.rel.rules">SemiJoinRemoveRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#SEMI_JOIN_REMOVE">SEMI_JOIN_REMOVE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that removes a <a href="../core/Join.html#isSemiJoin()"><code>semi-join</code></a> from a join tree.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="ExchangeRemoveConstantKeysRule.html" title="class in org.apache.calcite.rel.rules">ExchangeRemoveConstantKeysRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#SORT_EXCHANGE_REMOVE_CONSTANT_KEYS">SORT_EXCHANGE_REMOVE_CONSTANT_KEYS</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that removes constants inside a <a href="../logical/LogicalSortExchange.html" title="class in org.apache.calcite.rel.logical"><code>LogicalSortExchange</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="SortJoinCopyRule.html" title="class in org.apache.calcite.rel.rules">SortJoinCopyRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#SORT_JOIN_COPY">SORT_JOIN_COPY</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that copies a <a href="../core/Sort.html" title="class in org.apache.calcite.rel.core"><code>Sort</code></a> past a <a href="../core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> without its limit and |
| offset.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="SortJoinTransposeRule.html" title="class in org.apache.calcite.rel.rules">SortJoinTransposeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#SORT_JOIN_TRANSPOSE">SORT_JOIN_TRANSPOSE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that pushes a <a href="../core/Sort.html" title="class in org.apache.calcite.rel.core"><code>Sort</code></a> past a <a href="../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>static <a href="SortProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">SortProjectTransposeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#SORT_PROJECT_TRANSPOSE">SORT_PROJECT_TRANSPOSE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that pushes a <a href="../core/Sort.html" title="class in org.apache.calcite.rel.core"><code>Sort</code></a> past a <a href="../core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="SortRemoveRule.html" title="class in org.apache.calcite.rel.rules">SortRemoveRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#SORT_REMOVE">SORT_REMOVE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that removes a <a href="../core/Sort.html" title="class in org.apache.calcite.rel.core"><code>Sort</code></a> if its input is already sorted.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="SortRemoveConstantKeysRule.html" title="class in org.apache.calcite.rel.rules">SortRemoveConstantKeysRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#SORT_REMOVE_CONSTANT_KEYS">SORT_REMOVE_CONSTANT_KEYS</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that removes keys from a <a href="../core/Sort.html" title="class in org.apache.calcite.rel.core"><code>Sort</code></a> |
| if those keys are known to be constant, or removes the entire Sort if all |
| keys are constant.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="SortUnionTransposeRule.html" title="class in org.apache.calcite.rel.rules">SortUnionTransposeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#SORT_UNION_TRANSPOSE">SORT_UNION_TRANSPOSE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that pushes a <a href="../core/Sort.html" title="class in org.apache.calcite.rel.core"><code>Sort</code></a> past a <a href="../core/Union.html" title="class in org.apache.calcite.rel.core"><code>Union</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="SortUnionTransposeRule.html" title="class in org.apache.calcite.rel.rules">SortUnionTransposeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#SORT_UNION_TRANSPOSE_MATCH_NULL_FETCH">SORT_UNION_TRANSPOSE_MATCH_NULL_FETCH</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">As <a href="#SORT_UNION_TRANSPOSE"><code>SORT_UNION_TRANSPOSE</code></a>, but for a Union implementation that |
| preserves the ordering of its inputs.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="UnionMergeRule.html" title="class in org.apache.calcite.rel.rules">UnionMergeRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#UNION_MERGE">UNION_MERGE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that flattens a <a href="../core/Union.html" title="class in org.apache.calcite.rel.core"><code>Union</code></a> on a <code>Union</code> |
| into a single <code>Union</code>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="UnionPullUpConstantsRule.html" title="class in org.apache.calcite.rel.rules">UnionPullUpConstantsRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#UNION_PULL_UP_CONSTANTS">UNION_PULL_UP_CONSTANTS</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that pulls up constants through a Union operator.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="UnionEliminatorRule.html" title="class in org.apache.calcite.rel.rules">UnionEliminatorRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#UNION_REMOVE">UNION_REMOVE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that removes a <a href="../core/Union.html" title="class in org.apache.calcite.rel.core"><code>Union</code></a> if it has only one input.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="UnionToDistinctRule.html" title="class in org.apache.calcite.rel.rules">UnionToDistinctRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#UNION_TO_DISTINCT">UNION_TO_DISTINCT</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that translates a distinct <a href="../core/Union.html" title="class in org.apache.calcite.rel.core"><code>Union</code></a> |
| (<code>all</code> = <code>false</code>) |
| into an <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> on top of a non-distinct <a href="../core/Union.html" title="class in org.apache.calcite.rel.core"><code>Union</code></a> |
| (<code>all</code> = <code>true</code>).</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="ReduceExpressionsRule.WindowReduceExpressionsRule.html" title="class in org.apache.calcite.rel.rules">ReduceExpressionsRule.WindowReduceExpressionsRule</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#WINDOW_REDUCE_EXPRESSIONS">WINDOW_REDUCE_EXPRESSIONS</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Rule that reduces constants inside a <a href="../logical/LogicalWindow.html" title="class in org.apache.calcite.rel.logical"><code>LogicalWindow</code></a>.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| </section> |
| </li> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <li class="blockList"> |
| <section class="methodSummary"><a id="method.summary"> |
| <!-- --> |
| </a> |
| <h2>Method Summary</h2> |
| <div class="inheritedList"> |
| <h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3> |
| <a id="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a><code><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></code></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <section class="details"> |
| <ul class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <li class="blockList"> |
| <section class="fieldDetails"><a id="field.detail"> |
| <!-- --> |
| </a> |
| <h2>Field Details</h2> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="AGGREGATE_PROJECT_MERGE">AGGREGATE_PROJECT_MERGE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="AggregateProjectMergeRule.html" title="class in org.apache.calcite.rel.rules">AggregateProjectMergeRule</a></span> <span class="memberName">AGGREGATE_PROJECT_MERGE</span></div> |
| <div class="block">Rule that recognizes an <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> |
| on top of a <a href="../core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> and if possible |
| aggregates through the Project or removes the Project.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="AGGREGATE_PROJECT_PULL_UP_CONSTANTS">AGGREGATE_PROJECT_PULL_UP_CONSTANTS</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="AggregateProjectPullUpConstantsRule.html" title="class in org.apache.calcite.rel.rules">AggregateProjectPullUpConstantsRule</a></span> <span class="memberName">AGGREGATE_PROJECT_PULL_UP_CONSTANTS</span></div> |
| <div class="block">Rule that removes constant keys from an <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="AGGREGATE_ANY_PULL_UP_CONSTANTS">AGGREGATE_ANY_PULL_UP_CONSTANTS</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="AggregateProjectPullUpConstantsRule.html" title="class in org.apache.calcite.rel.rules">AggregateProjectPullUpConstantsRule</a></span> <span class="memberName">AGGREGATE_ANY_PULL_UP_CONSTANTS</span></div> |
| <div class="block">More general form of <a href="#AGGREGATE_PROJECT_PULL_UP_CONSTANTS"><code>AGGREGATE_PROJECT_PULL_UP_CONSTANTS</code></a> |
| that matches any relational expression.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="AGGREGATE_STAR_TABLE">AGGREGATE_STAR_TABLE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="AggregateStarTableRule.html" title="class in org.apache.calcite.rel.rules">AggregateStarTableRule</a></span> <span class="memberName">AGGREGATE_STAR_TABLE</span></div> |
| <div class="block">Rule that matches an <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> on |
| a <a href="../../schema/impl/StarTable.StarTableScan.html" title="class in org.apache.calcite.schema.impl"><code>StarTable.StarTableScan</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="AGGREGATE_PROJECT_STAR_TABLE">AGGREGATE_PROJECT_STAR_TABLE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="AggregateProjectStarTableRule.html" title="class in org.apache.calcite.rel.rules">AggregateProjectStarTableRule</a></span> <span class="memberName">AGGREGATE_PROJECT_STAR_TABLE</span></div> |
| <div class="block">Variant of <a href="#AGGREGATE_STAR_TABLE"><code>AGGREGATE_STAR_TABLE</code></a> that accepts a <a href="../core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> |
| between the <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> and its <a href="../../schema/impl/StarTable.StarTableScan.html" title="class in org.apache.calcite.schema.impl"><code>StarTable.StarTableScan</code></a> |
| input.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="AGGREGATE_REDUCE_FUNCTIONS">AGGREGATE_REDUCE_FUNCTIONS</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="AggregateReduceFunctionsRule.html" title="class in org.apache.calcite.rel.rules">AggregateReduceFunctionsRule</a></span> <span class="memberName">AGGREGATE_REDUCE_FUNCTIONS</span></div> |
| <div class="block">Rule that reduces aggregate functions in |
| an <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> to simpler forms.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="AGGREGATE_MERGE">AGGREGATE_MERGE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="AggregateMergeRule.html" title="class in org.apache.calcite.rel.rules">AggregateMergeRule</a></span> <span class="memberName">AGGREGATE_MERGE</span></div> |
| <div class="block">Rule that matches an <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> on an <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a>, |
| and merges into a single Aggregate if the top aggregate's group key is a |
| subset of the lower aggregate's group key, and the aggregates are |
| expansions of rollups.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="AGGREGATE_REMOVE">AGGREGATE_REMOVE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="AggregateRemoveRule.html" title="class in org.apache.calcite.rel.rules">AggregateRemoveRule</a></span> <span class="memberName">AGGREGATE_REMOVE</span></div> |
| <div class="block">Rule that removes an <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> |
| if it computes no aggregate functions |
| (that is, it is implementing <code>SELECT DISTINCT</code>), |
| or all the aggregate functions are splittable, |
| and the underlying relational expression is already distinct.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="AGGREGATE_EXPAND_DISTINCT_AGGREGATES">AGGREGATE_EXPAND_DISTINCT_AGGREGATES</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="AggregateExpandDistinctAggregatesRule.html" title="class in org.apache.calcite.rel.rules">AggregateExpandDistinctAggregatesRule</a></span> <span class="memberName">AGGREGATE_EXPAND_DISTINCT_AGGREGATES</span></div> |
| <div class="block">Rule that expands distinct aggregates |
| (such as <code>COUNT(DISTINCT x)</code>) from a |
| <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a>. |
| This instance operates only on logical expressions.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="AGGREGATE_EXPAND_DISTINCT_AGGREGATES_TO_JOIN">AGGREGATE_EXPAND_DISTINCT_AGGREGATES_TO_JOIN</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="AggregateExpandDistinctAggregatesRule.html" title="class in org.apache.calcite.rel.rules">AggregateExpandDistinctAggregatesRule</a></span> <span class="memberName">AGGREGATE_EXPAND_DISTINCT_AGGREGATES_TO_JOIN</span></div> |
| <div class="block">As <a href="#AGGREGATE_EXPAND_DISTINCT_AGGREGATES"><code>AGGREGATE_EXPAND_DISTINCT_AGGREGATES</code></a> but generates a Join.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="AGGREGATE_EXPAND_WITHIN_DISTINCT">AGGREGATE_EXPAND_WITHIN_DISTINCT</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="AggregateExpandWithinDistinctRule.html" title="class in org.apache.calcite.rel.rules">AggregateExpandWithinDistinctRule</a></span> <span class="memberName">AGGREGATE_EXPAND_WITHIN_DISTINCT</span></div> |
| <div class="block">Rule that rewrites a <a href="../logical/LogicalAggregate.html" title="class in org.apache.calcite.rel.logical"><code>LogicalAggregate</code></a> that contains |
| <code>WITHIN DISTINCT</code> aggregate functions to one that does not.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="AGGREGATE_FILTER_TRANSPOSE">AGGREGATE_FILTER_TRANSPOSE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="AggregateFilterTransposeRule.html" title="class in org.apache.calcite.rel.rules">AggregateFilterTransposeRule</a></span> <span class="memberName">AGGREGATE_FILTER_TRANSPOSE</span></div> |
| <div class="block">Rule that matches an <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> |
| on a <a href="../core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a> and transposes them, |
| pushing the aggregate below the filter.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="AGGREGATE_JOIN_JOIN_REMOVE">AGGREGATE_JOIN_JOIN_REMOVE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="AggregateJoinJoinRemoveRule.html" title="class in org.apache.calcite.rel.rules">AggregateJoinJoinRemoveRule</a></span> <span class="memberName">AGGREGATE_JOIN_JOIN_REMOVE</span></div> |
| <div class="block">Rule that matches an <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> |
| on a <a href="../core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> and removes the left input |
| of the join provided that the left input is also a left join if |
| possible.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="AGGREGATE_JOIN_REMOVE">AGGREGATE_JOIN_REMOVE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="AggregateJoinRemoveRule.html" title="class in org.apache.calcite.rel.rules">AggregateJoinRemoveRule</a></span> <span class="memberName">AGGREGATE_JOIN_REMOVE</span></div> |
| <div class="block">Rule that matches an <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> |
| on a <a href="../core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> and removes the join |
| provided that the join is a left join or right join and it computes no |
| aggregate functions or all the aggregate calls have distinct.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="AGGREGATE_JOIN_TRANSPOSE">AGGREGATE_JOIN_TRANSPOSE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="AggregateJoinTransposeRule.html" title="class in org.apache.calcite.rel.rules">AggregateJoinTransposeRule</a></span> <span class="memberName">AGGREGATE_JOIN_TRANSPOSE</span></div> |
| <div class="block">Rule that pushes an <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> |
| past a <a href="../core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="AGGREGATE_JOIN_TRANSPOSE_EXTENDED">AGGREGATE_JOIN_TRANSPOSE_EXTENDED</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="AggregateJoinTransposeRule.html" title="class in org.apache.calcite.rel.rules">AggregateJoinTransposeRule</a></span> <span class="memberName">AGGREGATE_JOIN_TRANSPOSE_EXTENDED</span></div> |
| <div class="block">As <a href="#AGGREGATE_JOIN_TRANSPOSE"><code>AGGREGATE_JOIN_TRANSPOSE</code></a>, but extended to push down aggregate |
| functions.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="AGGREGATE_UNION_TRANSPOSE">AGGREGATE_UNION_TRANSPOSE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="AggregateUnionTransposeRule.html" title="class in org.apache.calcite.rel.rules">AggregateUnionTransposeRule</a></span> <span class="memberName">AGGREGATE_UNION_TRANSPOSE</span></div> |
| <div class="block">Rule that pushes an <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> |
| past a non-distinct <a href="../core/Union.html" title="class in org.apache.calcite.rel.core"><code>Union</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="AGGREGATE_UNION_AGGREGATE">AGGREGATE_UNION_AGGREGATE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="AggregateUnionAggregateRule.html" title="class in org.apache.calcite.rel.rules">AggregateUnionAggregateRule</a></span> <span class="memberName">AGGREGATE_UNION_AGGREGATE</span></div> |
| <div class="block">Rule that matches an <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> whose input is a <a href="../core/Union.html" title="class in org.apache.calcite.rel.core"><code>Union</code></a> |
| one of whose inputs is an <code>Aggregate</code>. |
| |
| <p>Because it matches <a href="../RelNode.html" title="interface in org.apache.calcite.rel"><code>RelNode</code></a> for each input of <code>Union</code>, it |
| will create O(N ^ 2) matches, which may cost too much during the popMatch |
| phase in VolcanoPlanner. If efficiency is a concern, we recommend that you |
| use <a href="#AGGREGATE_UNION_AGGREGATE_FIRST"><code>AGGREGATE_UNION_AGGREGATE_FIRST</code></a> |
| and <a href="#AGGREGATE_UNION_AGGREGATE_SECOND"><code>AGGREGATE_UNION_AGGREGATE_SECOND</code></a> instead.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="AGGREGATE_UNION_AGGREGATE_FIRST">AGGREGATE_UNION_AGGREGATE_FIRST</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="AggregateUnionAggregateRule.html" title="class in org.apache.calcite.rel.rules">AggregateUnionAggregateRule</a></span> <span class="memberName">AGGREGATE_UNION_AGGREGATE_FIRST</span></div> |
| <div class="block">As <a href="#AGGREGATE_UNION_AGGREGATE"><code>AGGREGATE_UNION_AGGREGATE</code></a>, but matches an <code>Aggregate</code> |
| only as the left input of the <code>Union</code>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="AGGREGATE_UNION_AGGREGATE_SECOND">AGGREGATE_UNION_AGGREGATE_SECOND</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="AggregateUnionAggregateRule.html" title="class in org.apache.calcite.rel.rules">AggregateUnionAggregateRule</a></span> <span class="memberName">AGGREGATE_UNION_AGGREGATE_SECOND</span></div> |
| <div class="block">As <a href="#AGGREGATE_UNION_AGGREGATE"><code>AGGREGATE_UNION_AGGREGATE</code></a>, but matches an <code>Aggregate</code> |
| only as the right input of the <code>Union</code>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="AGGREGATE_CASE_TO_FILTER">AGGREGATE_CASE_TO_FILTER</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="AggregateCaseToFilterRule.html" title="class in org.apache.calcite.rel.rules">AggregateCaseToFilterRule</a></span> <span class="memberName">AGGREGATE_CASE_TO_FILTER</span></div> |
| <div class="block">Rule that converts CASE-style filtered aggregates into true filtered |
| aggregates.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="CALC_MERGE">CALC_MERGE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="CalcMergeRule.html" title="class in org.apache.calcite.rel.rules">CalcMergeRule</a></span> <span class="memberName">CALC_MERGE</span></div> |
| <div class="block">Rule that merges a <a href="../core/Calc.html" title="class in org.apache.calcite.rel.core"><code>Calc</code></a> onto a <code>Calc</code>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="CALC_REMOVE">CALC_REMOVE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="CalcRemoveRule.html" title="class in org.apache.calcite.rel.rules">CalcRemoveRule</a></span> <span class="memberName">CALC_REMOVE</span></div> |
| <div class="block">Rule that removes a trivial <a href="../logical/LogicalCalc.html" title="class in org.apache.calcite.rel.logical"><code>LogicalCalc</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="CALC_REDUCE_DECIMALS">CALC_REDUCE_DECIMALS</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="ReduceDecimalsRule.html" title="class in org.apache.calcite.rel.rules">ReduceDecimalsRule</a></span> <span class="memberName">CALC_REDUCE_DECIMALS</span></div> |
| <div class="block">Rule that reduces operations on the DECIMAL type, such as casts or |
| arithmetic, into operations involving more primitive types such as BIGINT |
| and DOUBLE.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="CALC_REDUCE_EXPRESSIONS">CALC_REDUCE_EXPRESSIONS</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="ReduceExpressionsRule.CalcReduceExpressionsRule.html" title="class in org.apache.calcite.rel.rules">ReduceExpressionsRule.CalcReduceExpressionsRule</a></span> <span class="memberName">CALC_REDUCE_EXPRESSIONS</span></div> |
| <div class="block">Rule that reduces constants inside a <a href="../logical/LogicalCalc.html" title="class in org.apache.calcite.rel.logical"><code>LogicalCalc</code></a>.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#FILTER_REDUCE_EXPRESSIONS"><code>FILTER_REDUCE_EXPRESSIONS</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="CALC_SPLIT">CALC_SPLIT</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="CalcSplitRule.html" title="class in org.apache.calcite.rel.rules">CalcSplitRule</a></span> <span class="memberName">CALC_SPLIT</span></div> |
| <div class="block">Rule that converts a <a href="../core/Calc.html" title="class in org.apache.calcite.rel.core"><code>Calc</code></a> to a <a href="../core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> and |
| <a href="../core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="CALC_TO_WINDOW">CALC_TO_WINDOW</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="ProjectToWindowRule.CalcToWindowRule.html" title="class in org.apache.calcite.rel.rules">ProjectToWindowRule.CalcToWindowRule</a></span> <span class="memberName">CALC_TO_WINDOW</span></div> |
| <div class="block">Rule that transforms a <a href="../core/Calc.html" title="class in org.apache.calcite.rel.core"><code>Calc</code></a> |
| that contains windowed aggregates to a mixture of |
| <a href="../logical/LogicalWindow.html" title="class in org.apache.calcite.rel.logical"><code>LogicalWindow</code></a> and <code>Calc</code>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="COERCE_INPUTS">COERCE_INPUTS</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="CoerceInputsRule.html" title="class in org.apache.calcite.rel.rules">CoerceInputsRule</a></span> <span class="memberName">COERCE_INPUTS</span></div> |
| <div class="block">Rule that pre-casts inputs to a particular type. This can assist operator |
| implementations that impose requirements on their input types.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="EXCHANGE_REMOVE_CONSTANT_KEYS">EXCHANGE_REMOVE_CONSTANT_KEYS</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="ExchangeRemoveConstantKeysRule.html" title="class in org.apache.calcite.rel.rules">ExchangeRemoveConstantKeysRule</a></span> <span class="memberName">EXCHANGE_REMOVE_CONSTANT_KEYS</span></div> |
| <div class="block">Rule that removes constants inside a <a href="../logical/LogicalExchange.html" title="class in org.apache.calcite.rel.logical"><code>LogicalExchange</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="SORT_EXCHANGE_REMOVE_CONSTANT_KEYS">SORT_EXCHANGE_REMOVE_CONSTANT_KEYS</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="ExchangeRemoveConstantKeysRule.html" title="class in org.apache.calcite.rel.rules">ExchangeRemoveConstantKeysRule</a></span> <span class="memberName">SORT_EXCHANGE_REMOVE_CONSTANT_KEYS</span></div> |
| <div class="block">Rule that removes constants inside a <a href="../logical/LogicalSortExchange.html" title="class in org.apache.calcite.rel.logical"><code>LogicalSortExchange</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="FILTER_INTO_JOIN">FILTER_INTO_JOIN</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="FilterJoinRule.FilterIntoJoinRule.html" title="class in org.apache.calcite.rel.rules">FilterJoinRule.FilterIntoJoinRule</a></span> <span class="memberName">FILTER_INTO_JOIN</span></div> |
| <div class="block">Rule that tries to push filter expressions into a join |
| condition and into the inputs of the join.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="FILTER_INTO_JOIN_DUMB">FILTER_INTO_JOIN_DUMB</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="FilterJoinRule.FilterIntoJoinRule.html" title="class in org.apache.calcite.rel.rules">FilterJoinRule.FilterIntoJoinRule</a></span> <span class="memberName">FILTER_INTO_JOIN_DUMB</span></div> |
| <div class="block">Dumber version of <a href="#FILTER_INTO_JOIN"><code>FILTER_INTO_JOIN</code></a>. Not intended for production |
| use, but keeps some tests working for which <code>FILTER_INTO_JOIN</code> is too |
| smart.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="FILTER_MERGE">FILTER_MERGE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="FilterMergeRule.html" title="class in org.apache.calcite.rel.rules">FilterMergeRule</a></span> <span class="memberName">FILTER_MERGE</span></div> |
| <div class="block">Rule that combines two <a href="../logical/LogicalFilter.html" title="class in org.apache.calcite.rel.logical"><code>LogicalFilter</code></a>s.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="FILTER_CALC_MERGE">FILTER_CALC_MERGE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="FilterCalcMergeRule.html" title="class in org.apache.calcite.rel.rules">FilterCalcMergeRule</a></span> <span class="memberName">FILTER_CALC_MERGE</span></div> |
| <div class="block">Rule that merges a <a href="../core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a> and a <a href="../logical/LogicalCalc.html" title="class in org.apache.calcite.rel.logical"><code>LogicalCalc</code></a>. The |
| result is a <a href="../logical/LogicalCalc.html" title="class in org.apache.calcite.rel.logical"><code>LogicalCalc</code></a> whose filter condition is the logical AND |
| of the two.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#PROJECT_CALC_MERGE"><code>PROJECT_CALC_MERGE</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="FILTER_TO_CALC">FILTER_TO_CALC</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="FilterToCalcRule.html" title="class in org.apache.calcite.rel.rules">FilterToCalcRule</a></span> <span class="memberName">FILTER_TO_CALC</span></div> |
| <div class="block">Rule that converts a <a href="../logical/LogicalFilter.html" title="class in org.apache.calcite.rel.logical"><code>LogicalFilter</code></a> to a <a href="../logical/LogicalCalc.html" title="class in org.apache.calcite.rel.logical"><code>LogicalCalc</code></a>.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#PROJECT_TO_CALC"><code>PROJECT_TO_CALC</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="FILTER_AGGREGATE_TRANSPOSE">FILTER_AGGREGATE_TRANSPOSE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="FilterAggregateTransposeRule.html" title="class in org.apache.calcite.rel.rules">FilterAggregateTransposeRule</a></span> <span class="memberName">FILTER_AGGREGATE_TRANSPOSE</span></div> |
| <div class="block">Rule that pushes a <a href="../core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a> past an <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a>.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#AGGREGATE_FILTER_TRANSPOSE"><code>AGGREGATE_FILTER_TRANSPOSE</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="FILTER_PROJECT_TRANSPOSE">FILTER_PROJECT_TRANSPOSE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="FilterProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">FilterProjectTransposeRule</a></span> <span class="memberName">FILTER_PROJECT_TRANSPOSE</span></div> |
| <div class="block">The default instance of |
| <a href="FilterProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules"><code>FilterProjectTransposeRule</code></a>. |
| |
| <p>It does not allow a Filter to be pushed past the Project if |
| <a href="../../rex/RexUtil.html#containsCorrelation(org.apache.calcite.rex.RexNode)"><code>there is a correlation condition</code></a>) |
| anywhere in the Filter, since in some cases it can prevent a |
| <a href="../core/Correlate.html" title="class in org.apache.calcite.rel.core"><code>Correlate</code></a> from being de-correlated.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="FILTER_TABLE_FUNCTION_TRANSPOSE">FILTER_TABLE_FUNCTION_TRANSPOSE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="FilterTableFunctionTransposeRule.html" title="class in org.apache.calcite.rel.rules">FilterTableFunctionTransposeRule</a></span> <span class="memberName">FILTER_TABLE_FUNCTION_TRANSPOSE</span></div> |
| <div class="block">Rule that pushes a <a href="../logical/LogicalFilter.html" title="class in org.apache.calcite.rel.logical"><code>LogicalFilter</code></a> |
| past a <a href="../logical/LogicalTableFunctionScan.html" title="class in org.apache.calcite.rel.logical"><code>LogicalTableFunctionScan</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="FILTER_SCAN">FILTER_SCAN</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="FilterTableScanRule.html" title="class in org.apache.calcite.rel.rules">FilterTableScanRule</a></span> <span class="memberName">FILTER_SCAN</span></div> |
| <div class="block">Rule that matches a <a href="../core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a> on a <a href="../core/TableScan.html" title="class in org.apache.calcite.rel.core"><code>TableScan</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="FILTER_INTERPRETER_SCAN">FILTER_INTERPRETER_SCAN</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="FilterTableScanRule.html" title="class in org.apache.calcite.rel.rules">FilterTableScanRule</a></span> <span class="memberName">FILTER_INTERPRETER_SCAN</span></div> |
| <div class="block">Rule that matches a <a href="../core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a> on an |
| <a href="../../adapter/enumerable/EnumerableInterpreter.html" title="class in org.apache.calcite.adapter.enumerable"><code>EnumerableInterpreter</code></a> on a |
| <a href="../core/TableScan.html" title="class in org.apache.calcite.rel.core"><code>TableScan</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="FILTER_CORRELATE">FILTER_CORRELATE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="FilterCorrelateRule.html" title="class in org.apache.calcite.rel.rules">FilterCorrelateRule</a></span> <span class="memberName">FILTER_CORRELATE</span></div> |
| <div class="block">Rule that pushes a <a href="../core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a> above a <a href="../core/Correlate.html" title="class in org.apache.calcite.rel.core"><code>Correlate</code></a> into the |
| inputs of the <code>Correlate</code>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="FILTER_MULTI_JOIN_MERGE">FILTER_MULTI_JOIN_MERGE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="FilterMultiJoinMergeRule.html" title="class in org.apache.calcite.rel.rules">FilterMultiJoinMergeRule</a></span> <span class="memberName">FILTER_MULTI_JOIN_MERGE</span></div> |
| <div class="block">Rule that merges a <a href="../core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a> into a <a href="MultiJoin.html" title="class in org.apache.calcite.rel.rules"><code>MultiJoin</code></a>, |
| creating a richer <code>MultiJoin</code>.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#PROJECT_MULTI_JOIN_MERGE"><code>PROJECT_MULTI_JOIN_MERGE</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="FILTER_EXPAND_IS_NOT_DISTINCT_FROM">FILTER_EXPAND_IS_NOT_DISTINCT_FROM</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="FilterRemoveIsNotDistinctFromRule.html" title="class in org.apache.calcite.rel.rules">FilterRemoveIsNotDistinctFromRule</a></span> <span class="memberName">FILTER_EXPAND_IS_NOT_DISTINCT_FROM</span></div> |
| <div class="block">Rule that replaces <code>IS NOT DISTINCT FROM</code> |
| in a <a href="../core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a> with logically equivalent operations.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="FILTER_SET_OP_TRANSPOSE">FILTER_SET_OP_TRANSPOSE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="FilterSetOpTransposeRule.html" title="class in org.apache.calcite.rel.rules">FilterSetOpTransposeRule</a></span> <span class="memberName">FILTER_SET_OP_TRANSPOSE</span></div> |
| <div class="block">Rule that pushes a <a href="../core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a> past a <a href="../core/SetOp.html" title="class in org.apache.calcite.rel.core"><code>SetOp</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="FILTER_REDUCE_EXPRESSIONS">FILTER_REDUCE_EXPRESSIONS</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="ReduceExpressionsRule.FilterReduceExpressionsRule.html" title="class in org.apache.calcite.rel.rules">ReduceExpressionsRule.FilterReduceExpressionsRule</a></span> <span class="memberName">FILTER_REDUCE_EXPRESSIONS</span></div> |
| <div class="block">Rule that reduces constants inside a <a href="../logical/LogicalFilter.html" title="class in org.apache.calcite.rel.logical"><code>LogicalFilter</code></a>.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#JOIN_REDUCE_EXPRESSIONS"><code>JOIN_REDUCE_EXPRESSIONS</code></a>, |
| <a href="#PROJECT_REDUCE_EXPRESSIONS"><code>PROJECT_REDUCE_EXPRESSIONS</code></a>, |
| <a href="#CALC_REDUCE_EXPRESSIONS"><code>CALC_REDUCE_EXPRESSIONS</code></a>, |
| <a href="#WINDOW_REDUCE_EXPRESSIONS"><code>WINDOW_REDUCE_EXPRESSIONS</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="INTERSECT_MERGE">INTERSECT_MERGE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="UnionMergeRule.html" title="class in org.apache.calcite.rel.rules">UnionMergeRule</a></span> <span class="memberName">INTERSECT_MERGE</span></div> |
| <div class="block">Rule that flattens an <a href="../core/Intersect.html" title="class in org.apache.calcite.rel.core"><code>Intersect</code></a> on an <code>Intersect</code> |
| into a single <code>Intersect</code>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="INTERSECT_TO_DISTINCT">INTERSECT_TO_DISTINCT</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="IntersectToDistinctRule.html" title="class in org.apache.calcite.rel.rules">IntersectToDistinctRule</a></span> <span class="memberName">INTERSECT_TO_DISTINCT</span></div> |
| <div class="block">Rule that translates a distinct |
| <a href="../core/Intersect.html" title="class in org.apache.calcite.rel.core"><code>Intersect</code></a> into a group of operators |
| composed of <a href="../core/Union.html" title="class in org.apache.calcite.rel.core"><code>Union</code></a>, <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a>, etc.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="MATCH">MATCH</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="MatchRule.html" title="class in org.apache.calcite.rel.rules">MatchRule</a></span> <span class="memberName">MATCH</span></div> |
| <div class="block">Rule that converts a <a href="../logical/LogicalMatch.html" title="class in org.apache.calcite.rel.logical"><code>LogicalMatch</code></a> to the result of calling |
| <a href="../logical/LogicalMatch.html#copy(org.apache.calcite.plan.RelTraitSet,java.util.List)"><code>LogicalMatch.copy(org.apache.calcite.plan.RelTraitSet, java.util.List<org.apache.calcite.rel.RelNode>)</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="MINUS_MERGE">MINUS_MERGE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="UnionMergeRule.html" title="class in org.apache.calcite.rel.rules">UnionMergeRule</a></span> <span class="memberName">MINUS_MERGE</span></div> |
| <div class="block">Rule that flattens a <a href="../core/Minus.html" title="class in org.apache.calcite.rel.core"><code>Minus</code></a> on a <code>Minus</code> |
| into a single <code>Minus</code>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="PROJECT_AGGREGATE_MERGE">PROJECT_AGGREGATE_MERGE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="ProjectAggregateMergeRule.html" title="class in org.apache.calcite.rel.rules">ProjectAggregateMergeRule</a></span> <span class="memberName">PROJECT_AGGREGATE_MERGE</span></div> |
| <div class="block">Rule that matches a <a href="../core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> on an <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a>, |
| projecting away aggregate calls that are not used.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="PROJECT_CALC_MERGE">PROJECT_CALC_MERGE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="ProjectCalcMergeRule.html" title="class in org.apache.calcite.rel.rules">ProjectCalcMergeRule</a></span> <span class="memberName">PROJECT_CALC_MERGE</span></div> |
| <div class="block">Rule that merges a <a href="../logical/LogicalProject.html" title="class in org.apache.calcite.rel.logical"><code>LogicalProject</code></a> and a <a href="../logical/LogicalCalc.html" title="class in org.apache.calcite.rel.logical"><code>LogicalCalc</code></a>.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#FILTER_CALC_MERGE"><code>FILTER_CALC_MERGE</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="PROJECT_CORRELATE_TRANSPOSE">PROJECT_CORRELATE_TRANSPOSE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="ProjectCorrelateTransposeRule.html" title="class in org.apache.calcite.rel.rules">ProjectCorrelateTransposeRule</a></span> <span class="memberName">PROJECT_CORRELATE_TRANSPOSE</span></div> |
| <div class="block">Rule that matches a <a href="../core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> on a <a href="../core/Correlate.html" title="class in org.apache.calcite.rel.core"><code>Correlate</code></a> and |
| pushes the projections to the Correlate's left and right inputs.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="PROJECT_FILTER_TRANSPOSE">PROJECT_FILTER_TRANSPOSE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="ProjectFilterTransposeRule.html" title="class in org.apache.calcite.rel.rules">ProjectFilterTransposeRule</a></span> <span class="memberName">PROJECT_FILTER_TRANSPOSE</span></div> |
| <div class="block">Rule that pushes a <a href="../core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> past a <a href="../core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a>.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#PROJECT_FILTER_TRANSPOSE_WHOLE_PROJECT_EXPRESSIONS"><code>PROJECT_FILTER_TRANSPOSE_WHOLE_PROJECT_EXPRESSIONS</code></a>, |
| <a href="#PROJECT_FILTER_TRANSPOSE_WHOLE_EXPRESSIONS"><code>PROJECT_FILTER_TRANSPOSE_WHOLE_EXPRESSIONS</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="PROJECT_FILTER_TRANSPOSE_WHOLE_EXPRESSIONS">PROJECT_FILTER_TRANSPOSE_WHOLE_EXPRESSIONS</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="ProjectFilterTransposeRule.html" title="class in org.apache.calcite.rel.rules">ProjectFilterTransposeRule</a></span> <span class="memberName">PROJECT_FILTER_TRANSPOSE_WHOLE_EXPRESSIONS</span></div> |
| <div class="block">As <a href="#PROJECT_FILTER_TRANSPOSE"><code>PROJECT_FILTER_TRANSPOSE</code></a>, but pushes down project and filter |
| expressions whole, not field references.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="PROJECT_FILTER_TRANSPOSE_WHOLE_PROJECT_EXPRESSIONS">PROJECT_FILTER_TRANSPOSE_WHOLE_PROJECT_EXPRESSIONS</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="ProjectFilterTransposeRule.html" title="class in org.apache.calcite.rel.rules">ProjectFilterTransposeRule</a></span> <span class="memberName">PROJECT_FILTER_TRANSPOSE_WHOLE_PROJECT_EXPRESSIONS</span></div> |
| <div class="block">As <a href="#PROJECT_FILTER_TRANSPOSE"><code>PROJECT_FILTER_TRANSPOSE</code></a>, |
| pushes down field references for filters, |
| but pushes down project expressions whole.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="PROJECT_REDUCE_EXPRESSIONS">PROJECT_REDUCE_EXPRESSIONS</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="ReduceExpressionsRule.ProjectReduceExpressionsRule.html" title="class in org.apache.calcite.rel.rules">ReduceExpressionsRule.ProjectReduceExpressionsRule</a></span> <span class="memberName">PROJECT_REDUCE_EXPRESSIONS</span></div> |
| <div class="block">Rule that reduces constants inside a <a href="../logical/LogicalProject.html" title="class in org.apache.calcite.rel.logical"><code>LogicalProject</code></a>.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#FILTER_REDUCE_EXPRESSIONS"><code>FILTER_REDUCE_EXPRESSIONS</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="PROJECT_SUB_QUERY_TO_CORRELATE">PROJECT_SUB_QUERY_TO_CORRELATE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="SubQueryRemoveRule.html" title="class in org.apache.calcite.rel.rules">SubQueryRemoveRule</a></span> <span class="memberName">PROJECT_SUB_QUERY_TO_CORRELATE</span></div> |
| <div class="block">Rule that converts sub-queries from project expressions into |
| <a href="../core/Correlate.html" title="class in org.apache.calcite.rel.core"><code>Correlate</code></a> instances.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#FILTER_SUB_QUERY_TO_CORRELATE"><code>FILTER_SUB_QUERY_TO_CORRELATE</code></a>, |
| <a href="#JOIN_SUB_QUERY_TO_CORRELATE"><code>JOIN_SUB_QUERY_TO_CORRELATE</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="FILTER_SUB_QUERY_TO_CORRELATE">FILTER_SUB_QUERY_TO_CORRELATE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="SubQueryRemoveRule.html" title="class in org.apache.calcite.rel.rules">SubQueryRemoveRule</a></span> <span class="memberName">FILTER_SUB_QUERY_TO_CORRELATE</span></div> |
| <div class="block">Rule that converts a sub-queries from filter expressions into |
| <a href="../core/Correlate.html" title="class in org.apache.calcite.rel.core"><code>Correlate</code></a> instances.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#PROJECT_SUB_QUERY_TO_CORRELATE"><code>PROJECT_SUB_QUERY_TO_CORRELATE</code></a>, |
| <a href="#JOIN_SUB_QUERY_TO_CORRELATE"><code>JOIN_SUB_QUERY_TO_CORRELATE</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="JOIN_SUB_QUERY_TO_CORRELATE">JOIN_SUB_QUERY_TO_CORRELATE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="SubQueryRemoveRule.html" title="class in org.apache.calcite.rel.rules">SubQueryRemoveRule</a></span> <span class="memberName">JOIN_SUB_QUERY_TO_CORRELATE</span></div> |
| <div class="block">Rule that converts sub-queries from join expressions into |
| <a href="../core/Correlate.html" title="class in org.apache.calcite.rel.core"><code>Correlate</code></a> instances.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#PROJECT_SUB_QUERY_TO_CORRELATE"><code>PROJECT_SUB_QUERY_TO_CORRELATE</code></a>, |
| <a href="#FILTER_SUB_QUERY_TO_CORRELATE"><code>FILTER_SUB_QUERY_TO_CORRELATE</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="PROJECT_TO_LOGICAL_PROJECT_AND_WINDOW">PROJECT_TO_LOGICAL_PROJECT_AND_WINDOW</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="ProjectToWindowRule.ProjectToLogicalProjectAndWindowRule.html" title="class in org.apache.calcite.rel.rules">ProjectToWindowRule.ProjectToLogicalProjectAndWindowRule</a></span> <span class="memberName">PROJECT_TO_LOGICAL_PROJECT_AND_WINDOW</span></div> |
| <div class="block">Rule that transforms a <a href="../core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> |
| into a mixture of <code>LogicalProject</code> |
| and <a href="../logical/LogicalWindow.html" title="class in org.apache.calcite.rel.logical"><code>LogicalWindow</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="PROJECT_TO_SEMI_JOIN">PROJECT_TO_SEMI_JOIN</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="SemiJoinRule.ProjectToSemiJoinRule.html" title="class in org.apache.calcite.rel.rules">SemiJoinRule.ProjectToSemiJoinRule</a></span> <span class="memberName">PROJECT_TO_SEMI_JOIN</span></div> |
| <div class="block">Rule that creates a <a href="../core/Join.html#isSemiJoin()"><code>semi-join</code></a> from a |
| <a href="../core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> on top of a <a href="../core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> with an <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> as its |
| right input.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#JOIN_TO_SEMI_JOIN"><code>JOIN_TO_SEMI_JOIN</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="PROJECT_JOIN_JOIN_REMOVE">PROJECT_JOIN_JOIN_REMOVE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="ProjectJoinJoinRemoveRule.html" title="class in org.apache.calcite.rel.rules">ProjectJoinJoinRemoveRule</a></span> <span class="memberName">PROJECT_JOIN_JOIN_REMOVE</span></div> |
| <div class="block">Rule that matches an <a href="../core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> on a <a href="../core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> and removes the |
| left input of the join provided that the left input is also a left join.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="PROJECT_JOIN_REMOVE">PROJECT_JOIN_REMOVE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="ProjectJoinRemoveRule.html" title="class in org.apache.calcite.rel.rules">ProjectJoinRemoveRule</a></span> <span class="memberName">PROJECT_JOIN_REMOVE</span></div> |
| <div class="block">Rule that matches an <a href="../core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> on a <a href="../core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> and removes the |
| join provided that the join is a left join or right join and the join keys |
| are unique.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="PROJECT_JOIN_TRANSPOSE">PROJECT_JOIN_TRANSPOSE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="ProjectJoinTransposeRule.html" title="class in org.apache.calcite.rel.rules">ProjectJoinTransposeRule</a></span> <span class="memberName">PROJECT_JOIN_TRANSPOSE</span></div> |
| <div class="block">Rule that pushes a <a href="../logical/LogicalProject.html" title="class in org.apache.calcite.rel.logical"><code>LogicalProject</code></a> past a <a href="../logical/LogicalJoin.html" title="class in org.apache.calcite.rel.logical"><code>LogicalJoin</code></a> |
| by splitting the projection into a projection on top of each child of |
| the join.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="PROJECT_MERGE">PROJECT_MERGE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="ProjectMergeRule.html" title="class in org.apache.calcite.rel.rules">ProjectMergeRule</a></span> <span class="memberName">PROJECT_MERGE</span></div> |
| <div class="block">Rule that merges a <a href="../core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> into another <a href="../core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a>, |
| provided the projects are not projecting identical sets of input |
| references.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="PROJECT_SET_OP_TRANSPOSE">PROJECT_SET_OP_TRANSPOSE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="ProjectSetOpTransposeRule.html" title="class in org.apache.calcite.rel.rules">ProjectSetOpTransposeRule</a></span> <span class="memberName">PROJECT_SET_OP_TRANSPOSE</span></div> |
| <div class="block">Rule that pushes a <a href="../logical/LogicalProject.html" title="class in org.apache.calcite.rel.logical"><code>LogicalProject</code></a> past a <a href="../core/SetOp.html" title="class in org.apache.calcite.rel.core"><code>SetOp</code></a>. |
| |
| <p>The children of the <code>SetOp</code> will project |
| only the <a href="../../rex/RexInputRef.html" title="class in org.apache.calcite.rex"><code>RexInputRef</code></a>s referenced in the original |
| <code>LogicalProject</code>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="PROJECT_MULTI_JOIN_MERGE">PROJECT_MULTI_JOIN_MERGE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="ProjectMultiJoinMergeRule.html" title="class in org.apache.calcite.rel.rules">ProjectMultiJoinMergeRule</a></span> <span class="memberName">PROJECT_MULTI_JOIN_MERGE</span></div> |
| <div class="block">Rule that pushes a <a href="../core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> into a <a href="MultiJoin.html" title="class in org.apache.calcite.rel.rules"><code>MultiJoin</code></a>, |
| creating a richer <code>MultiJoin</code>.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#FILTER_MULTI_JOIN_MERGE"><code>FILTER_MULTI_JOIN_MERGE</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="PROJECT_REMOVE">PROJECT_REMOVE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="ProjectRemoveRule.html" title="class in org.apache.calcite.rel.rules">ProjectRemoveRule</a></span> <span class="memberName">PROJECT_REMOVE</span></div> |
| <div class="block">Rule that, given a <a href="../core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> node that merely returns its input, |
| converts the node into its input.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="PROJECT_TABLE_SCAN">PROJECT_TABLE_SCAN</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="ProjectTableScanRule.html" title="class in org.apache.calcite.rel.rules">ProjectTableScanRule</a></span> <span class="memberName">PROJECT_TABLE_SCAN</span></div> |
| <div class="block">Rule that converts a <a href="../core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> on a <a href="../core/TableScan.html" title="class in org.apache.calcite.rel.core"><code>TableScan</code></a> |
| of a <a href="../../schema/ProjectableFilterableTable.html" title="interface in org.apache.calcite.schema"><code>ProjectableFilterableTable</code></a> |
| to a <a href="../../interpreter/Bindables.BindableTableScan.html" title="class in org.apache.calcite.interpreter"><code>Bindables.BindableTableScan</code></a>.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#PROJECT_INTERPRETER_TABLE_SCAN"><code>PROJECT_INTERPRETER_TABLE_SCAN</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="PROJECT_INTERPRETER_TABLE_SCAN">PROJECT_INTERPRETER_TABLE_SCAN</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="ProjectTableScanRule.html" title="class in org.apache.calcite.rel.rules">ProjectTableScanRule</a></span> <span class="memberName">PROJECT_INTERPRETER_TABLE_SCAN</span></div> |
| <div class="block">As <a href="#PROJECT_TABLE_SCAN"><code>PROJECT_TABLE_SCAN</code></a>, but with an intervening |
| <a href="../../adapter/enumerable/EnumerableInterpreter.html" title="class in org.apache.calcite.adapter.enumerable"><code>EnumerableInterpreter</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="PROJECT_TO_CALC">PROJECT_TO_CALC</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="ProjectToCalcRule.html" title="class in org.apache.calcite.rel.rules">ProjectToCalcRule</a></span> <span class="memberName">PROJECT_TO_CALC</span></div> |
| <div class="block">Rule that converts a <a href="../logical/LogicalProject.html" title="class in org.apache.calcite.rel.logical"><code>LogicalProject</code></a> to a <a href="../logical/LogicalCalc.html" title="class in org.apache.calcite.rel.logical"><code>LogicalCalc</code></a>.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#FILTER_TO_CALC"><code>FILTER_TO_CALC</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="PROJECT_WINDOW_TRANSPOSE">PROJECT_WINDOW_TRANSPOSE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="ProjectWindowTransposeRule.html" title="class in org.apache.calcite.rel.rules">ProjectWindowTransposeRule</a></span> <span class="memberName">PROJECT_WINDOW_TRANSPOSE</span></div> |
| <div class="block">Rule that pushes a <a href="../logical/LogicalProject.html" title="class in org.apache.calcite.rel.logical"><code>LogicalProject</code></a> past a <a href="../logical/LogicalWindow.html" title="class in org.apache.calcite.rel.logical"><code>LogicalWindow</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="JOIN_CONDITION_PUSH">JOIN_CONDITION_PUSH</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="FilterJoinRule.JoinConditionPushRule.html" title="class in org.apache.calcite.rel.rules">FilterJoinRule.JoinConditionPushRule</a></span> <span class="memberName">JOIN_CONDITION_PUSH</span></div> |
| <div class="block">Rule that pushes predicates in a Join into the inputs to the join.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="JOIN_ADD_REDUNDANT_SEMI_JOIN">JOIN_ADD_REDUNDANT_SEMI_JOIN</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="JoinAddRedundantSemiJoinRule.html" title="class in org.apache.calcite.rel.rules">JoinAddRedundantSemiJoinRule</a></span> <span class="memberName">JOIN_ADD_REDUNDANT_SEMI_JOIN</span></div> |
| <div class="block">Rule to add a semi-join into a <a href="../core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="JOIN_ASSOCIATE">JOIN_ASSOCIATE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="JoinAssociateRule.html" title="class in org.apache.calcite.rel.rules">JoinAssociateRule</a></span> <span class="memberName">JOIN_ASSOCIATE</span></div> |
| <div class="block">Rule that changes a join based on the associativity rule, |
| ((a JOIN b) JOIN c) → (a JOIN (b JOIN c)).</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="JOIN_COMMUTE">JOIN_COMMUTE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="JoinCommuteRule.html" title="class in org.apache.calcite.rel.rules">JoinCommuteRule</a></span> <span class="memberName">JOIN_COMMUTE</span></div> |
| <div class="block">Rule that permutes the inputs to an inner <a href="../core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="JOIN_COMMUTE_OUTER">JOIN_COMMUTE_OUTER</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="JoinCommuteRule.html" title="class in org.apache.calcite.rel.rules">JoinCommuteRule</a></span> <span class="memberName">JOIN_COMMUTE_OUTER</span></div> |
| <div class="block">As <a href="#JOIN_COMMUTE"><code>JOIN_COMMUTE</code></a> but swaps outer joins as well as inner joins.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="JOIN_EXTRACT_FILTER">JOIN_EXTRACT_FILTER</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="JoinExtractFilterRule.html" title="class in org.apache.calcite.rel.rules">JoinExtractFilterRule</a></span> <span class="memberName">JOIN_EXTRACT_FILTER</span></div> |
| <div class="block">Rule to convert an |
| <a href="../logical/LogicalJoin.html" title="class in org.apache.calcite.rel.logical"><code>inner join</code></a> to a |
| <a href="../logical/LogicalFilter.html" title="class in org.apache.calcite.rel.logical"><code>filter</code></a> on top of a |
| <a href="../logical/LogicalJoin.html" title="class in org.apache.calcite.rel.logical"><code>cartesian inner join</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="JOIN_PROJECT_BOTH_TRANSPOSE">JOIN_PROJECT_BOTH_TRANSPOSE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="JoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">JoinProjectTransposeRule</a></span> <span class="memberName">JOIN_PROJECT_BOTH_TRANSPOSE</span></div> |
| <div class="block">Rule that matches a <a href="../logical/LogicalJoin.html" title="class in org.apache.calcite.rel.logical"><code>LogicalJoin</code></a> whose inputs are |
| <a href="../logical/LogicalProject.html" title="class in org.apache.calcite.rel.logical"><code>LogicalProject</code></a>s, and pulls the project expressions up.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="JOIN_PROJECT_LEFT_TRANSPOSE">JOIN_PROJECT_LEFT_TRANSPOSE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="JoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">JoinProjectTransposeRule</a></span> <span class="memberName">JOIN_PROJECT_LEFT_TRANSPOSE</span></div> |
| <div class="block">As <a href="#JOIN_PROJECT_BOTH_TRANSPOSE"><code>JOIN_PROJECT_BOTH_TRANSPOSE</code></a> but only the left input is |
| a <a href="../logical/LogicalProject.html" title="class in org.apache.calcite.rel.logical"><code>LogicalProject</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="JOIN_PROJECT_RIGHT_TRANSPOSE">JOIN_PROJECT_RIGHT_TRANSPOSE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="JoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">JoinProjectTransposeRule</a></span> <span class="memberName">JOIN_PROJECT_RIGHT_TRANSPOSE</span></div> |
| <div class="block">As <a href="#JOIN_PROJECT_BOTH_TRANSPOSE"><code>JOIN_PROJECT_BOTH_TRANSPOSE</code></a> but only the right input is |
| a <a href="../logical/LogicalProject.html" title="class in org.apache.calcite.rel.logical"><code>LogicalProject</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="JOIN_PROJECT_BOTH_TRANSPOSE_INCLUDE_OUTER">JOIN_PROJECT_BOTH_TRANSPOSE_INCLUDE_OUTER</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="JoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">JoinProjectTransposeRule</a></span> <span class="memberName">JOIN_PROJECT_BOTH_TRANSPOSE_INCLUDE_OUTER</span></div> |
| <div class="block">As <a href="#JOIN_PROJECT_BOTH_TRANSPOSE"><code>JOIN_PROJECT_BOTH_TRANSPOSE</code></a> but match outer as well as |
| inner join.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="JOIN_PROJECT_LEFT_TRANSPOSE_INCLUDE_OUTER">JOIN_PROJECT_LEFT_TRANSPOSE_INCLUDE_OUTER</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="JoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">JoinProjectTransposeRule</a></span> <span class="memberName">JOIN_PROJECT_LEFT_TRANSPOSE_INCLUDE_OUTER</span></div> |
| <div class="block">As <a href="#JOIN_PROJECT_LEFT_TRANSPOSE"><code>JOIN_PROJECT_LEFT_TRANSPOSE</code></a> but match outer as well as |
| inner join.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="JOIN_PROJECT_RIGHT_TRANSPOSE_INCLUDE_OUTER">JOIN_PROJECT_RIGHT_TRANSPOSE_INCLUDE_OUTER</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="JoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">JoinProjectTransposeRule</a></span> <span class="memberName">JOIN_PROJECT_RIGHT_TRANSPOSE_INCLUDE_OUTER</span></div> |
| <div class="block">As <a href="#JOIN_PROJECT_RIGHT_TRANSPOSE"><code>JOIN_PROJECT_RIGHT_TRANSPOSE</code></a> but match outer as well as |
| inner join.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="JOIN_PUSH_EXPRESSIONS">JOIN_PUSH_EXPRESSIONS</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="JoinPushExpressionsRule.html" title="class in org.apache.calcite.rel.rules">JoinPushExpressionsRule</a></span> <span class="memberName">JOIN_PUSH_EXPRESSIONS</span></div> |
| <div class="block">Rule that matches a <a href="../core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> and pushes down expressions on either |
| side of "equal" conditions.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="JOIN_PUSH_TRANSITIVE_PREDICATES">JOIN_PUSH_TRANSITIVE_PREDICATES</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="JoinPushTransitivePredicatesRule.html" title="class in org.apache.calcite.rel.rules">JoinPushTransitivePredicatesRule</a></span> <span class="memberName">JOIN_PUSH_TRANSITIVE_PREDICATES</span></div> |
| <div class="block">Rule that infers predicates from on a <a href="../core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> and creates |
| <a href="../core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a>s if those predicates can be pushed to its inputs.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="JOIN_REDUCE_EXPRESSIONS">JOIN_REDUCE_EXPRESSIONS</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="ReduceExpressionsRule.JoinReduceExpressionsRule.html" title="class in org.apache.calcite.rel.rules">ReduceExpressionsRule.JoinReduceExpressionsRule</a></span> <span class="memberName">JOIN_REDUCE_EXPRESSIONS</span></div> |
| <div class="block">Rule that reduces constants inside a <a href="../core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a>.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#FILTER_REDUCE_EXPRESSIONS"><code>FILTER_REDUCE_EXPRESSIONS</code></a>, |
| <a href="#PROJECT_REDUCE_EXPRESSIONS"><code>PROJECT_REDUCE_EXPRESSIONS</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="JOIN_TO_CORRELATE">JOIN_TO_CORRELATE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="JoinToCorrelateRule.html" title="class in org.apache.calcite.rel.rules">JoinToCorrelateRule</a></span> <span class="memberName">JOIN_TO_CORRELATE</span></div> |
| <div class="block">Rule that converts a <a href="../logical/LogicalJoin.html" title="class in org.apache.calcite.rel.logical"><code>LogicalJoin</code></a> |
| into a <a href="../logical/LogicalCorrelate.html" title="class in org.apache.calcite.rel.logical"><code>LogicalCorrelate</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="JOIN_TO_MULTI_JOIN">JOIN_TO_MULTI_JOIN</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="JoinToMultiJoinRule.html" title="class in org.apache.calcite.rel.rules">JoinToMultiJoinRule</a></span> <span class="memberName">JOIN_TO_MULTI_JOIN</span></div> |
| <div class="block">Rule that flattens a tree of <a href="../logical/LogicalJoin.html" title="class in org.apache.calcite.rel.logical"><code>LogicalJoin</code></a>s |
| into a single <a href="MultiJoin.html" title="class in org.apache.calcite.rel.rules"><code>MultiJoin</code></a> with N inputs.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="JOIN_TO_SEMI_JOIN">JOIN_TO_SEMI_JOIN</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="SemiJoinRule.JoinToSemiJoinRule.html" title="class in org.apache.calcite.rel.rules">SemiJoinRule.JoinToSemiJoinRule</a></span> <span class="memberName">JOIN_TO_SEMI_JOIN</span></div> |
| <div class="block">Rule that creates a <a href="../core/Join.html#isSemiJoin()"><code>semi-join</code></a> from a |
| <a href="../core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> with an empty <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> as its right input.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#PROJECT_TO_SEMI_JOIN"><code>PROJECT_TO_SEMI_JOIN</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="JOIN_LEFT_UNION_TRANSPOSE">JOIN_LEFT_UNION_TRANSPOSE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="JoinUnionTransposeRule.html" title="class in org.apache.calcite.rel.rules">JoinUnionTransposeRule</a></span> <span class="memberName">JOIN_LEFT_UNION_TRANSPOSE</span></div> |
| <div class="block">Rule that pushes a <a href="../core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> |
| past a non-distinct <a href="../core/Union.html" title="class in org.apache.calcite.rel.core"><code>Union</code></a> as its left input.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="JOIN_RIGHT_UNION_TRANSPOSE">JOIN_RIGHT_UNION_TRANSPOSE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="JoinUnionTransposeRule.html" title="class in org.apache.calcite.rel.rules">JoinUnionTransposeRule</a></span> <span class="memberName">JOIN_RIGHT_UNION_TRANSPOSE</span></div> |
| <div class="block">Rule that pushes a <a href="../core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> |
| past a non-distinct <a href="../core/Union.html" title="class in org.apache.calcite.rel.core"><code>Union</code></a> as its right input.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="MULTI_JOIN_OPTIMIZE">MULTI_JOIN_OPTIMIZE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="LoptOptimizeJoinRule.html" title="class in org.apache.calcite.rel.rules">LoptOptimizeJoinRule</a></span> <span class="memberName">MULTI_JOIN_OPTIMIZE</span></div> |
| <div class="block">Rule that re-orders a <a href="../core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> using a heuristic planner. |
| |
| <p>It is triggered by the pattern |
| <a href="../logical/LogicalProject.html" title="class in org.apache.calcite.rel.logical"><code>LogicalProject</code></a> (<a href="MultiJoin.html" title="class in org.apache.calcite.rel.rules"><code>MultiJoin</code></a>).</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#JOIN_TO_MULTI_JOIN"><code>JOIN_TO_MULTI_JOIN</code></a>, |
| <a href="#MULTI_JOIN_OPTIMIZE_BUSHY"><code>MULTI_JOIN_OPTIMIZE_BUSHY</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="MULTI_JOIN_OPTIMIZE_BUSHY">MULTI_JOIN_OPTIMIZE_BUSHY</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="MultiJoinOptimizeBushyRule.html" title="class in org.apache.calcite.rel.rules">MultiJoinOptimizeBushyRule</a></span> <span class="memberName">MULTI_JOIN_OPTIMIZE_BUSHY</span></div> |
| <div class="block">Rule that finds an approximately optimal ordering for join operators |
| using a heuristic algorithm and can handle bushy joins. |
| |
| <p>It is triggered by the pattern |
| <a href="../logical/LogicalProject.html" title="class in org.apache.calcite.rel.logical"><code>LogicalProject</code></a> (<a href="MultiJoin.html" title="class in org.apache.calcite.rel.rules"><code>MultiJoin</code></a>).</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#MULTI_JOIN_OPTIMIZE"><code>MULTI_JOIN_OPTIMIZE</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="MULTI_JOIN_BOTH_PROJECT">MULTI_JOIN_BOTH_PROJECT</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="MultiJoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">MultiJoinProjectTransposeRule</a></span> <span class="memberName">MULTI_JOIN_BOTH_PROJECT</span></div> |
| <div class="block">Rule that matches a <a href="../logical/LogicalJoin.html" title="class in org.apache.calcite.rel.logical"><code>LogicalJoin</code></a> whose inputs are both a |
| <a href="MultiJoin.html" title="class in org.apache.calcite.rel.rules"><code>MultiJoin</code></a> with intervening <a href="../logical/LogicalProject.html" title="class in org.apache.calcite.rel.logical"><code>LogicalProject</code></a>s, |
| and pulls the Projects up above the Join.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="MULTI_JOIN_LEFT_PROJECT">MULTI_JOIN_LEFT_PROJECT</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="MultiJoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">MultiJoinProjectTransposeRule</a></span> <span class="memberName">MULTI_JOIN_LEFT_PROJECT</span></div> |
| <div class="block">As <a href="#MULTI_JOIN_BOTH_PROJECT"><code>MULTI_JOIN_BOTH_PROJECT</code></a> but only the left input has |
| an intervening Project.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="MULTI_JOIN_RIGHT_PROJECT">MULTI_JOIN_RIGHT_PROJECT</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="MultiJoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">MultiJoinProjectTransposeRule</a></span> <span class="memberName">MULTI_JOIN_RIGHT_PROJECT</span></div> |
| <div class="block">As <a href="#MULTI_JOIN_BOTH_PROJECT"><code>MULTI_JOIN_BOTH_PROJECT</code></a> but only the right input has |
| an intervening Project.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="SEMI_JOIN_FILTER_TRANSPOSE">SEMI_JOIN_FILTER_TRANSPOSE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="SemiJoinFilterTransposeRule.html" title="class in org.apache.calcite.rel.rules">SemiJoinFilterTransposeRule</a></span> <span class="memberName">SEMI_JOIN_FILTER_TRANSPOSE</span></div> |
| <div class="block">Rule that pushes a <a href="../core/Join.html#isSemiJoin()"><code>semi-join</code></a> down in a tree past |
| a <a href="../core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a>.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#SEMI_JOIN_PROJECT_TRANSPOSE"><code>SEMI_JOIN_PROJECT_TRANSPOSE</code></a>, |
| <a href="#SEMI_JOIN_JOIN_TRANSPOSE"><code>SEMI_JOIN_JOIN_TRANSPOSE</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="SEMI_JOIN_PROJECT_TRANSPOSE">SEMI_JOIN_PROJECT_TRANSPOSE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="SemiJoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">SemiJoinProjectTransposeRule</a></span> <span class="memberName">SEMI_JOIN_PROJECT_TRANSPOSE</span></div> |
| <div class="block">Rule that pushes a <a href="../core/Join.html#isSemiJoin()"><code>semi-join</code></a> down in a tree past |
| a <a href="../core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a>.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#SEMI_JOIN_FILTER_TRANSPOSE"><code>SEMI_JOIN_FILTER_TRANSPOSE</code></a>, |
| <a href="#SEMI_JOIN_JOIN_TRANSPOSE"><code>SEMI_JOIN_JOIN_TRANSPOSE</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="SEMI_JOIN_JOIN_TRANSPOSE">SEMI_JOIN_JOIN_TRANSPOSE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="SemiJoinJoinTransposeRule.html" title="class in org.apache.calcite.rel.rules">SemiJoinJoinTransposeRule</a></span> <span class="memberName">SEMI_JOIN_JOIN_TRANSPOSE</span></div> |
| <div class="block">Rule that pushes a <a href="../core/Join.html#isSemiJoin()"><code>semi-join</code></a> down in a tree past a |
| <a href="../core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a>.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#SEMI_JOIN_FILTER_TRANSPOSE"><code>SEMI_JOIN_FILTER_TRANSPOSE</code></a>, |
| <a href="#SEMI_JOIN_PROJECT_TRANSPOSE"><code>SEMI_JOIN_PROJECT_TRANSPOSE</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="SEMI_JOIN_REMOVE">SEMI_JOIN_REMOVE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="SemiJoinRemoveRule.html" title="class in org.apache.calcite.rel.rules">SemiJoinRemoveRule</a></span> <span class="memberName">SEMI_JOIN_REMOVE</span></div> |
| <div class="block">Rule that removes a <a href="../core/Join.html#isSemiJoin()"><code>semi-join</code></a> from a join tree.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="SORT_UNION_TRANSPOSE">SORT_UNION_TRANSPOSE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="SortUnionTransposeRule.html" title="class in org.apache.calcite.rel.rules">SortUnionTransposeRule</a></span> <span class="memberName">SORT_UNION_TRANSPOSE</span></div> |
| <div class="block">Rule that pushes a <a href="../core/Sort.html" title="class in org.apache.calcite.rel.core"><code>Sort</code></a> past a <a href="../core/Union.html" title="class in org.apache.calcite.rel.core"><code>Union</code></a>. |
| |
| <p>This rule instance is for a Union implementation that does not preserve |
| the ordering of its inputs. Thus, it makes no sense to match this rule |
| if the Sort does not have a limit, i.e., <a href="../core/Sort.html#fetch"><code>Sort.fetch</code></a> is null.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#SORT_UNION_TRANSPOSE_MATCH_NULL_FETCH"><code>SORT_UNION_TRANSPOSE_MATCH_NULL_FETCH</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="SORT_UNION_TRANSPOSE_MATCH_NULL_FETCH">SORT_UNION_TRANSPOSE_MATCH_NULL_FETCH</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="SortUnionTransposeRule.html" title="class in org.apache.calcite.rel.rules">SortUnionTransposeRule</a></span> <span class="memberName">SORT_UNION_TRANSPOSE_MATCH_NULL_FETCH</span></div> |
| <div class="block">As <a href="#SORT_UNION_TRANSPOSE"><code>SORT_UNION_TRANSPOSE</code></a>, but for a Union implementation that |
| preserves the ordering of its inputs. It is still worth applying this rule |
| even if the Sort does not have a limit, for the merge of already sorted |
| inputs that the Union can do is usually cheap.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="SORT_JOIN_COPY">SORT_JOIN_COPY</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="SortJoinCopyRule.html" title="class in org.apache.calcite.rel.rules">SortJoinCopyRule</a></span> <span class="memberName">SORT_JOIN_COPY</span></div> |
| <div class="block">Rule that copies a <a href="../core/Sort.html" title="class in org.apache.calcite.rel.core"><code>Sort</code></a> past a <a href="../core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> without its limit and |
| offset. The original <a href="../core/Sort.html" title="class in org.apache.calcite.rel.core"><code>Sort</code></a> is preserved but can potentially be |
| removed by <a href="#SORT_REMOVE"><code>SORT_REMOVE</code></a> if redundant.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="SORT_REMOVE">SORT_REMOVE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="SortRemoveRule.html" title="class in org.apache.calcite.rel.rules">SortRemoveRule</a></span> <span class="memberName">SORT_REMOVE</span></div> |
| <div class="block">Rule that removes a <a href="../core/Sort.html" title="class in org.apache.calcite.rel.core"><code>Sort</code></a> if its input is already sorted.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="SORT_REMOVE_CONSTANT_KEYS">SORT_REMOVE_CONSTANT_KEYS</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="SortRemoveConstantKeysRule.html" title="class in org.apache.calcite.rel.rules">SortRemoveConstantKeysRule</a></span> <span class="memberName">SORT_REMOVE_CONSTANT_KEYS</span></div> |
| <div class="block">Rule that removes keys from a <a href="../core/Sort.html" title="class in org.apache.calcite.rel.core"><code>Sort</code></a> |
| if those keys are known to be constant, or removes the entire Sort if all |
| keys are constant.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="SORT_JOIN_TRANSPOSE">SORT_JOIN_TRANSPOSE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="SortJoinTransposeRule.html" title="class in org.apache.calcite.rel.rules">SortJoinTransposeRule</a></span> <span class="memberName">SORT_JOIN_TRANSPOSE</span></div> |
| <div class="block">Rule that pushes a <a href="../core/Sort.html" title="class in org.apache.calcite.rel.core"><code>Sort</code></a> past a <a href="../core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="SORT_PROJECT_TRANSPOSE">SORT_PROJECT_TRANSPOSE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="SortProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">SortProjectTransposeRule</a></span> <span class="memberName">SORT_PROJECT_TRANSPOSE</span></div> |
| <div class="block">Rule that pushes a <a href="../core/Sort.html" title="class in org.apache.calcite.rel.core"><code>Sort</code></a> past a <a href="../core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="UNION_MERGE">UNION_MERGE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="UnionMergeRule.html" title="class in org.apache.calcite.rel.rules">UnionMergeRule</a></span> <span class="memberName">UNION_MERGE</span></div> |
| <div class="block">Rule that flattens a <a href="../core/Union.html" title="class in org.apache.calcite.rel.core"><code>Union</code></a> on a <code>Union</code> |
| into a single <code>Union</code>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="UNION_REMOVE">UNION_REMOVE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="UnionEliminatorRule.html" title="class in org.apache.calcite.rel.rules">UnionEliminatorRule</a></span> <span class="memberName">UNION_REMOVE</span></div> |
| <div class="block">Rule that removes a <a href="../core/Union.html" title="class in org.apache.calcite.rel.core"><code>Union</code></a> if it has only one input.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="PruneEmptyRules.html#UNION_INSTANCE"><code>PruneEmptyRules.UNION_INSTANCE</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="UNION_PULL_UP_CONSTANTS">UNION_PULL_UP_CONSTANTS</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="UnionPullUpConstantsRule.html" title="class in org.apache.calcite.rel.rules">UnionPullUpConstantsRule</a></span> <span class="memberName">UNION_PULL_UP_CONSTANTS</span></div> |
| <div class="block">Rule that pulls up constants through a Union operator.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="UNION_TO_DISTINCT">UNION_TO_DISTINCT</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="UnionToDistinctRule.html" title="class in org.apache.calcite.rel.rules">UnionToDistinctRule</a></span> <span class="memberName">UNION_TO_DISTINCT</span></div> |
| <div class="block">Rule that translates a distinct <a href="../core/Union.html" title="class in org.apache.calcite.rel.core"><code>Union</code></a> |
| (<code>all</code> = <code>false</code>) |
| into an <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> on top of a non-distinct <a href="../core/Union.html" title="class in org.apache.calcite.rel.core"><code>Union</code></a> |
| (<code>all</code> = <code>true</code>).</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="AGGREGATE_VALUES">AGGREGATE_VALUES</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="AggregateValuesRule.html" title="class in org.apache.calcite.rel.rules">AggregateValuesRule</a></span> <span class="memberName">AGGREGATE_VALUES</span></div> |
| <div class="block">Rule that applies an <a href="../core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> to a <a href="../core/Values.html" title="class in org.apache.calcite.rel.core"><code>Values</code></a> (currently just |
| an empty <code>Values</code>).</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="FILTER_VALUES_MERGE">FILTER_VALUES_MERGE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="ValuesReduceRule.html" title="class in org.apache.calcite.rel.rules">ValuesReduceRule</a></span> <span class="memberName">FILTER_VALUES_MERGE</span></div> |
| <div class="block">Rule that merges a <a href="../core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a> onto an underlying |
| <a href="../logical/LogicalValues.html" title="class in org.apache.calcite.rel.logical"><code>LogicalValues</code></a>, |
| resulting in a <code>Values</code> with potentially fewer rows.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="PROJECT_VALUES_MERGE">PROJECT_VALUES_MERGE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="ValuesReduceRule.html" title="class in org.apache.calcite.rel.rules">ValuesReduceRule</a></span> <span class="memberName">PROJECT_VALUES_MERGE</span></div> |
| <div class="block">Rule that merges a <a href="../core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> onto an underlying |
| <a href="../logical/LogicalValues.html" title="class in org.apache.calcite.rel.logical"><code>LogicalValues</code></a>, |
| resulting in a <code>Values</code> with different columns.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="PROJECT_FILTER_VALUES_MERGE">PROJECT_FILTER_VALUES_MERGE</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="ValuesReduceRule.html" title="class in org.apache.calcite.rel.rules">ValuesReduceRule</a></span> <span class="memberName">PROJECT_FILTER_VALUES_MERGE</span></div> |
| <div class="block">Rule that merges a <a href="../core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> |
| on top of a <a href="../core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a> onto an underlying |
| <a href="../logical/LogicalValues.html" title="class in org.apache.calcite.rel.logical"><code>LogicalValues</code></a>, |
| resulting in a <code>Values</code> with different columns |
| and potentially fewer rows.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="WINDOW_REDUCE_EXPRESSIONS">WINDOW_REDUCE_EXPRESSIONS</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType"><a href="ReduceExpressionsRule.WindowReduceExpressionsRule.html" title="class in org.apache.calcite.rel.rules">ReduceExpressionsRule.WindowReduceExpressionsRule</a></span> <span class="memberName">WINDOW_REDUCE_EXPRESSIONS</span></div> |
| <div class="block">Rule that reduces constants inside a <a href="../logical/LogicalWindow.html" title="class in org.apache.calcite.rel.logical"><code>LogicalWindow</code></a>.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#FILTER_REDUCE_EXPRESSIONS"><code>FILTER_REDUCE_EXPRESSIONS</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| </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 class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage"><b>Apache Calcite</b></div> |
| </div> |
| <div class="subNav"> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li>Constr | </li> |
| <li>Method</li> |
| </ul> |
| </div> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 2012-2021 Apache Software Foundation. All Rights Reserved.</small></p> |
| </footer> |
| </div> |
| </div> |
| </body> |
| </html> |