| <!DOCTYPE HTML> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (17) --> |
| <title>CoreRules (Apache Calcite API)</title> |
| <meta name="viewport" content="width=device-width, initial-scale=1"> |
| <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.min.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../jquery-ui.overrides.css" title="Style"> |
| <script type="text/javascript" src="../../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../../script-dir/jquery-3.5.1.min.js"></script> |
| <script type="text/javascript" src="../../../../../script-dir/jquery-ui.min.js"></script> |
| </head> |
| <body class="class-declaration-page"> |
| <script type="text/javascript">var pathtoroot = "../../../../../"; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <div class="flex-box"> |
| <header role="banner" class="flex-header"> |
| <nav role="navigation"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="top-nav" id="navbar-top"> |
| <div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> |
| <div class="about-language"><b>Apache Calcite</b></div> |
| <ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> |
| <li><a href="../../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="nav-bar-cell1-rev">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#class">Help</a></li> |
| </ul> |
| </div> |
| <div class="sub-nav"> |
| <div> |
| <ul class="sub-nav-list"> |
| <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="sub-nav-list"> |
| <li>Detail: </li> |
| <li><a href="#field-detail">Field</a> | </li> |
| <li>Constr | </li> |
| <li>Method</li> |
| </ul> |
| </div> |
| <div class="nav-list-search"><label for="search-input">SEARCH:</label> |
| <input type="text" id="search-input" value="search" disabled="disabled"> |
| <input type="reset" id="reset-button" value="reset" disabled="disabled"> |
| </div> |
| </div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <span class="skip-nav" id="skip-navbar-top"></span></nav> |
| </header> |
| <div class="flex-content"> |
| <main role="main"> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="sub-title"><span class="package-label-in-type">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="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a> |
| <div class="inheritance">org.apache.calcite.rel.rules.CoreRules</div> |
| </div> |
| <section class="class-description" id="class-description"> |
| <hr> |
| <div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">CoreRules</span> |
| <span class="extends-implements">extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></span></div> |
| <div class="block">Rules that perform logical transformations on relational expressions.</div> |
| <dl class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="materialize/MaterializedViewRules.html" title="class in org.apache.calcite.rel.rules.materialize"><code>MaterializedViewRules</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| <section class="summary"> |
| <ul class="summary-list"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <li> |
| <section class="field-summary" id="field-summary"> |
| <h2>Field Summary</h2> |
| <div class="caption"><span>Fields</span></div> |
| <div class="summary-table three-column-summary"> |
| <div class="table-header col-first">Modifier and Type</div> |
| <div class="table-header col-second">Field</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color"><code>static final <a href="AggregateProjectPullUpConstantsRule.html" title="class in org.apache.calcite.rel.rules">AggregateProjectPullUpConstantsRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#AGGREGATE_ANY_PULL_UP_CONSTANTS" class="member-name-link">AGGREGATE_ANY_PULL_UP_CONSTANTS</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="AggregateCaseToFilterRule.html" title="class in org.apache.calcite.rel.rules">AggregateCaseToFilterRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#AGGREGATE_CASE_TO_FILTER" class="member-name-link">AGGREGATE_CASE_TO_FILTER</a></code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Rule that converts CASE-style filtered aggregates into true filtered |
| aggregates.</div> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="AggregateExpandDistinctAggregatesRule.html" title="class in org.apache.calcite.rel.rules">AggregateExpandDistinctAggregatesRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#AGGREGATE_EXPAND_DISTINCT_AGGREGATES" class="member-name-link">AGGREGATE_EXPAND_DISTINCT_AGGREGATES</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="AggregateExpandDistinctAggregatesRule.html" title="class in org.apache.calcite.rel.rules">AggregateExpandDistinctAggregatesRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#AGGREGATE_EXPAND_DISTINCT_AGGREGATES_TO_JOIN" class="member-name-link">AGGREGATE_EXPAND_DISTINCT_AGGREGATES_TO_JOIN</a></code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">As <a href="#AGGREGATE_EXPAND_DISTINCT_AGGREGATES"><code>AGGREGATE_EXPAND_DISTINCT_AGGREGATES</code></a> but generates a Join.</div> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="AggregateExpandWithinDistinctRule.html" title="class in org.apache.calcite.rel.rules">AggregateExpandWithinDistinctRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#AGGREGATE_EXPAND_WITHIN_DISTINCT" class="member-name-link">AGGREGATE_EXPAND_WITHIN_DISTINCT</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="AggregateFilterTransposeRule.html" title="class in org.apache.calcite.rel.rules">AggregateFilterTransposeRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#AGGREGATE_FILTER_TRANSPOSE" class="member-name-link">AGGREGATE_FILTER_TRANSPOSE</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="AggregateJoinJoinRemoveRule.html" title="class in org.apache.calcite.rel.rules">AggregateJoinJoinRemoveRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#AGGREGATE_JOIN_JOIN_REMOVE" class="member-name-link">AGGREGATE_JOIN_JOIN_REMOVE</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="AggregateJoinRemoveRule.html" title="class in org.apache.calcite.rel.rules">AggregateJoinRemoveRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#AGGREGATE_JOIN_REMOVE" class="member-name-link">AGGREGATE_JOIN_REMOVE</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="AggregateJoinTransposeRule.html" title="class in org.apache.calcite.rel.rules">AggregateJoinTransposeRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#AGGREGATE_JOIN_TRANSPOSE" class="member-name-link">AGGREGATE_JOIN_TRANSPOSE</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="AggregateJoinTransposeRule.html" title="class in org.apache.calcite.rel.rules">AggregateJoinTransposeRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#AGGREGATE_JOIN_TRANSPOSE_EXTENDED" class="member-name-link">AGGREGATE_JOIN_TRANSPOSE_EXTENDED</a></code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">As <a href="#AGGREGATE_JOIN_TRANSPOSE"><code>AGGREGATE_JOIN_TRANSPOSE</code></a>, but extended to push down aggregate |
| functions.</div> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="AggregateMergeRule.html" title="class in org.apache.calcite.rel.rules">AggregateMergeRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#AGGREGATE_MERGE" class="member-name-link">AGGREGATE_MERGE</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="AggregateProjectMergeRule.html" title="class in org.apache.calcite.rel.rules">AggregateProjectMergeRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#AGGREGATE_PROJECT_MERGE" class="member-name-link">AGGREGATE_PROJECT_MERGE</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="AggregateProjectPullUpConstantsRule.html" title="class in org.apache.calcite.rel.rules">AggregateProjectPullUpConstantsRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#AGGREGATE_PROJECT_PULL_UP_CONSTANTS" class="member-name-link">AGGREGATE_PROJECT_PULL_UP_CONSTANTS</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="AggregateProjectStarTableRule.html" title="class in org.apache.calcite.rel.rules">AggregateProjectStarTableRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#AGGREGATE_PROJECT_STAR_TABLE" class="member-name-link">AGGREGATE_PROJECT_STAR_TABLE</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="AggregateReduceFunctionsRule.html" title="class in org.apache.calcite.rel.rules">AggregateReduceFunctionsRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#AGGREGATE_REDUCE_FUNCTIONS" class="member-name-link">AGGREGATE_REDUCE_FUNCTIONS</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="AggregateRemoveRule.html" title="class in org.apache.calcite.rel.rules">AggregateRemoveRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#AGGREGATE_REMOVE" class="member-name-link">AGGREGATE_REMOVE</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="AggregateStarTableRule.html" title="class in org.apache.calcite.rel.rules">AggregateStarTableRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#AGGREGATE_STAR_TABLE" class="member-name-link">AGGREGATE_STAR_TABLE</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="AggregateUnionAggregateRule.html" title="class in org.apache.calcite.rel.rules">AggregateUnionAggregateRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#AGGREGATE_UNION_AGGREGATE" class="member-name-link">AGGREGATE_UNION_AGGREGATE</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="AggregateUnionAggregateRule.html" title="class in org.apache.calcite.rel.rules">AggregateUnionAggregateRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#AGGREGATE_UNION_AGGREGATE_FIRST" class="member-name-link">AGGREGATE_UNION_AGGREGATE_FIRST</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="AggregateUnionAggregateRule.html" title="class in org.apache.calcite.rel.rules">AggregateUnionAggregateRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#AGGREGATE_UNION_AGGREGATE_SECOND" class="member-name-link">AGGREGATE_UNION_AGGREGATE_SECOND</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="AggregateUnionTransposeRule.html" title="class in org.apache.calcite.rel.rules">AggregateUnionTransposeRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#AGGREGATE_UNION_TRANSPOSE" class="member-name-link">AGGREGATE_UNION_TRANSPOSE</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="AggregateValuesRule.html" title="class in org.apache.calcite.rel.rules">AggregateValuesRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#AGGREGATE_VALUES" class="member-name-link">AGGREGATE_VALUES</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="CalcMergeRule.html" title="class in org.apache.calcite.rel.rules">CalcMergeRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#CALC_MERGE" class="member-name-link">CALC_MERGE</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="ReduceDecimalsRule.html" title="class in org.apache.calcite.rel.rules">ReduceDecimalsRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#CALC_REDUCE_DECIMALS" class="member-name-link">CALC_REDUCE_DECIMALS</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="ReduceExpressionsRule.CalcReduceExpressionsRule.html" title="class in org.apache.calcite.rel.rules">ReduceExpressionsRule.CalcReduceExpressionsRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#CALC_REDUCE_EXPRESSIONS" class="member-name-link">CALC_REDUCE_EXPRESSIONS</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="CalcRemoveRule.html" title="class in org.apache.calcite.rel.rules">CalcRemoveRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#CALC_REMOVE" class="member-name-link">CALC_REMOVE</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="CalcSplitRule.html" title="class in org.apache.calcite.rel.rules">CalcSplitRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#CALC_SPLIT" class="member-name-link">CALC_SPLIT</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="ProjectToWindowRule.CalcToWindowRule.html" title="class in org.apache.calcite.rel.rules">ProjectToWindowRule.CalcToWindowRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#CALC_TO_WINDOW" class="member-name-link">CALC_TO_WINDOW</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="CoerceInputsRule.html" title="class in org.apache.calcite.rel.rules">CoerceInputsRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#COERCE_INPUTS" class="member-name-link">COERCE_INPUTS</a></code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Rule that pre-casts inputs to a particular type.</div> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="ExchangeRemoveConstantKeysRule.html" title="class in org.apache.calcite.rel.rules">ExchangeRemoveConstantKeysRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#EXCHANGE_REMOVE_CONSTANT_KEYS" class="member-name-link">EXCHANGE_REMOVE_CONSTANT_KEYS</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="FilterAggregateTransposeRule.html" title="class in org.apache.calcite.rel.rules">FilterAggregateTransposeRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#FILTER_AGGREGATE_TRANSPOSE" class="member-name-link">FILTER_AGGREGATE_TRANSPOSE</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="FilterCalcMergeRule.html" title="class in org.apache.calcite.rel.rules">FilterCalcMergeRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#FILTER_CALC_MERGE" class="member-name-link">FILTER_CALC_MERGE</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="FilterCorrelateRule.html" title="class in org.apache.calcite.rel.rules">FilterCorrelateRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#FILTER_CORRELATE" class="member-name-link">FILTER_CORRELATE</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="FilterRemoveIsNotDistinctFromRule.html" title="class in org.apache.calcite.rel.rules">FilterRemoveIsNotDistinctFromRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#FILTER_EXPAND_IS_NOT_DISTINCT_FROM" class="member-name-link">FILTER_EXPAND_IS_NOT_DISTINCT_FROM</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="FilterTableScanRule.html" title="class in org.apache.calcite.rel.rules">FilterTableScanRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#FILTER_INTERPRETER_SCAN" class="member-name-link">FILTER_INTERPRETER_SCAN</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="FilterJoinRule.FilterIntoJoinRule.html" title="class in org.apache.calcite.rel.rules">FilterJoinRule.FilterIntoJoinRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#FILTER_INTO_JOIN" class="member-name-link">FILTER_INTO_JOIN</a></code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Rule that tries to push filter expressions into a join |
| condition and into the inputs of the join.</div> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="FilterJoinRule.FilterIntoJoinRule.html" title="class in org.apache.calcite.rel.rules">FilterJoinRule.FilterIntoJoinRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#FILTER_INTO_JOIN_DUMB" class="member-name-link">FILTER_INTO_JOIN_DUMB</a></code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Dumber version of <a href="#FILTER_INTO_JOIN"><code>FILTER_INTO_JOIN</code></a>.</div> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="FilterMergeRule.html" title="class in org.apache.calcite.rel.rules">FilterMergeRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#FILTER_MERGE" class="member-name-link">FILTER_MERGE</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="FilterMultiJoinMergeRule.html" title="class in org.apache.calcite.rel.rules">FilterMultiJoinMergeRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#FILTER_MULTI_JOIN_MERGE" class="member-name-link">FILTER_MULTI_JOIN_MERGE</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="FilterProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">FilterProjectTransposeRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#FILTER_PROJECT_TRANSPOSE" class="member-name-link">FILTER_PROJECT_TRANSPOSE</a></code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">The default instance of |
| <a href="FilterProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules"><code>FilterProjectTransposeRule</code></a>.</div> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="ReduceExpressionsRule.FilterReduceExpressionsRule.html" title="class in org.apache.calcite.rel.rules">ReduceExpressionsRule.FilterReduceExpressionsRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#FILTER_REDUCE_EXPRESSIONS" class="member-name-link">FILTER_REDUCE_EXPRESSIONS</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="FilterTableScanRule.html" title="class in org.apache.calcite.rel.rules">FilterTableScanRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#FILTER_SCAN" class="member-name-link">FILTER_SCAN</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="FilterSetOpTransposeRule.html" title="class in org.apache.calcite.rel.rules">FilterSetOpTransposeRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#FILTER_SET_OP_TRANSPOSE" class="member-name-link">FILTER_SET_OP_TRANSPOSE</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="SubQueryRemoveRule.html" title="class in org.apache.calcite.rel.rules">SubQueryRemoveRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#FILTER_SUB_QUERY_TO_CORRELATE" class="member-name-link">FILTER_SUB_QUERY_TO_CORRELATE</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="FilterTableFunctionTransposeRule.html" title="class in org.apache.calcite.rel.rules">FilterTableFunctionTransposeRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#FILTER_TABLE_FUNCTION_TRANSPOSE" class="member-name-link">FILTER_TABLE_FUNCTION_TRANSPOSE</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="FilterToCalcRule.html" title="class in org.apache.calcite.rel.rules">FilterToCalcRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#FILTER_TO_CALC" class="member-name-link">FILTER_TO_CALC</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="ValuesReduceRule.html" title="class in org.apache.calcite.rel.rules">ValuesReduceRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#FILTER_VALUES_MERGE" class="member-name-link">FILTER_VALUES_MERGE</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="UnionMergeRule.html" title="class in org.apache.calcite.rel.rules">UnionMergeRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#INTERSECT_MERGE" class="member-name-link">INTERSECT_MERGE</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="IntersectToDistinctRule.html" title="class in org.apache.calcite.rel.rules">IntersectToDistinctRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#INTERSECT_TO_DISTINCT" class="member-name-link">INTERSECT_TO_DISTINCT</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="JoinAddRedundantSemiJoinRule.html" title="class in org.apache.calcite.rel.rules">JoinAddRedundantSemiJoinRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#JOIN_ADD_REDUNDANT_SEMI_JOIN" class="member-name-link">JOIN_ADD_REDUNDANT_SEMI_JOIN</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="JoinAssociateRule.html" title="class in org.apache.calcite.rel.rules">JoinAssociateRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#JOIN_ASSOCIATE" class="member-name-link">JOIN_ASSOCIATE</a></code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Rule that changes a join based on the associativity rule, |
| ((a JOIN b) JOIN c) → (a JOIN (b JOIN c)).</div> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="JoinCommuteRule.html" title="class in org.apache.calcite.rel.rules">JoinCommuteRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#JOIN_COMMUTE" class="member-name-link">JOIN_COMMUTE</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="JoinCommuteRule.html" title="class in org.apache.calcite.rel.rules">JoinCommuteRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#JOIN_COMMUTE_OUTER" class="member-name-link">JOIN_COMMUTE_OUTER</a></code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">As <a href="#JOIN_COMMUTE"><code>JOIN_COMMUTE</code></a> but swaps outer joins as well as inner joins.</div> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="FilterJoinRule.JoinConditionPushRule.html" title="class in org.apache.calcite.rel.rules">FilterJoinRule.JoinConditionPushRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#JOIN_CONDITION_PUSH" class="member-name-link">JOIN_CONDITION_PUSH</a></code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Rule that pushes predicates in a Join into the inputs to the join.</div> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="JoinDeriveIsNotNullFilterRule.html" title="class in org.apache.calcite.rel.rules">JoinDeriveIsNotNullFilterRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#JOIN_DERIVE_IS_NOT_NULL_FILTER_RULE" class="member-name-link">JOIN_DERIVE_IS_NOT_NULL_FILTER_RULE</a></code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Rule that derives IS NOT NULL predicates from a inner <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 with those predicates as new inputs of the <a href="../core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a>.</div> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="JoinExtractFilterRule.html" title="class in org.apache.calcite.rel.rules">JoinExtractFilterRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#JOIN_EXTRACT_FILTER" class="member-name-link">JOIN_EXTRACT_FILTER</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="JoinUnionTransposeRule.html" title="class in org.apache.calcite.rel.rules">JoinUnionTransposeRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#JOIN_LEFT_UNION_TRANSPOSE" class="member-name-link">JOIN_LEFT_UNION_TRANSPOSE</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="SemiJoinRule.JoinOnUniqueToSemiJoinRule.html" title="class in org.apache.calcite.rel.rules">SemiJoinRule.JoinOnUniqueToSemiJoinRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#JOIN_ON_UNIQUE_TO_SEMI_JOIN" class="member-name-link">JOIN_ON_UNIQUE_TO_SEMI_JOIN</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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>, and it's right keys are unique in its right input.</div> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="JoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">JoinProjectTransposeRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#JOIN_PROJECT_BOTH_TRANSPOSE" class="member-name-link">JOIN_PROJECT_BOTH_TRANSPOSE</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="JoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">JoinProjectTransposeRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#JOIN_PROJECT_BOTH_TRANSPOSE_INCLUDE_OUTER" class="member-name-link">JOIN_PROJECT_BOTH_TRANSPOSE_INCLUDE_OUTER</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="JoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">JoinProjectTransposeRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#JOIN_PROJECT_LEFT_TRANSPOSE" class="member-name-link">JOIN_PROJECT_LEFT_TRANSPOSE</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="JoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">JoinProjectTransposeRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#JOIN_PROJECT_LEFT_TRANSPOSE_INCLUDE_OUTER" class="member-name-link">JOIN_PROJECT_LEFT_TRANSPOSE_INCLUDE_OUTER</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="JoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">JoinProjectTransposeRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#JOIN_PROJECT_RIGHT_TRANSPOSE" class="member-name-link">JOIN_PROJECT_RIGHT_TRANSPOSE</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="JoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">JoinProjectTransposeRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#JOIN_PROJECT_RIGHT_TRANSPOSE_INCLUDE_OUTER" class="member-name-link">JOIN_PROJECT_RIGHT_TRANSPOSE_INCLUDE_OUTER</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="JoinPushExpressionsRule.html" title="class in org.apache.calcite.rel.rules">JoinPushExpressionsRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#JOIN_PUSH_EXPRESSIONS" class="member-name-link">JOIN_PUSH_EXPRESSIONS</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="JoinPushTransitivePredicatesRule.html" title="class in org.apache.calcite.rel.rules">JoinPushTransitivePredicatesRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#JOIN_PUSH_TRANSITIVE_PREDICATES" class="member-name-link">JOIN_PUSH_TRANSITIVE_PREDICATES</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="ReduceExpressionsRule.JoinReduceExpressionsRule.html" title="class in org.apache.calcite.rel.rules">ReduceExpressionsRule.JoinReduceExpressionsRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#JOIN_REDUCE_EXPRESSIONS" class="member-name-link">JOIN_REDUCE_EXPRESSIONS</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="JoinUnionTransposeRule.html" title="class in org.apache.calcite.rel.rules">JoinUnionTransposeRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#JOIN_RIGHT_UNION_TRANSPOSE" class="member-name-link">JOIN_RIGHT_UNION_TRANSPOSE</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="SubQueryRemoveRule.html" title="class in org.apache.calcite.rel.rules">SubQueryRemoveRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#JOIN_SUB_QUERY_TO_CORRELATE" class="member-name-link">JOIN_SUB_QUERY_TO_CORRELATE</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="JoinToCorrelateRule.html" title="class in org.apache.calcite.rel.rules">JoinToCorrelateRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#JOIN_TO_CORRELATE" class="member-name-link">JOIN_TO_CORRELATE</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="JoinToMultiJoinRule.html" title="class in org.apache.calcite.rel.rules">JoinToMultiJoinRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#JOIN_TO_MULTI_JOIN" class="member-name-link">JOIN_TO_MULTI_JOIN</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="SemiJoinRule.JoinToSemiJoinRule.html" title="class in org.apache.calcite.rel.rules">SemiJoinRule.JoinToSemiJoinRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#JOIN_TO_SEMI_JOIN" class="member-name-link">JOIN_TO_SEMI_JOIN</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="MatchRule.html" title="class in org.apache.calcite.rel.rules">MatchRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#MATCH" class="member-name-link">MATCH</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="UnionMergeRule.html" title="class in org.apache.calcite.rel.rules">UnionMergeRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#MINUS_MERGE" class="member-name-link">MINUS_MERGE</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="MultiJoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">MultiJoinProjectTransposeRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#MULTI_JOIN_BOTH_PROJECT" class="member-name-link">MULTI_JOIN_BOTH_PROJECT</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="MultiJoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">MultiJoinProjectTransposeRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#MULTI_JOIN_LEFT_PROJECT" class="member-name-link">MULTI_JOIN_LEFT_PROJECT</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="LoptOptimizeJoinRule.html" title="class in org.apache.calcite.rel.rules">LoptOptimizeJoinRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#MULTI_JOIN_OPTIMIZE" class="member-name-link">MULTI_JOIN_OPTIMIZE</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="MultiJoinOptimizeBushyRule.html" title="class in org.apache.calcite.rel.rules">MultiJoinOptimizeBushyRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#MULTI_JOIN_OPTIMIZE_BUSHY" class="member-name-link">MULTI_JOIN_OPTIMIZE_BUSHY</a></code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Rule that finds an approximately optimal ordering for join operators |
| using a heuristic algorithm and can handle bushy joins.</div> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="MultiJoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">MultiJoinProjectTransposeRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#MULTI_JOIN_RIGHT_PROJECT" class="member-name-link">MULTI_JOIN_RIGHT_PROJECT</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="ProjectAggregateMergeRule.html" title="class in org.apache.calcite.rel.rules">ProjectAggregateMergeRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#PROJECT_AGGREGATE_MERGE" class="member-name-link">PROJECT_AGGREGATE_MERGE</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="ProjectCalcMergeRule.html" title="class in org.apache.calcite.rel.rules">ProjectCalcMergeRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#PROJECT_CALC_MERGE" class="member-name-link">PROJECT_CALC_MERGE</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="ProjectCorrelateTransposeRule.html" title="class in org.apache.calcite.rel.rules">ProjectCorrelateTransposeRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#PROJECT_CORRELATE_TRANSPOSE" class="member-name-link">PROJECT_CORRELATE_TRANSPOSE</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="ProjectFilterTransposeRule.html" title="class in org.apache.calcite.rel.rules">ProjectFilterTransposeRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#PROJECT_FILTER_TRANSPOSE" class="member-name-link">PROJECT_FILTER_TRANSPOSE</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="ProjectFilterTransposeRule.html" title="class in org.apache.calcite.rel.rules">ProjectFilterTransposeRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#PROJECT_FILTER_TRANSPOSE_WHOLE_EXPRESSIONS" class="member-name-link">PROJECT_FILTER_TRANSPOSE_WHOLE_EXPRESSIONS</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="ProjectFilterTransposeRule.html" title="class in org.apache.calcite.rel.rules">ProjectFilterTransposeRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#PROJECT_FILTER_TRANSPOSE_WHOLE_PROJECT_EXPRESSIONS" class="member-name-link">PROJECT_FILTER_TRANSPOSE_WHOLE_PROJECT_EXPRESSIONS</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="ValuesReduceRule.html" title="class in org.apache.calcite.rel.rules">ValuesReduceRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#PROJECT_FILTER_VALUES_MERGE" class="member-name-link">PROJECT_FILTER_VALUES_MERGE</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="ProjectTableScanRule.html" title="class in org.apache.calcite.rel.rules">ProjectTableScanRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#PROJECT_INTERPRETER_TABLE_SCAN" class="member-name-link">PROJECT_INTERPRETER_TABLE_SCAN</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="ProjectJoinJoinRemoveRule.html" title="class in org.apache.calcite.rel.rules">ProjectJoinJoinRemoveRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#PROJECT_JOIN_JOIN_REMOVE" class="member-name-link">PROJECT_JOIN_JOIN_REMOVE</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="ProjectJoinRemoveRule.html" title="class in org.apache.calcite.rel.rules">ProjectJoinRemoveRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#PROJECT_JOIN_REMOVE" class="member-name-link">PROJECT_JOIN_REMOVE</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="ProjectJoinTransposeRule.html" title="class in org.apache.calcite.rel.rules">ProjectJoinTransposeRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#PROJECT_JOIN_TRANSPOSE" class="member-name-link">PROJECT_JOIN_TRANSPOSE</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="ProjectMergeRule.html" title="class in org.apache.calcite.rel.rules">ProjectMergeRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#PROJECT_MERGE" class="member-name-link">PROJECT_MERGE</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="ProjectMultiJoinMergeRule.html" title="class in org.apache.calcite.rel.rules">ProjectMultiJoinMergeRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#PROJECT_MULTI_JOIN_MERGE" class="member-name-link">PROJECT_MULTI_JOIN_MERGE</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="ReduceExpressionsRule.ProjectReduceExpressionsRule.html" title="class in org.apache.calcite.rel.rules">ReduceExpressionsRule.ProjectReduceExpressionsRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#PROJECT_REDUCE_EXPRESSIONS" class="member-name-link">PROJECT_REDUCE_EXPRESSIONS</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="ProjectRemoveRule.html" title="class in org.apache.calcite.rel.rules">ProjectRemoveRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#PROJECT_REMOVE" class="member-name-link">PROJECT_REMOVE</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="ProjectSetOpTransposeRule.html" title="class in org.apache.calcite.rel.rules">ProjectSetOpTransposeRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#PROJECT_SET_OP_TRANSPOSE" class="member-name-link">PROJECT_SET_OP_TRANSPOSE</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="SubQueryRemoveRule.html" title="class in org.apache.calcite.rel.rules">SubQueryRemoveRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#PROJECT_SUB_QUERY_TO_CORRELATE" class="member-name-link">PROJECT_SUB_QUERY_TO_CORRELATE</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="ProjectTableScanRule.html" title="class in org.apache.calcite.rel.rules">ProjectTableScanRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#PROJECT_TABLE_SCAN" class="member-name-link">PROJECT_TABLE_SCAN</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="ProjectToCalcRule.html" title="class in org.apache.calcite.rel.rules">ProjectToCalcRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#PROJECT_TO_CALC" class="member-name-link">PROJECT_TO_CALC</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="ProjectToWindowRule.ProjectToLogicalProjectAndWindowRule.html" title="class in org.apache.calcite.rel.rules">ProjectToWindowRule.ProjectToLogicalProjectAndWindowRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#PROJECT_TO_LOGICAL_PROJECT_AND_WINDOW" class="member-name-link">PROJECT_TO_LOGICAL_PROJECT_AND_WINDOW</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="SemiJoinRule.ProjectToSemiJoinRule.html" title="class in org.apache.calcite.rel.rules">SemiJoinRule.ProjectToSemiJoinRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#PROJECT_TO_SEMI_JOIN" class="member-name-link">PROJECT_TO_SEMI_JOIN</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="ValuesReduceRule.html" title="class in org.apache.calcite.rel.rules">ValuesReduceRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#PROJECT_VALUES_MERGE" class="member-name-link">PROJECT_VALUES_MERGE</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="ProjectWindowTransposeRule.html" title="class in org.apache.calcite.rel.rules">ProjectWindowTransposeRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#PROJECT_WINDOW_TRANSPOSE" class="member-name-link">PROJECT_WINDOW_TRANSPOSE</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="SemiJoinFilterTransposeRule.html" title="class in org.apache.calcite.rel.rules">SemiJoinFilterTransposeRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#SEMI_JOIN_FILTER_TRANSPOSE" class="member-name-link">SEMI_JOIN_FILTER_TRANSPOSE</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="SemiJoinJoinTransposeRule.html" title="class in org.apache.calcite.rel.rules">SemiJoinJoinTransposeRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#SEMI_JOIN_JOIN_TRANSPOSE" class="member-name-link">SEMI_JOIN_JOIN_TRANSPOSE</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="SemiJoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">SemiJoinProjectTransposeRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#SEMI_JOIN_PROJECT_TRANSPOSE" class="member-name-link">SEMI_JOIN_PROJECT_TRANSPOSE</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="SemiJoinRemoveRule.html" title="class in org.apache.calcite.rel.rules">SemiJoinRemoveRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#SEMI_JOIN_REMOVE" class="member-name-link">SEMI_JOIN_REMOVE</a></code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Rule that removes a <a href="../core/Join.html#isSemiJoin()"><code>semi-join</code></a> from a join tree.</div> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="ExchangeRemoveConstantKeysRule.html" title="class in org.apache.calcite.rel.rules">ExchangeRemoveConstantKeysRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#SORT_EXCHANGE_REMOVE_CONSTANT_KEYS" class="member-name-link">SORT_EXCHANGE_REMOVE_CONSTANT_KEYS</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="SortJoinCopyRule.html" title="class in org.apache.calcite.rel.rules">SortJoinCopyRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#SORT_JOIN_COPY" class="member-name-link">SORT_JOIN_COPY</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="SortJoinTransposeRule.html" title="class in org.apache.calcite.rel.rules">SortJoinTransposeRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#SORT_JOIN_TRANSPOSE" class="member-name-link">SORT_JOIN_TRANSPOSE</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="SortProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">SortProjectTransposeRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#SORT_PROJECT_TRANSPOSE" class="member-name-link">SORT_PROJECT_TRANSPOSE</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="SortRemoveRule.html" title="class in org.apache.calcite.rel.rules">SortRemoveRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#SORT_REMOVE" class="member-name-link">SORT_REMOVE</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="SortRemoveConstantKeysRule.html" title="class in org.apache.calcite.rel.rules">SortRemoveConstantKeysRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#SORT_REMOVE_CONSTANT_KEYS" class="member-name-link">SORT_REMOVE_CONSTANT_KEYS</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="SortUnionTransposeRule.html" title="class in org.apache.calcite.rel.rules">SortUnionTransposeRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#SORT_UNION_TRANSPOSE" class="member-name-link">SORT_UNION_TRANSPOSE</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="SortUnionTransposeRule.html" title="class in org.apache.calcite.rel.rules">SortUnionTransposeRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#SORT_UNION_TRANSPOSE_MATCH_NULL_FETCH" class="member-name-link">SORT_UNION_TRANSPOSE_MATCH_NULL_FETCH</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="UnionMergeRule.html" title="class in org.apache.calcite.rel.rules">UnionMergeRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#UNION_MERGE" class="member-name-link">UNION_MERGE</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="UnionPullUpConstantsRule.html" title="class in org.apache.calcite.rel.rules">UnionPullUpConstantsRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#UNION_PULL_UP_CONSTANTS" class="member-name-link">UNION_PULL_UP_CONSTANTS</a></code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Rule that pulls up constants through a Union operator.</div> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="UnionEliminatorRule.html" title="class in org.apache.calcite.rel.rules">UnionEliminatorRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#UNION_REMOVE" class="member-name-link">UNION_REMOVE</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color"><code>static final <a href="UnionToDistinctRule.html" title="class in org.apache.calcite.rel.rules">UnionToDistinctRule</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#UNION_TO_DISTINCT" class="member-name-link">UNION_TO_DISTINCT</a></code></div> |
| <div class="col-last odd-row-color"> |
| <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> |
| </div> |
| <div class="col-first even-row-color"><code>static final <a href="ReduceExpressionsRule.WindowReduceExpressionsRule.html" title="class in org.apache.calcite.rel.rules">ReduceExpressionsRule.WindowReduceExpressionsRule</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#WINDOW_REDUCE_EXPRESSIONS" class="member-name-link">WINDOW_REDUCE_EXPRESSIONS</a></code></div> |
| <div class="col-last even-row-color"> |
| <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> |
| </div> |
| </div> |
| </section> |
| </li> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <li> |
| <section class="method-summary" id="method-summary"> |
| <h2>Method Summary</h2> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3> |
| <code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <section class="details"> |
| <ul class="details-list"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <li> |
| <section class="field-details" id="field-detail"> |
| <h2>Field Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="AGGREGATE_PROJECT_MERGE"> |
| <h3>AGGREGATE_PROJECT_MERGE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="AggregateProjectMergeRule.html" title="class in org.apache.calcite.rel.rules">AggregateProjectMergeRule</a></span> <span class="element-name">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> |
| <section class="detail" id="AGGREGATE_PROJECT_PULL_UP_CONSTANTS"> |
| <h3>AGGREGATE_PROJECT_PULL_UP_CONSTANTS</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="AggregateProjectPullUpConstantsRule.html" title="class in org.apache.calcite.rel.rules">AggregateProjectPullUpConstantsRule</a></span> <span class="element-name">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> |
| <section class="detail" id="AGGREGATE_ANY_PULL_UP_CONSTANTS"> |
| <h3>AGGREGATE_ANY_PULL_UP_CONSTANTS</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="AggregateProjectPullUpConstantsRule.html" title="class in org.apache.calcite.rel.rules">AggregateProjectPullUpConstantsRule</a></span> <span class="element-name">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> |
| <section class="detail" id="AGGREGATE_STAR_TABLE"> |
| <h3>AGGREGATE_STAR_TABLE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="AggregateStarTableRule.html" title="class in org.apache.calcite.rel.rules">AggregateStarTableRule</a></span> <span class="element-name">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> |
| <section class="detail" id="AGGREGATE_PROJECT_STAR_TABLE"> |
| <h3>AGGREGATE_PROJECT_STAR_TABLE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="AggregateProjectStarTableRule.html" title="class in org.apache.calcite.rel.rules">AggregateProjectStarTableRule</a></span> <span class="element-name">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> |
| <section class="detail" id="AGGREGATE_REDUCE_FUNCTIONS"> |
| <h3>AGGREGATE_REDUCE_FUNCTIONS</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="AggregateReduceFunctionsRule.html" title="class in org.apache.calcite.rel.rules">AggregateReduceFunctionsRule</a></span> <span class="element-name">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> |
| <section class="detail" id="AGGREGATE_MERGE"> |
| <h3>AGGREGATE_MERGE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="AggregateMergeRule.html" title="class in org.apache.calcite.rel.rules">AggregateMergeRule</a></span> <span class="element-name">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> |
| <section class="detail" id="AGGREGATE_REMOVE"> |
| <h3>AGGREGATE_REMOVE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="AggregateRemoveRule.html" title="class in org.apache.calcite.rel.rules">AggregateRemoveRule</a></span> <span class="element-name">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> |
| <section class="detail" id="AGGREGATE_EXPAND_DISTINCT_AGGREGATES"> |
| <h3>AGGREGATE_EXPAND_DISTINCT_AGGREGATES</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="AggregateExpandDistinctAggregatesRule.html" title="class in org.apache.calcite.rel.rules">AggregateExpandDistinctAggregatesRule</a></span> <span class="element-name">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> |
| <section class="detail" id="AGGREGATE_EXPAND_DISTINCT_AGGREGATES_TO_JOIN"> |
| <h3>AGGREGATE_EXPAND_DISTINCT_AGGREGATES_TO_JOIN</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="AggregateExpandDistinctAggregatesRule.html" title="class in org.apache.calcite.rel.rules">AggregateExpandDistinctAggregatesRule</a></span> <span class="element-name">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> |
| <section class="detail" id="AGGREGATE_EXPAND_WITHIN_DISTINCT"> |
| <h3>AGGREGATE_EXPAND_WITHIN_DISTINCT</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="AggregateExpandWithinDistinctRule.html" title="class in org.apache.calcite.rel.rules">AggregateExpandWithinDistinctRule</a></span> <span class="element-name">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> |
| <section class="detail" id="AGGREGATE_FILTER_TRANSPOSE"> |
| <h3>AGGREGATE_FILTER_TRANSPOSE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="AggregateFilterTransposeRule.html" title="class in org.apache.calcite.rel.rules">AggregateFilterTransposeRule</a></span> <span class="element-name">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> |
| <section class="detail" id="AGGREGATE_JOIN_JOIN_REMOVE"> |
| <h3>AGGREGATE_JOIN_JOIN_REMOVE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="AggregateJoinJoinRemoveRule.html" title="class in org.apache.calcite.rel.rules">AggregateJoinJoinRemoveRule</a></span> <span class="element-name">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> |
| <section class="detail" id="AGGREGATE_JOIN_REMOVE"> |
| <h3>AGGREGATE_JOIN_REMOVE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="AggregateJoinRemoveRule.html" title="class in org.apache.calcite.rel.rules">AggregateJoinRemoveRule</a></span> <span class="element-name">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> |
| <section class="detail" id="AGGREGATE_JOIN_TRANSPOSE"> |
| <h3>AGGREGATE_JOIN_TRANSPOSE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="AggregateJoinTransposeRule.html" title="class in org.apache.calcite.rel.rules">AggregateJoinTransposeRule</a></span> <span class="element-name">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> |
| <section class="detail" id="AGGREGATE_JOIN_TRANSPOSE_EXTENDED"> |
| <h3>AGGREGATE_JOIN_TRANSPOSE_EXTENDED</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="AggregateJoinTransposeRule.html" title="class in org.apache.calcite.rel.rules">AggregateJoinTransposeRule</a></span> <span class="element-name">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> |
| <section class="detail" id="AGGREGATE_UNION_TRANSPOSE"> |
| <h3>AGGREGATE_UNION_TRANSPOSE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="AggregateUnionTransposeRule.html" title="class in org.apache.calcite.rel.rules">AggregateUnionTransposeRule</a></span> <span class="element-name">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> |
| <section class="detail" id="AGGREGATE_UNION_AGGREGATE"> |
| <h3>AGGREGATE_UNION_AGGREGATE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="AggregateUnionAggregateRule.html" title="class in org.apache.calcite.rel.rules">AggregateUnionAggregateRule</a></span> <span class="element-name">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> |
| <section class="detail" id="AGGREGATE_UNION_AGGREGATE_FIRST"> |
| <h3>AGGREGATE_UNION_AGGREGATE_FIRST</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="AggregateUnionAggregateRule.html" title="class in org.apache.calcite.rel.rules">AggregateUnionAggregateRule</a></span> <span class="element-name">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> |
| <section class="detail" id="AGGREGATE_UNION_AGGREGATE_SECOND"> |
| <h3>AGGREGATE_UNION_AGGREGATE_SECOND</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="AggregateUnionAggregateRule.html" title="class in org.apache.calcite.rel.rules">AggregateUnionAggregateRule</a></span> <span class="element-name">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> |
| <section class="detail" id="AGGREGATE_CASE_TO_FILTER"> |
| <h3>AGGREGATE_CASE_TO_FILTER</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="AggregateCaseToFilterRule.html" title="class in org.apache.calcite.rel.rules">AggregateCaseToFilterRule</a></span> <span class="element-name">AGGREGATE_CASE_TO_FILTER</span></div> |
| <div class="block">Rule that converts CASE-style filtered aggregates into true filtered |
| aggregates.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="CALC_MERGE"> |
| <h3>CALC_MERGE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="CalcMergeRule.html" title="class in org.apache.calcite.rel.rules">CalcMergeRule</a></span> <span class="element-name">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> |
| <section class="detail" id="CALC_REMOVE"> |
| <h3>CALC_REMOVE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="CalcRemoveRule.html" title="class in org.apache.calcite.rel.rules">CalcRemoveRule</a></span> <span class="element-name">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> |
| <section class="detail" id="CALC_REDUCE_DECIMALS"> |
| <h3>CALC_REDUCE_DECIMALS</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="ReduceDecimalsRule.html" title="class in org.apache.calcite.rel.rules">ReduceDecimalsRule</a></span> <span class="element-name">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> |
| <section class="detail" id="CALC_REDUCE_EXPRESSIONS"> |
| <h3>CALC_REDUCE_EXPRESSIONS</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="ReduceExpressionsRule.CalcReduceExpressionsRule.html" title="class in org.apache.calcite.rel.rules">ReduceExpressionsRule.CalcReduceExpressionsRule</a></span> <span class="element-name">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 class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="#FILTER_REDUCE_EXPRESSIONS"><code>FILTER_REDUCE_EXPRESSIONS</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="CALC_SPLIT"> |
| <h3>CALC_SPLIT</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="CalcSplitRule.html" title="class in org.apache.calcite.rel.rules">CalcSplitRule</a></span> <span class="element-name">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> |
| <section class="detail" id="CALC_TO_WINDOW"> |
| <h3>CALC_TO_WINDOW</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="ProjectToWindowRule.CalcToWindowRule.html" title="class in org.apache.calcite.rel.rules">ProjectToWindowRule.CalcToWindowRule</a></span> <span class="element-name">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> |
| <section class="detail" id="COERCE_INPUTS"> |
| <h3>COERCE_INPUTS</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="CoerceInputsRule.html" title="class in org.apache.calcite.rel.rules">CoerceInputsRule</a></span> <span class="element-name">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> |
| <section class="detail" id="EXCHANGE_REMOVE_CONSTANT_KEYS"> |
| <h3>EXCHANGE_REMOVE_CONSTANT_KEYS</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="ExchangeRemoveConstantKeysRule.html" title="class in org.apache.calcite.rel.rules">ExchangeRemoveConstantKeysRule</a></span> <span class="element-name">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> |
| <section class="detail" id="SORT_EXCHANGE_REMOVE_CONSTANT_KEYS"> |
| <h3>SORT_EXCHANGE_REMOVE_CONSTANT_KEYS</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="ExchangeRemoveConstantKeysRule.html" title="class in org.apache.calcite.rel.rules">ExchangeRemoveConstantKeysRule</a></span> <span class="element-name">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> |
| <section class="detail" id="FILTER_INTO_JOIN"> |
| <h3>FILTER_INTO_JOIN</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="FilterJoinRule.FilterIntoJoinRule.html" title="class in org.apache.calcite.rel.rules">FilterJoinRule.FilterIntoJoinRule</a></span> <span class="element-name">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> |
| <section class="detail" id="FILTER_INTO_JOIN_DUMB"> |
| <h3>FILTER_INTO_JOIN_DUMB</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="FilterJoinRule.FilterIntoJoinRule.html" title="class in org.apache.calcite.rel.rules">FilterJoinRule.FilterIntoJoinRule</a></span> <span class="element-name">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> |
| <section class="detail" id="FILTER_MERGE"> |
| <h3>FILTER_MERGE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="FilterMergeRule.html" title="class in org.apache.calcite.rel.rules">FilterMergeRule</a></span> <span class="element-name">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> |
| <section class="detail" id="FILTER_CALC_MERGE"> |
| <h3>FILTER_CALC_MERGE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="FilterCalcMergeRule.html" title="class in org.apache.calcite.rel.rules">FilterCalcMergeRule</a></span> <span class="element-name">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 class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="#PROJECT_CALC_MERGE"><code>PROJECT_CALC_MERGE</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="FILTER_TO_CALC"> |
| <h3>FILTER_TO_CALC</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="FilterToCalcRule.html" title="class in org.apache.calcite.rel.rules">FilterToCalcRule</a></span> <span class="element-name">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 class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="#PROJECT_TO_CALC"><code>PROJECT_TO_CALC</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="FILTER_AGGREGATE_TRANSPOSE"> |
| <h3>FILTER_AGGREGATE_TRANSPOSE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="FilterAggregateTransposeRule.html" title="class in org.apache.calcite.rel.rules">FilterAggregateTransposeRule</a></span> <span class="element-name">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 class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="#AGGREGATE_FILTER_TRANSPOSE"><code>AGGREGATE_FILTER_TRANSPOSE</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="FILTER_PROJECT_TRANSPOSE"> |
| <h3>FILTER_PROJECT_TRANSPOSE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="FilterProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">FilterProjectTransposeRule</a></span> <span class="element-name">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> |
| <section class="detail" id="FILTER_TABLE_FUNCTION_TRANSPOSE"> |
| <h3>FILTER_TABLE_FUNCTION_TRANSPOSE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="FilterTableFunctionTransposeRule.html" title="class in org.apache.calcite.rel.rules">FilterTableFunctionTransposeRule</a></span> <span class="element-name">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> |
| <section class="detail" id="FILTER_SCAN"> |
| <h3>FILTER_SCAN</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="FilterTableScanRule.html" title="class in org.apache.calcite.rel.rules">FilterTableScanRule</a></span> <span class="element-name">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> |
| <section class="detail" id="FILTER_INTERPRETER_SCAN"> |
| <h3>FILTER_INTERPRETER_SCAN</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="FilterTableScanRule.html" title="class in org.apache.calcite.rel.rules">FilterTableScanRule</a></span> <span class="element-name">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> |
| <section class="detail" id="FILTER_CORRELATE"> |
| <h3>FILTER_CORRELATE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="FilterCorrelateRule.html" title="class in org.apache.calcite.rel.rules">FilterCorrelateRule</a></span> <span class="element-name">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> |
| <section class="detail" id="FILTER_MULTI_JOIN_MERGE"> |
| <h3>FILTER_MULTI_JOIN_MERGE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="FilterMultiJoinMergeRule.html" title="class in org.apache.calcite.rel.rules">FilterMultiJoinMergeRule</a></span> <span class="element-name">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 class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="#PROJECT_MULTI_JOIN_MERGE"><code>PROJECT_MULTI_JOIN_MERGE</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="FILTER_EXPAND_IS_NOT_DISTINCT_FROM"> |
| <h3>FILTER_EXPAND_IS_NOT_DISTINCT_FROM</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="FilterRemoveIsNotDistinctFromRule.html" title="class in org.apache.calcite.rel.rules">FilterRemoveIsNotDistinctFromRule</a></span> <span class="element-name">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> |
| <section class="detail" id="FILTER_SET_OP_TRANSPOSE"> |
| <h3>FILTER_SET_OP_TRANSPOSE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="FilterSetOpTransposeRule.html" title="class in org.apache.calcite.rel.rules">FilterSetOpTransposeRule</a></span> <span class="element-name">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> |
| <section class="detail" id="FILTER_REDUCE_EXPRESSIONS"> |
| <h3>FILTER_REDUCE_EXPRESSIONS</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="ReduceExpressionsRule.FilterReduceExpressionsRule.html" title="class in org.apache.calcite.rel.rules">ReduceExpressionsRule.FilterReduceExpressionsRule</a></span> <span class="element-name">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 class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="#JOIN_REDUCE_EXPRESSIONS"><code>JOIN_REDUCE_EXPRESSIONS</code></a></li> |
| <li><a href="#PROJECT_REDUCE_EXPRESSIONS"><code>PROJECT_REDUCE_EXPRESSIONS</code></a></li> |
| <li><a href="#CALC_REDUCE_EXPRESSIONS"><code>CALC_REDUCE_EXPRESSIONS</code></a></li> |
| <li><a href="#WINDOW_REDUCE_EXPRESSIONS"><code>WINDOW_REDUCE_EXPRESSIONS</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="INTERSECT_MERGE"> |
| <h3>INTERSECT_MERGE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="UnionMergeRule.html" title="class in org.apache.calcite.rel.rules">UnionMergeRule</a></span> <span class="element-name">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> |
| <section class="detail" id="INTERSECT_TO_DISTINCT"> |
| <h3>INTERSECT_TO_DISTINCT</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="IntersectToDistinctRule.html" title="class in org.apache.calcite.rel.rules">IntersectToDistinctRule</a></span> <span class="element-name">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> |
| <section class="detail" id="MATCH"> |
| <h3>MATCH</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="MatchRule.html" title="class in org.apache.calcite.rel.rules">MatchRule</a></span> <span class="element-name">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> |
| <section class="detail" id="MINUS_MERGE"> |
| <h3>MINUS_MERGE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="UnionMergeRule.html" title="class in org.apache.calcite.rel.rules">UnionMergeRule</a></span> <span class="element-name">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> |
| <section class="detail" id="PROJECT_AGGREGATE_MERGE"> |
| <h3>PROJECT_AGGREGATE_MERGE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="ProjectAggregateMergeRule.html" title="class in org.apache.calcite.rel.rules">ProjectAggregateMergeRule</a></span> <span class="element-name">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> |
| <section class="detail" id="PROJECT_CALC_MERGE"> |
| <h3>PROJECT_CALC_MERGE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="ProjectCalcMergeRule.html" title="class in org.apache.calcite.rel.rules">ProjectCalcMergeRule</a></span> <span class="element-name">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 class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="#FILTER_CALC_MERGE"><code>FILTER_CALC_MERGE</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="PROJECT_CORRELATE_TRANSPOSE"> |
| <h3>PROJECT_CORRELATE_TRANSPOSE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="ProjectCorrelateTransposeRule.html" title="class in org.apache.calcite.rel.rules">ProjectCorrelateTransposeRule</a></span> <span class="element-name">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> |
| <section class="detail" id="PROJECT_FILTER_TRANSPOSE"> |
| <h3>PROJECT_FILTER_TRANSPOSE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="ProjectFilterTransposeRule.html" title="class in org.apache.calcite.rel.rules">ProjectFilterTransposeRule</a></span> <span class="element-name">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 class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list-long"> |
| <li><a href="#PROJECT_FILTER_TRANSPOSE_WHOLE_PROJECT_EXPRESSIONS"><code>PROJECT_FILTER_TRANSPOSE_WHOLE_PROJECT_EXPRESSIONS</code></a></li> |
| <li><a href="#PROJECT_FILTER_TRANSPOSE_WHOLE_EXPRESSIONS"><code>PROJECT_FILTER_TRANSPOSE_WHOLE_EXPRESSIONS</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="PROJECT_FILTER_TRANSPOSE_WHOLE_EXPRESSIONS"> |
| <h3>PROJECT_FILTER_TRANSPOSE_WHOLE_EXPRESSIONS</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="ProjectFilterTransposeRule.html" title="class in org.apache.calcite.rel.rules">ProjectFilterTransposeRule</a></span> <span class="element-name">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> |
| <section class="detail" id="PROJECT_FILTER_TRANSPOSE_WHOLE_PROJECT_EXPRESSIONS"> |
| <h3>PROJECT_FILTER_TRANSPOSE_WHOLE_PROJECT_EXPRESSIONS</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="ProjectFilterTransposeRule.html" title="class in org.apache.calcite.rel.rules">ProjectFilterTransposeRule</a></span> <span class="element-name">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> |
| <section class="detail" id="PROJECT_REDUCE_EXPRESSIONS"> |
| <h3>PROJECT_REDUCE_EXPRESSIONS</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="ReduceExpressionsRule.ProjectReduceExpressionsRule.html" title="class in org.apache.calcite.rel.rules">ReduceExpressionsRule.ProjectReduceExpressionsRule</a></span> <span class="element-name">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 class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="#FILTER_REDUCE_EXPRESSIONS"><code>FILTER_REDUCE_EXPRESSIONS</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="PROJECT_SUB_QUERY_TO_CORRELATE"> |
| <h3>PROJECT_SUB_QUERY_TO_CORRELATE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="SubQueryRemoveRule.html" title="class in org.apache.calcite.rel.rules">SubQueryRemoveRule</a></span> <span class="element-name">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 class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="#FILTER_SUB_QUERY_TO_CORRELATE"><code>FILTER_SUB_QUERY_TO_CORRELATE</code></a></li> |
| <li><a href="#JOIN_SUB_QUERY_TO_CORRELATE"><code>JOIN_SUB_QUERY_TO_CORRELATE</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="FILTER_SUB_QUERY_TO_CORRELATE"> |
| <h3>FILTER_SUB_QUERY_TO_CORRELATE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="SubQueryRemoveRule.html" title="class in org.apache.calcite.rel.rules">SubQueryRemoveRule</a></span> <span class="element-name">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 class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="#PROJECT_SUB_QUERY_TO_CORRELATE"><code>PROJECT_SUB_QUERY_TO_CORRELATE</code></a></li> |
| <li><a href="#JOIN_SUB_QUERY_TO_CORRELATE"><code>JOIN_SUB_QUERY_TO_CORRELATE</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="JOIN_SUB_QUERY_TO_CORRELATE"> |
| <h3>JOIN_SUB_QUERY_TO_CORRELATE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="SubQueryRemoveRule.html" title="class in org.apache.calcite.rel.rules">SubQueryRemoveRule</a></span> <span class="element-name">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 class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="#PROJECT_SUB_QUERY_TO_CORRELATE"><code>PROJECT_SUB_QUERY_TO_CORRELATE</code></a></li> |
| <li><a href="#FILTER_SUB_QUERY_TO_CORRELATE"><code>FILTER_SUB_QUERY_TO_CORRELATE</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="PROJECT_TO_LOGICAL_PROJECT_AND_WINDOW"> |
| <h3>PROJECT_TO_LOGICAL_PROJECT_AND_WINDOW</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="ProjectToWindowRule.ProjectToLogicalProjectAndWindowRule.html" title="class in org.apache.calcite.rel.rules">ProjectToWindowRule.ProjectToLogicalProjectAndWindowRule</a></span> <span class="element-name">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> |
| <section class="detail" id="PROJECT_TO_SEMI_JOIN"> |
| <h3>PROJECT_TO_SEMI_JOIN</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="SemiJoinRule.ProjectToSemiJoinRule.html" title="class in org.apache.calcite.rel.rules">SemiJoinRule.ProjectToSemiJoinRule</a></span> <span class="element-name">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 class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="#JOIN_TO_SEMI_JOIN"><code>JOIN_TO_SEMI_JOIN</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="PROJECT_JOIN_JOIN_REMOVE"> |
| <h3>PROJECT_JOIN_JOIN_REMOVE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="ProjectJoinJoinRemoveRule.html" title="class in org.apache.calcite.rel.rules">ProjectJoinJoinRemoveRule</a></span> <span class="element-name">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> |
| <section class="detail" id="PROJECT_JOIN_REMOVE"> |
| <h3>PROJECT_JOIN_REMOVE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="ProjectJoinRemoveRule.html" title="class in org.apache.calcite.rel.rules">ProjectJoinRemoveRule</a></span> <span class="element-name">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> |
| <section class="detail" id="PROJECT_JOIN_TRANSPOSE"> |
| <h3>PROJECT_JOIN_TRANSPOSE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="ProjectJoinTransposeRule.html" title="class in org.apache.calcite.rel.rules">ProjectJoinTransposeRule</a></span> <span class="element-name">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> |
| <section class="detail" id="PROJECT_MERGE"> |
| <h3>PROJECT_MERGE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="ProjectMergeRule.html" title="class in org.apache.calcite.rel.rules">ProjectMergeRule</a></span> <span class="element-name">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> |
| <section class="detail" id="PROJECT_SET_OP_TRANSPOSE"> |
| <h3>PROJECT_SET_OP_TRANSPOSE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="ProjectSetOpTransposeRule.html" title="class in org.apache.calcite.rel.rules">ProjectSetOpTransposeRule</a></span> <span class="element-name">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> |
| <section class="detail" id="PROJECT_MULTI_JOIN_MERGE"> |
| <h3>PROJECT_MULTI_JOIN_MERGE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="ProjectMultiJoinMergeRule.html" title="class in org.apache.calcite.rel.rules">ProjectMultiJoinMergeRule</a></span> <span class="element-name">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 class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="#FILTER_MULTI_JOIN_MERGE"><code>FILTER_MULTI_JOIN_MERGE</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="PROJECT_REMOVE"> |
| <h3>PROJECT_REMOVE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="ProjectRemoveRule.html" title="class in org.apache.calcite.rel.rules">ProjectRemoveRule</a></span> <span class="element-name">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> |
| <section class="detail" id="PROJECT_TABLE_SCAN"> |
| <h3>PROJECT_TABLE_SCAN</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="ProjectTableScanRule.html" title="class in org.apache.calcite.rel.rules">ProjectTableScanRule</a></span> <span class="element-name">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 class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="#PROJECT_INTERPRETER_TABLE_SCAN"><code>PROJECT_INTERPRETER_TABLE_SCAN</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="PROJECT_INTERPRETER_TABLE_SCAN"> |
| <h3>PROJECT_INTERPRETER_TABLE_SCAN</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="ProjectTableScanRule.html" title="class in org.apache.calcite.rel.rules">ProjectTableScanRule</a></span> <span class="element-name">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> |
| <section class="detail" id="PROJECT_TO_CALC"> |
| <h3>PROJECT_TO_CALC</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="ProjectToCalcRule.html" title="class in org.apache.calcite.rel.rules">ProjectToCalcRule</a></span> <span class="element-name">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 class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="#FILTER_TO_CALC"><code>FILTER_TO_CALC</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="PROJECT_WINDOW_TRANSPOSE"> |
| <h3>PROJECT_WINDOW_TRANSPOSE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="ProjectWindowTransposeRule.html" title="class in org.apache.calcite.rel.rules">ProjectWindowTransposeRule</a></span> <span class="element-name">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> |
| <section class="detail" id="JOIN_CONDITION_PUSH"> |
| <h3>JOIN_CONDITION_PUSH</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="FilterJoinRule.JoinConditionPushRule.html" title="class in org.apache.calcite.rel.rules">FilterJoinRule.JoinConditionPushRule</a></span> <span class="element-name">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> |
| <section class="detail" id="JOIN_ADD_REDUNDANT_SEMI_JOIN"> |
| <h3>JOIN_ADD_REDUNDANT_SEMI_JOIN</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="JoinAddRedundantSemiJoinRule.html" title="class in org.apache.calcite.rel.rules">JoinAddRedundantSemiJoinRule</a></span> <span class="element-name">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> |
| <section class="detail" id="JOIN_ASSOCIATE"> |
| <h3>JOIN_ASSOCIATE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="JoinAssociateRule.html" title="class in org.apache.calcite.rel.rules">JoinAssociateRule</a></span> <span class="element-name">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> |
| <section class="detail" id="JOIN_COMMUTE"> |
| <h3>JOIN_COMMUTE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="JoinCommuteRule.html" title="class in org.apache.calcite.rel.rules">JoinCommuteRule</a></span> <span class="element-name">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> |
| <section class="detail" id="JOIN_COMMUTE_OUTER"> |
| <h3>JOIN_COMMUTE_OUTER</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="JoinCommuteRule.html" title="class in org.apache.calcite.rel.rules">JoinCommuteRule</a></span> <span class="element-name">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> |
| <section class="detail" id="JOIN_EXTRACT_FILTER"> |
| <h3>JOIN_EXTRACT_FILTER</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="JoinExtractFilterRule.html" title="class in org.apache.calcite.rel.rules">JoinExtractFilterRule</a></span> <span class="element-name">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> |
| <section class="detail" id="JOIN_PROJECT_BOTH_TRANSPOSE"> |
| <h3>JOIN_PROJECT_BOTH_TRANSPOSE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="JoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">JoinProjectTransposeRule</a></span> <span class="element-name">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> |
| <section class="detail" id="JOIN_PROJECT_LEFT_TRANSPOSE"> |
| <h3>JOIN_PROJECT_LEFT_TRANSPOSE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="JoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">JoinProjectTransposeRule</a></span> <span class="element-name">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> |
| <section class="detail" id="JOIN_PROJECT_RIGHT_TRANSPOSE"> |
| <h3>JOIN_PROJECT_RIGHT_TRANSPOSE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="JoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">JoinProjectTransposeRule</a></span> <span class="element-name">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> |
| <section class="detail" id="JOIN_PROJECT_BOTH_TRANSPOSE_INCLUDE_OUTER"> |
| <h3>JOIN_PROJECT_BOTH_TRANSPOSE_INCLUDE_OUTER</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="JoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">JoinProjectTransposeRule</a></span> <span class="element-name">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> |
| <section class="detail" id="JOIN_PROJECT_LEFT_TRANSPOSE_INCLUDE_OUTER"> |
| <h3>JOIN_PROJECT_LEFT_TRANSPOSE_INCLUDE_OUTER</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="JoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">JoinProjectTransposeRule</a></span> <span class="element-name">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> |
| <section class="detail" id="JOIN_PROJECT_RIGHT_TRANSPOSE_INCLUDE_OUTER"> |
| <h3>JOIN_PROJECT_RIGHT_TRANSPOSE_INCLUDE_OUTER</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="JoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">JoinProjectTransposeRule</a></span> <span class="element-name">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> |
| <section class="detail" id="JOIN_PUSH_EXPRESSIONS"> |
| <h3>JOIN_PUSH_EXPRESSIONS</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="JoinPushExpressionsRule.html" title="class in org.apache.calcite.rel.rules">JoinPushExpressionsRule</a></span> <span class="element-name">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> |
| <section class="detail" id="JOIN_PUSH_TRANSITIVE_PREDICATES"> |
| <h3>JOIN_PUSH_TRANSITIVE_PREDICATES</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="JoinPushTransitivePredicatesRule.html" title="class in org.apache.calcite.rel.rules">JoinPushTransitivePredicatesRule</a></span> <span class="element-name">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> |
| <section class="detail" id="JOIN_DERIVE_IS_NOT_NULL_FILTER_RULE"> |
| <h3>JOIN_DERIVE_IS_NOT_NULL_FILTER_RULE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="JoinDeriveIsNotNullFilterRule.html" title="class in org.apache.calcite.rel.rules">JoinDeriveIsNotNullFilterRule</a></span> <span class="element-name">JOIN_DERIVE_IS_NOT_NULL_FILTER_RULE</span></div> |
| <div class="block">Rule that derives IS NOT NULL predicates from a inner <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 with those predicates as new inputs of the <a href="../core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a>.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="JOIN_REDUCE_EXPRESSIONS"> |
| <h3>JOIN_REDUCE_EXPRESSIONS</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="ReduceExpressionsRule.JoinReduceExpressionsRule.html" title="class in org.apache.calcite.rel.rules">ReduceExpressionsRule.JoinReduceExpressionsRule</a></span> <span class="element-name">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 class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="#FILTER_REDUCE_EXPRESSIONS"><code>FILTER_REDUCE_EXPRESSIONS</code></a></li> |
| <li><a href="#PROJECT_REDUCE_EXPRESSIONS"><code>PROJECT_REDUCE_EXPRESSIONS</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="JOIN_ON_UNIQUE_TO_SEMI_JOIN"> |
| <h3>JOIN_ON_UNIQUE_TO_SEMI_JOIN</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="SemiJoinRule.JoinOnUniqueToSemiJoinRule.html" title="class in org.apache.calcite.rel.rules">SemiJoinRule.JoinOnUniqueToSemiJoinRule</a></span> <span class="element-name">JOIN_ON_UNIQUE_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>, and it's right keys are unique in its right input.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="JOIN_TO_CORRELATE"> |
| <h3>JOIN_TO_CORRELATE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="JoinToCorrelateRule.html" title="class in org.apache.calcite.rel.rules">JoinToCorrelateRule</a></span> <span class="element-name">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> |
| <section class="detail" id="JOIN_TO_MULTI_JOIN"> |
| <h3>JOIN_TO_MULTI_JOIN</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="JoinToMultiJoinRule.html" title="class in org.apache.calcite.rel.rules">JoinToMultiJoinRule</a></span> <span class="element-name">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> |
| <section class="detail" id="JOIN_TO_SEMI_JOIN"> |
| <h3>JOIN_TO_SEMI_JOIN</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="SemiJoinRule.JoinToSemiJoinRule.html" title="class in org.apache.calcite.rel.rules">SemiJoinRule.JoinToSemiJoinRule</a></span> <span class="element-name">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 class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="#PROJECT_TO_SEMI_JOIN"><code>PROJECT_TO_SEMI_JOIN</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="JOIN_LEFT_UNION_TRANSPOSE"> |
| <h3>JOIN_LEFT_UNION_TRANSPOSE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="JoinUnionTransposeRule.html" title="class in org.apache.calcite.rel.rules">JoinUnionTransposeRule</a></span> <span class="element-name">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> |
| <section class="detail" id="JOIN_RIGHT_UNION_TRANSPOSE"> |
| <h3>JOIN_RIGHT_UNION_TRANSPOSE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="JoinUnionTransposeRule.html" title="class in org.apache.calcite.rel.rules">JoinUnionTransposeRule</a></span> <span class="element-name">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> |
| <section class="detail" id="MULTI_JOIN_OPTIMIZE"> |
| <h3>MULTI_JOIN_OPTIMIZE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="LoptOptimizeJoinRule.html" title="class in org.apache.calcite.rel.rules">LoptOptimizeJoinRule</a></span> <span class="element-name">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 class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="#JOIN_TO_MULTI_JOIN"><code>JOIN_TO_MULTI_JOIN</code></a></li> |
| <li><a href="#MULTI_JOIN_OPTIMIZE_BUSHY"><code>MULTI_JOIN_OPTIMIZE_BUSHY</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="MULTI_JOIN_OPTIMIZE_BUSHY"> |
| <h3>MULTI_JOIN_OPTIMIZE_BUSHY</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="MultiJoinOptimizeBushyRule.html" title="class in org.apache.calcite.rel.rules">MultiJoinOptimizeBushyRule</a></span> <span class="element-name">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 class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="#MULTI_JOIN_OPTIMIZE"><code>MULTI_JOIN_OPTIMIZE</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="MULTI_JOIN_BOTH_PROJECT"> |
| <h3>MULTI_JOIN_BOTH_PROJECT</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="MultiJoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">MultiJoinProjectTransposeRule</a></span> <span class="element-name">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> |
| <section class="detail" id="MULTI_JOIN_LEFT_PROJECT"> |
| <h3>MULTI_JOIN_LEFT_PROJECT</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="MultiJoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">MultiJoinProjectTransposeRule</a></span> <span class="element-name">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> |
| <section class="detail" id="MULTI_JOIN_RIGHT_PROJECT"> |
| <h3>MULTI_JOIN_RIGHT_PROJECT</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="MultiJoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">MultiJoinProjectTransposeRule</a></span> <span class="element-name">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> |
| <section class="detail" id="SEMI_JOIN_FILTER_TRANSPOSE"> |
| <h3>SEMI_JOIN_FILTER_TRANSPOSE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="SemiJoinFilterTransposeRule.html" title="class in org.apache.calcite.rel.rules">SemiJoinFilterTransposeRule</a></span> <span class="element-name">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 class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="#SEMI_JOIN_PROJECT_TRANSPOSE"><code>SEMI_JOIN_PROJECT_TRANSPOSE</code></a></li> |
| <li><a href="#SEMI_JOIN_JOIN_TRANSPOSE"><code>SEMI_JOIN_JOIN_TRANSPOSE</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="SEMI_JOIN_PROJECT_TRANSPOSE"> |
| <h3>SEMI_JOIN_PROJECT_TRANSPOSE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="SemiJoinProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">SemiJoinProjectTransposeRule</a></span> <span class="element-name">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 class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="#SEMI_JOIN_FILTER_TRANSPOSE"><code>SEMI_JOIN_FILTER_TRANSPOSE</code></a></li> |
| <li><a href="#SEMI_JOIN_JOIN_TRANSPOSE"><code>SEMI_JOIN_JOIN_TRANSPOSE</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="SEMI_JOIN_JOIN_TRANSPOSE"> |
| <h3>SEMI_JOIN_JOIN_TRANSPOSE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="SemiJoinJoinTransposeRule.html" title="class in org.apache.calcite.rel.rules">SemiJoinJoinTransposeRule</a></span> <span class="element-name">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 class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="#SEMI_JOIN_FILTER_TRANSPOSE"><code>SEMI_JOIN_FILTER_TRANSPOSE</code></a></li> |
| <li><a href="#SEMI_JOIN_PROJECT_TRANSPOSE"><code>SEMI_JOIN_PROJECT_TRANSPOSE</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="SEMI_JOIN_REMOVE"> |
| <h3>SEMI_JOIN_REMOVE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="SemiJoinRemoveRule.html" title="class in org.apache.calcite.rel.rules">SemiJoinRemoveRule</a></span> <span class="element-name">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> |
| <section class="detail" id="SORT_UNION_TRANSPOSE"> |
| <h3>SORT_UNION_TRANSPOSE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="SortUnionTransposeRule.html" title="class in org.apache.calcite.rel.rules">SortUnionTransposeRule</a></span> <span class="element-name">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 class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list-long"> |
| <li><a href="#SORT_UNION_TRANSPOSE_MATCH_NULL_FETCH"><code>SORT_UNION_TRANSPOSE_MATCH_NULL_FETCH</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="SORT_UNION_TRANSPOSE_MATCH_NULL_FETCH"> |
| <h3>SORT_UNION_TRANSPOSE_MATCH_NULL_FETCH</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="SortUnionTransposeRule.html" title="class in org.apache.calcite.rel.rules">SortUnionTransposeRule</a></span> <span class="element-name">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> |
| <section class="detail" id="SORT_JOIN_COPY"> |
| <h3>SORT_JOIN_COPY</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="SortJoinCopyRule.html" title="class in org.apache.calcite.rel.rules">SortJoinCopyRule</a></span> <span class="element-name">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> |
| <section class="detail" id="SORT_REMOVE"> |
| <h3>SORT_REMOVE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="SortRemoveRule.html" title="class in org.apache.calcite.rel.rules">SortRemoveRule</a></span> <span class="element-name">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> |
| <section class="detail" id="SORT_REMOVE_CONSTANT_KEYS"> |
| <h3>SORT_REMOVE_CONSTANT_KEYS</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="SortRemoveConstantKeysRule.html" title="class in org.apache.calcite.rel.rules">SortRemoveConstantKeysRule</a></span> <span class="element-name">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> |
| <section class="detail" id="SORT_JOIN_TRANSPOSE"> |
| <h3>SORT_JOIN_TRANSPOSE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="SortJoinTransposeRule.html" title="class in org.apache.calcite.rel.rules">SortJoinTransposeRule</a></span> <span class="element-name">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> |
| <section class="detail" id="SORT_PROJECT_TRANSPOSE"> |
| <h3>SORT_PROJECT_TRANSPOSE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="SortProjectTransposeRule.html" title="class in org.apache.calcite.rel.rules">SortProjectTransposeRule</a></span> <span class="element-name">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> |
| <section class="detail" id="UNION_MERGE"> |
| <h3>UNION_MERGE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="UnionMergeRule.html" title="class in org.apache.calcite.rel.rules">UnionMergeRule</a></span> <span class="element-name">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> |
| <section class="detail" id="UNION_REMOVE"> |
| <h3>UNION_REMOVE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="UnionEliminatorRule.html" title="class in org.apache.calcite.rel.rules">UnionEliminatorRule</a></span> <span class="element-name">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 class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="PruneEmptyRules.html#UNION_INSTANCE"><code>PruneEmptyRules.UNION_INSTANCE</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="UNION_PULL_UP_CONSTANTS"> |
| <h3>UNION_PULL_UP_CONSTANTS</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="UnionPullUpConstantsRule.html" title="class in org.apache.calcite.rel.rules">UnionPullUpConstantsRule</a></span> <span class="element-name">UNION_PULL_UP_CONSTANTS</span></div> |
| <div class="block">Rule that pulls up constants through a Union operator.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="UNION_TO_DISTINCT"> |
| <h3>UNION_TO_DISTINCT</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="UnionToDistinctRule.html" title="class in org.apache.calcite.rel.rules">UnionToDistinctRule</a></span> <span class="element-name">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> |
| <section class="detail" id="AGGREGATE_VALUES"> |
| <h3>AGGREGATE_VALUES</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="AggregateValuesRule.html" title="class in org.apache.calcite.rel.rules">AggregateValuesRule</a></span> <span class="element-name">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> |
| <section class="detail" id="FILTER_VALUES_MERGE"> |
| <h3>FILTER_VALUES_MERGE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="ValuesReduceRule.html" title="class in org.apache.calcite.rel.rules">ValuesReduceRule</a></span> <span class="element-name">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> |
| <section class="detail" id="PROJECT_VALUES_MERGE"> |
| <h3>PROJECT_VALUES_MERGE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="ValuesReduceRule.html" title="class in org.apache.calcite.rel.rules">ValuesReduceRule</a></span> <span class="element-name">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> |
| <section class="detail" id="PROJECT_FILTER_VALUES_MERGE"> |
| <h3>PROJECT_FILTER_VALUES_MERGE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="ValuesReduceRule.html" title="class in org.apache.calcite.rel.rules">ValuesReduceRule</a></span> <span class="element-name">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> |
| <section class="detail" id="WINDOW_REDUCE_EXPRESSIONS"> |
| <h3>WINDOW_REDUCE_EXPRESSIONS</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="ReduceExpressionsRule.WindowReduceExpressionsRule.html" title="class in org.apache.calcite.rel.rules">ReduceExpressionsRule.WindowReduceExpressionsRule</a></span> <span class="element-name">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 class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="#FILTER_REDUCE_EXPRESSIONS"><code>FILTER_REDUCE_EXPRESSIONS</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <!-- ========= END OF CLASS DATA ========= --> |
| </main> |
| <footer role="contentinfo"> |
| <hr> |
| <p class="legal-copy"><small>Copyright © 2012-2023 Apache Software Foundation. All Rights Reserved.</small></p> |
| </footer> |
| </div> |
| </div> |
| </body> |
| </html> |