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