blob: 8d0d83c8a285731750fed38471bb392f07f2cbde [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>RelBuilder (Apache Calcite calcite API)</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="RelBuilder (Apache Calcite calcite API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":42,"i6":42,"i7":42,"i8":42,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":9,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":42,"i71":42,"i72":10,"i73":10,"i74":10,"i75":42,"i76":10,"i77":10,"i78":10,"i79":10,"i80":10,"i81":10,"i82":10,"i83":10,"i84":10,"i85":10,"i86":10,"i87":10,"i88":10,"i89":10,"i90":10,"i91":10,"i92":10,"i93":10,"i94":10,"i95":10,"i96":10,"i97":10,"i98":10,"i99":10,"i100":10,"i101":10,"i102":10,"i103":10,"i104":10,"i105":10,"i106":10,"i107":10,"i108":10,"i109":10,"i110":10,"i111":10,"i112":10,"i113":10,"i114":10,"i115":10,"i116":10,"i117":10,"i118":10,"i119":10,"i120":10,"i121":10,"i122":10,"i123":10,"i124":10,"i125":10,"i126":10,"i127":10,"i128":9,"i129":9,"i130":10,"i131":10,"i132":10,"i133":10,"i134":10,"i135":10,"i136":10,"i137":10,"i138":10,"i139":42,"i140":10,"i141":10,"i142":10,"i143":10,"i144":10,"i145":10,"i146":10,"i147":10,"i148":10,"i149":10,"i150":10,"i151":10,"i152":10,"i153":10,"i154":10,"i155":10,"i156":10,"i157":10,"i158":10,"i159":10,"i160":10,"i161":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><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">
<li><a href="../../../../org/apache/calcite/tools/Programs.html" title="class in org.apache.calcite.tools"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/calcite/tools/RelBuilder.html" target="_top">Frames</a></li>
<li><a href="RelBuilder.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&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><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.calcite.tools</div>
<h2 title="Class RelBuilder" class="title">Class RelBuilder</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.calcite.tools.RelBuilder</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../org/apache/calcite/tools/PigRelBuilder.html" title="class in org.apache.calcite.tools">PigRelBuilder</a>, <a href="../../../../org/apache/calcite/piglet/PigRelBuilder.html" title="class in org.apache.calcite.piglet">PigRelBuilder</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">RelBuilder</span>
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">Builder for relational expressions.
<p><code>RelBuilder</code> does not make possible anything that you could not
also accomplish by calling the factory methods of the particular relational
expression. But it makes common tasks more straightforward and concise.
<p><code>RelBuilder</code> uses factories to create relational expressions.
By default, it uses the default factories, which create logical relational
expressions (<a href="../../../../org/apache/calcite/rel/logical/LogicalFilter.html" title="class in org.apache.calcite.rel.logical"><code>LogicalFilter</code></a>,
<a href="../../../../org/apache/calcite/rel/logical/LogicalProject.html" title="class in org.apache.calcite.rel.logical"><code>LogicalProject</code></a> and so forth).
But you could override those factories so that, say, <code>filter</code> creates
instead a <code>HiveFilter</code>.
<p>It is not thread-safe.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static interface&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a></span></code>
<div class="block">Information necessary to create a call to an aggregate function.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static interface&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.Config.html" title="interface in org.apache.calcite.tools">RelBuilder.Config</a></span></code>
<div class="block">Configuration of RelBuilder.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.ConfigBuilder.html" title="class in org.apache.calcite.tools">RelBuilder.ConfigBuilder</a></span></code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">Use the <code>withXxx</code> methods in
<a href="../../../../org/apache/calcite/tools/RelBuilder.Config.html" title="interface in org.apache.calcite.tools"><code>RelBuilder.Config</code></a>.</span></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static interface&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.GroupKey.html" title="interface in org.apache.calcite.tools">RelBuilder.GroupKey</a></span></code>
<div class="block">Information necessary to create the GROUP BY clause of an Aggregate.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.GroupKeyImpl.html" title="class in org.apache.calcite.tools">RelBuilder.GroupKeyImpl</a></span></code>
<div class="block">Implementation of <a href="../../../../org/apache/calcite/tools/RelBuilder.GroupKey.html" title="interface in org.apache.calcite.tools"><code>RelBuilder.GroupKey</code></a>.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../org/apache/calcite/plan/RelOptCluster.html" title="class in org.apache.calcite.plan">RelOptCluster</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#cluster">cluster</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../org/apache/calcite/plan/RelOptSchema.html" title="interface in org.apache.calcite.plan">RelOptSchema</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#relOptSchema">relOptSchema</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier</th>
<th class="colLast" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected </code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#RelBuilder-org.apache.calcite.plan.Context-org.apache.calcite.plan.RelOptCluster-org.apache.calcite.plan.RelOptSchema-">RelBuilder</a></span>(<a href="../../../../org/apache/calcite/plan/Context.html" title="interface in org.apache.calcite.plan">Context</a>&nbsp;context,
<a href="../../../../org/apache/calcite/plan/RelOptCluster.html" title="class in org.apache.calcite.plan">RelOptCluster</a>&nbsp;cluster,
<a href="../../../../org/apache/calcite/plan/RelOptSchema.html" title="interface in org.apache.calcite.plan">RelOptSchema</a>&nbsp;relOptSchema)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#adoptConvention-org.apache.calcite.plan.Convention-">adoptConvention</a></span>(<a href="../../../../org/apache/calcite/plan/Convention.html" title="interface in org.apache.calcite.plan">Convention</a>&nbsp;convention)</code>
<div class="block">Returns new RelBuilder that adopts the convention provided.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#aggregate-org.apache.calcite.tools.RelBuilder.GroupKey-java.lang.Iterable-">aggregate</a></span>(<a href="../../../../org/apache/calcite/tools/RelBuilder.GroupKey.html" title="interface in org.apache.calcite.tools">RelBuilder.GroupKey</a>&nbsp;groupKey,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a>&gt;&nbsp;aggCalls)</code>
<div class="block">Creates an <a href="../../../../org/apache/calcite/rel/core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> with multiple
calls.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#aggregate-org.apache.calcite.tools.RelBuilder.GroupKey-java.util.List-">aggregate</a></span>(<a href="../../../../org/apache/calcite/tools/RelBuilder.GroupKey.html" title="interface in org.apache.calcite.tools">RelBuilder.GroupKey</a>&nbsp;groupKey,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/calcite/rel/core/AggregateCall.html" title="class in org.apache.calcite.rel.core">AggregateCall</a>&gt;&nbsp;aggregateCalls)</code>
<div class="block">Creates an <a href="../../../../org/apache/calcite/rel/core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> with an array of
<a href="../../../../org/apache/calcite/rel/core/AggregateCall.html" title="class in org.apache.calcite.rel.core"><code>AggregateCall</code></a>s.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#aggregate-org.apache.calcite.tools.RelBuilder.GroupKey-org.apache.calcite.tools.RelBuilder.AggCall...-">aggregate</a></span>(<a href="../../../../org/apache/calcite/tools/RelBuilder.GroupKey.html" title="interface in org.apache.calcite.tools">RelBuilder.GroupKey</a>&nbsp;groupKey,
<a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a>...&nbsp;aggCalls)</code>
<div class="block">Creates an <a href="../../../../org/apache/calcite/rel/core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> with an array of
calls.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#aggregateCall-org.apache.calcite.sql.SqlAggFunction-boolean-boolean-boolean-org.apache.calcite.rex.RexNode-com.google.common.collect.ImmutableList-java.lang.String-com.google.common.collect.ImmutableList-">aggregateCall</a></span>(<a href="../../../../org/apache/calcite/sql/SqlAggFunction.html" title="class in org.apache.calcite.sql">SqlAggFunction</a>&nbsp;aggFunction,
boolean&nbsp;distinct,
boolean&nbsp;approximate,
boolean&nbsp;ignoreNulls,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;filter,
com.google.common.collect.ImmutableList&lt;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;orderKeys,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;alias,
com.google.common.collect.ImmutableList&lt;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;operands)</code>
<div class="block">Creates a call to an aggregate function with all applicable operands.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#aggregateCall-org.apache.calcite.sql.SqlAggFunction-boolean-boolean-org.apache.calcite.rex.RexNode-java.lang.String-java.lang.Iterable-">aggregateCall</a></span>(<a href="../../../../org/apache/calcite/sql/SqlAggFunction.html" title="class in org.apache.calcite.sql">SqlAggFunction</a>&nbsp;aggFunction,
boolean&nbsp;distinct,
boolean&nbsp;approximate,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;filter,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;alias,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;operands)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#aggregateCall-org.apache.calcite.sql.SqlAggFunction-boolean-boolean-org.apache.calcite.rex.RexNode-java.lang.String-org.apache.calcite.rex.RexNode...-">aggregateCall</a></span>(<a href="../../../../org/apache/calcite/sql/SqlAggFunction.html" title="class in org.apache.calcite.sql">SqlAggFunction</a>&nbsp;aggFunction,
boolean&nbsp;distinct,
boolean&nbsp;approximate,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;filter,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;alias,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;operands)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#aggregateCall-org.apache.calcite.sql.SqlAggFunction-boolean-org.apache.calcite.rex.RexNode-java.lang.String-java.lang.Iterable-">aggregateCall</a></span>(<a href="../../../../org/apache/calcite/sql/SqlAggFunction.html" title="class in org.apache.calcite.sql">SqlAggFunction</a>&nbsp;aggFunction,
boolean&nbsp;distinct,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;filter,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;alias,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;operands)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#aggregateCall-org.apache.calcite.sql.SqlAggFunction-boolean-org.apache.calcite.rex.RexNode-java.lang.String-org.apache.calcite.rex.RexNode...-">aggregateCall</a></span>(<a href="../../../../org/apache/calcite/sql/SqlAggFunction.html" title="class in org.apache.calcite.sql">SqlAggFunction</a>&nbsp;aggFunction,
boolean&nbsp;distinct,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;filter,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;alias,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;operands)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#aggregateCall-org.apache.calcite.sql.SqlAggFunction-java.lang.Iterable-">aggregateCall</a></span>(<a href="../../../../org/apache/calcite/sql/SqlAggFunction.html" title="class in org.apache.calcite.sql">SqlAggFunction</a>&nbsp;aggFunction,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;operands)</code>
<div class="block">Creates a call to an aggregate function.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#aggregateCall-org.apache.calcite.sql.SqlAggFunction-org.apache.calcite.rex.RexNode...-">aggregateCall</a></span>(<a href="../../../../org/apache/calcite/sql/SqlAggFunction.html" title="class in org.apache.calcite.sql">SqlAggFunction</a>&nbsp;aggFunction,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;operands)</code>
<div class="block">Creates a call to an aggregate function.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#alias-org.apache.calcite.rex.RexNode-java.lang.String-">alias</a></span>(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;expr,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;alias)</code>
<div class="block">Returns an expression wrapped in an alias.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#and-java.lang.Iterable-">and</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;operands)</code>
<div class="block">Creates an AND.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#and-org.apache.calcite.rex.RexNode...-">and</a></span>(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;operands)</code>
<div class="block">Creates an AND.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#antiJoin-java.lang.Iterable-">antiJoin</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;conditions)</code>
<div class="block">Creates an anti-join.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#antiJoin-org.apache.calcite.rex.RexNode...-">antiJoin</a></span>(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;conditions)</code>
<div class="block">Creates an anti-join.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#as-java.lang.String-">as</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;alias)</code>
<div class="block">Assigns a table alias to the top entry on the stack.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#avg-boolean-java.lang.String-org.apache.calcite.rex.RexNode-">avg</a></span>(boolean&nbsp;distinct,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;alias,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;operand)</code>
<div class="block">Creates a call to the <code>AVG</code> aggregate function,
optionally distinct and with an alias.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#avg-org.apache.calcite.rex.RexNode-">avg</a></span>(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;operand)</code>
<div class="block">Creates a call to the <code>AVG</code> aggregate function.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#build--">build</a></span>()</code>
<div class="block">Returns the final relational expression.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#call-org.apache.calcite.sql.SqlOperator-java.lang.Iterable-">call</a></span>(<a href="../../../../org/apache/calcite/sql/SqlOperator.html" title="class in org.apache.calcite.sql">SqlOperator</a>&nbsp;operator,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;operands)</code>
<div class="block">Creates a call to a scalar operator.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#call-org.apache.calcite.sql.SqlOperator-org.apache.calcite.rex.RexNode...-">call</a></span>(<a href="../../../../org/apache/calcite/sql/SqlOperator.html" title="class in org.apache.calcite.sql">SqlOperator</a>&nbsp;operator,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;operands)</code>
<div class="block">Creates a call to a scalar operator.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#cast-org.apache.calcite.rex.RexNode-org.apache.calcite.sql.type.SqlTypeName-">cast</a></span>(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;expr,
<a href="../../../../org/apache/calcite/sql/type/SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&nbsp;typeName)</code>
<div class="block">Creates an expression that casts an expression to a given type.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#cast-org.apache.calcite.rex.RexNode-org.apache.calcite.sql.type.SqlTypeName-int-">cast</a></span>(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;expr,
<a href="../../../../org/apache/calcite/sql/type/SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&nbsp;typeName,
int&nbsp;precision)</code>
<div class="block">Creates an expression that casts an expression to a type with a given name
and precision or length.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#cast-org.apache.calcite.rex.RexNode-org.apache.calcite.sql.type.SqlTypeName-int-int-">cast</a></span>(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;expr,
<a href="../../../../org/apache/calcite/sql/type/SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&nbsp;typeName,
int&nbsp;precision,
int&nbsp;scale)</code>
<div class="block">Creates an expression that casts an expression to a type with a given
name, precision and scale.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#clear--">clear</a></span>()</code>
<div class="block">Clears the stack.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#convert-org.apache.calcite.rel.type.RelDataType-boolean-">convert</a></span>(<a href="../../../../org/apache/calcite/rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;castRowType,
boolean&nbsp;rename)</code>
<div class="block">Creates a projection that converts the current relational expression's
output to a desired row type.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#correlate-org.apache.calcite.rel.core.JoinRelType-org.apache.calcite.rel.core.CorrelationId-java.lang.Iterable-">correlate</a></span>(<a href="../../../../org/apache/calcite/rel/core/JoinRelType.html" title="enum in org.apache.calcite.rel.core">JoinRelType</a>&nbsp;joinType,
<a href="../../../../org/apache/calcite/rel/core/CorrelationId.html" title="class in org.apache.calcite.rel.core">CorrelationId</a>&nbsp;correlationId,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;requiredFields)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Correlate.html" title="class in org.apache.calcite.rel.core"><code>Correlate</code></a>
with a <a href="../../../../org/apache/calcite/rel/core/CorrelationId.html" title="class in org.apache.calcite.rel.core"><code>CorrelationId</code></a> and a list of fields that are used by correlation.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#correlate-org.apache.calcite.rel.core.JoinRelType-org.apache.calcite.rel.core.CorrelationId-org.apache.calcite.rex.RexNode...-">correlate</a></span>(<a href="../../../../org/apache/calcite/rel/core/JoinRelType.html" title="enum in org.apache.calcite.rel.core">JoinRelType</a>&nbsp;joinType,
<a href="../../../../org/apache/calcite/rel/core/CorrelationId.html" title="class in org.apache.calcite.rel.core">CorrelationId</a>&nbsp;correlationId,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;requiredFields)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Correlate.html" title="class in org.apache.calcite.rel.core"><code>Correlate</code></a>
with a <a href="../../../../org/apache/calcite/rel/core/CorrelationId.html" title="class in org.apache.calcite.rel.core"><code>CorrelationId</code></a> and an array of fields that are used by correlation.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#count-boolean-java.lang.String-java.lang.Iterable-">count</a></span>(boolean&nbsp;distinct,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;alias,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;operands)</code>
<div class="block">Creates a call to the <code>COUNT</code> aggregate function,
optionally distinct and with an alias.</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#count-boolean-java.lang.String-org.apache.calcite.rex.RexNode...-">count</a></span>(boolean&nbsp;distinct,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;alias,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;operands)</code>
<div class="block">Creates a call to the <code>COUNT</code> aggregate function,
optionally distinct and with an alias.</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#count-java.lang.Iterable-">count</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;operands)</code>
<div class="block">Creates a call to the <code>COUNT</code> aggregate function.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#count-org.apache.calcite.rex.RexNode...-">count</a></span>(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;operands)</code>
<div class="block">Creates a call to the <code>COUNT</code> aggregate function.</div>
</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#countStar-java.lang.String-">countStar</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;alias)</code>
<div class="block">Creates a call to the <code>COUNT(*)</code> aggregate function.</div>
</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#create-org.apache.calcite.tools.FrameworkConfig-">create</a></span>(<a href="../../../../org/apache/calcite/tools/FrameworkConfig.html" title="interface in org.apache.calcite.tools">FrameworkConfig</a>&nbsp;config)</code>
<div class="block">Creates a RelBuilder.</div>
</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#cursor-int-int-">cursor</a></span>(int&nbsp;inputCount,
int&nbsp;ordinal)</code>
<div class="block">Creates a RexCall to the <code>CURSOR</code> function by ordinal.</div>
</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#desc-org.apache.calcite.rex.RexNode-">desc</a></span>(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;node)</code>
<div class="block">Converts a sort expression to descending.</div>
</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#distinct--">distinct</a></span>()</code>
<div class="block">Creates an <a href="../../../../org/apache/calcite/rel/core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> that makes the
relational expression distinct on all fields.</div>
</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#dot-org.apache.calcite.rex.RexNode-int-">dot</a></span>(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;node,
int&nbsp;fieldOrdinal)</code>
<div class="block">Creates an access to a field by ordinal.</div>
</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#dot-org.apache.calcite.rex.RexNode-java.lang.String-">dot</a></span>(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;node,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName)</code>
<div class="block">Creates an access to a field by name.</div>
</td>
</tr>
<tr id="i40" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#empty--">empty</a></span>()</code>
<div class="block">Creates a relational expression that reads from an input and throws
all of the rows away.</div>
</td>
</tr>
<tr id="i41" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#equals-org.apache.calcite.rex.RexNode-org.apache.calcite.rex.RexNode-">equals</a></span>(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;operand0,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;operand1)</code>
<div class="block">Creates an <code>=</code>.</div>
</td>
</tr>
<tr id="i42" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#exchange-org.apache.calcite.rel.RelDistribution-">exchange</a></span>(<a href="../../../../org/apache/calcite/rel/RelDistribution.html" title="interface in org.apache.calcite.rel">RelDistribution</a>&nbsp;distribution)</code>
<div class="block">Creates an Exchange by distribution.</div>
</td>
</tr>
<tr id="i43" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexInputRef.html" title="class in org.apache.calcite.rex">RexInputRef</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#field-int-">field</a></span>(int&nbsp;fieldOrdinal)</code>
<div class="block">Creates a reference to an input field by ordinal.</div>
</td>
</tr>
<tr id="i44" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexInputRef.html" title="class in org.apache.calcite.rex">RexInputRef</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#field-int-int-int-">field</a></span>(int&nbsp;inputCount,
int&nbsp;inputOrdinal,
int&nbsp;fieldOrdinal)</code>
<div class="block">Creates a reference to a field of a given input relational expression
by ordinal.</div>
</td>
</tr>
<tr id="i45" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexInputRef.html" title="class in org.apache.calcite.rex">RexInputRef</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#field-int-int-java.lang.String-">field</a></span>(int&nbsp;inputCount,
int&nbsp;inputOrdinal,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName)</code>
<div class="block">Creates a reference to a field of given input relational expression
by name.</div>
</td>
</tr>
<tr id="i46" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#field-int-java.lang.String-java.lang.String-">field</a></span>(int&nbsp;inputCount,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;alias,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName)</code>
<div class="block">Creates a reference to a field which originated in a relation with the
given alias.</div>
</td>
</tr>
<tr id="i47" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#field-org.apache.calcite.rex.RexNode-java.lang.String-">field</a></span>(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;e,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
<div class="block">Returns a reference to a given field of a record-valued expression.</div>
</td>
</tr>
<tr id="i48" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexInputRef.html" title="class in org.apache.calcite.rex">RexInputRef</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#field-java.lang.String-">field</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName)</code>
<div class="block">Creates a reference to a field by name.</div>
</td>
</tr>
<tr id="i49" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#field-java.lang.String-java.lang.String-">field</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;alias,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName)</code>
<div class="block">Creates a reference to a field of the current record which originated
in a relation with a given alias.</div>
</td>
</tr>
<tr id="i50" class="altColor">
<td class="colFirst"><code>com.google.common.collect.ImmutableList&lt;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#fields--">fields</a></span>()</code>
<div class="block">Returns references to the fields of the top input.</div>
</td>
</tr>
<tr id="i51" class="rowColor">
<td class="colFirst"><code>com.google.common.collect.ImmutableList&lt;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#fields-org.apache.calcite.util.ImmutableBitSet-">fields</a></span>(<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="class in org.apache.calcite.util">ImmutableBitSet</a>&nbsp;ordinals)</code>
<div class="block">Returns references to fields for a given bit set of input ordinals.</div>
</td>
</tr>
<tr id="i52" class="altColor">
<td class="colFirst"><code>com.google.common.collect.ImmutableList&lt;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#fields-int-int-">fields</a></span>(int&nbsp;inputCount,
int&nbsp;inputOrdinal)</code>
<div class="block">Returns references to the fields of a given input.</div>
</td>
</tr>
<tr id="i53" class="rowColor">
<td class="colFirst"><code>com.google.common.collect.ImmutableList&lt;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#fields-java.lang.Iterable-">fields</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;fieldNames)</code>
<div class="block">Returns references to fields identified by name.</div>
</td>
</tr>
<tr id="i54" class="altColor">
<td class="colFirst"><code>com.google.common.collect.ImmutableList&lt;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#fields-java.util.List-">fields</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a>&gt;&nbsp;ordinals)</code>
<div class="block">Returns references to fields for a given list of input ordinals.</div>
</td>
</tr>
<tr id="i55" class="rowColor">
<td class="colFirst"><code>com.google.common.collect.ImmutableList&lt;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#fields-org.apache.calcite.util.mapping.Mappings.TargetMapping-">fields</a></span>(<a href="../../../../org/apache/calcite/util/mapping/Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a>&nbsp;mapping)</code>
<div class="block">Returns references to fields identified by a mapping.</div>
</td>
</tr>
<tr id="i56" class="altColor">
<td class="colFirst"><code>com.google.common.collect.ImmutableList&lt;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#fields-org.apache.calcite.rel.RelCollation-">fields</a></span>(<a href="../../../../org/apache/calcite/rel/RelCollation.html" title="interface in org.apache.calcite.rel">RelCollation</a>&nbsp;collation)</code>
<div class="block">Returns references to fields for a given collation.</div>
</td>
</tr>
<tr id="i57" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#filter-java.lang.Iterable-">filter</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;predicates)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a> of a list of
predicates.</div>
</td>
</tr>
<tr id="i58" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#filter-java.lang.Iterable-java.lang.Iterable-">filter</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="../../../../org/apache/calcite/rel/core/CorrelationId.html" title="class in org.apache.calcite.rel.core">CorrelationId</a>&gt;&nbsp;variablesSet,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;predicates)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a> of a list of correlation variables
and a list of predicates.</div>
</td>
</tr>
<tr id="i59" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#filter-java.lang.Iterable-org.apache.calcite.rex.RexNode...-">filter</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="../../../../org/apache/calcite/rel/core/CorrelationId.html" title="class in org.apache.calcite.rel.core">CorrelationId</a>&gt;&nbsp;variablesSet,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;predicates)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a> of a list of correlation variables
and an array of predicates.</div>
</td>
</tr>
<tr id="i60" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#filter-org.apache.calcite.rex.RexNode...-">filter</a></span>(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;predicates)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a> of an array of
predicates.</div>
</td>
</tr>
<tr id="i61" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#functionScan-org.apache.calcite.sql.SqlOperator-int-java.lang.Iterable-">functionScan</a></span>(<a href="../../../../org/apache/calcite/sql/SqlOperator.html" title="class in org.apache.calcite.sql">SqlOperator</a>&nbsp;operator,
int&nbsp;inputCount,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;operands)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/TableFunctionScan.html" title="class in org.apache.calcite.rel.core"><code>TableFunctionScan</code></a>.</div>
</td>
</tr>
<tr id="i62" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#functionScan-org.apache.calcite.sql.SqlOperator-int-org.apache.calcite.rex.RexNode...-">functionScan</a></span>(<a href="../../../../org/apache/calcite/sql/SqlOperator.html" title="class in org.apache.calcite.sql">SqlOperator</a>&nbsp;operator,
int&nbsp;inputCount,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;operands)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/TableFunctionScan.html" title="class in org.apache.calcite.rel.core"><code>TableFunctionScan</code></a>.</div>
</td>
</tr>
<tr id="i63" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/plan/RelOptCluster.html" title="class in org.apache.calcite.plan">RelOptCluster</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#getCluster--">getCluster</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i64" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/plan/RelOptSchema.html" title="interface in org.apache.calcite.plan">RelOptSchema</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#getRelOptSchema--">getRelOptSchema</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i65" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexBuilder.html" title="class in org.apache.calcite.rex">RexBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#getRexBuilder--">getRexBuilder</a></span>()</code>
<div class="block">Returns the builder for <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex"><code>RexNode</code></a> expressions.</div>
</td>
</tr>
<tr id="i66" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rel/core/RelFactories.TableScanFactory.html" title="interface in org.apache.calcite.rel.core">RelFactories.TableScanFactory</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#getScanFactory--">getScanFactory</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i67" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rel/type/RelDataTypeFactory.html" title="interface in org.apache.calcite.rel.type">RelDataTypeFactory</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#getTypeFactory--">getTypeFactory</a></span>()</code>
<div class="block">Returns the type factory.</div>
</td>
</tr>
<tr id="i68" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.GroupKey.html" title="interface in org.apache.calcite.tools">RelBuilder.GroupKey</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#groupKey--">groupKey</a></span>()</code>
<div class="block">Creates an empty group key.</div>
</td>
</tr>
<tr id="i69" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.GroupKey.html" title="interface in org.apache.calcite.tools">RelBuilder.GroupKey</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#groupKey-org.apache.calcite.util.ImmutableBitSet-">groupKey</a></span>(<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="class in org.apache.calcite.util">ImmutableBitSet</a>&nbsp;groupSet)</code>
<div class="block">Creates a group key, identified by field positions
in the underlying relational expression.</div>
</td>
</tr>
<tr id="i70" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.GroupKey.html" title="interface in org.apache.calcite.tools">RelBuilder.GroupKey</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#groupKey-org.apache.calcite.util.ImmutableBitSet-boolean-com.google.common.collect.ImmutableList-">groupKey</a></span>(<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="class in org.apache.calcite.util">ImmutableBitSet</a>&nbsp;groupSet,
boolean&nbsp;indicator,
com.google.common.collect.ImmutableList&lt;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="class in org.apache.calcite.util">ImmutableBitSet</a>&gt;&nbsp;groupSets)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">Use <a href="../../../../org/apache/calcite/tools/RelBuilder.html#groupKey-org.apache.calcite.util.ImmutableBitSet-java.lang.Iterable-"><code>groupKey(ImmutableBitSet, Iterable)</code></a>.</span></div>
</div>
</td>
</tr>
<tr id="i71" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.GroupKey.html" title="interface in org.apache.calcite.tools">RelBuilder.GroupKey</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#groupKey-org.apache.calcite.util.ImmutableBitSet-com.google.common.collect.ImmutableList-">groupKey</a></span>(<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="class in org.apache.calcite.util">ImmutableBitSet</a>&nbsp;groupSet,
com.google.common.collect.ImmutableList&lt;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="class in org.apache.calcite.util">ImmutableBitSet</a>&gt;&nbsp;groupSets)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">Use <a href="../../../../org/apache/calcite/tools/RelBuilder.html#groupKey-org.apache.calcite.util.ImmutableBitSet-"><code>groupKey(ImmutableBitSet)</code></a>
or <a href="../../../../org/apache/calcite/tools/RelBuilder.html#groupKey-org.apache.calcite.util.ImmutableBitSet-java.lang.Iterable-"><code>groupKey(ImmutableBitSet, Iterable)</code></a>.</span></div>
</div>
</td>
</tr>
<tr id="i72" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.GroupKey.html" title="interface in org.apache.calcite.tools">RelBuilder.GroupKey</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#groupKey-org.apache.calcite.util.ImmutableBitSet-java.lang.Iterable-">groupKey</a></span>(<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="class in org.apache.calcite.util">ImmutableBitSet</a>&nbsp;groupSet,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="class in org.apache.calcite.util">ImmutableBitSet</a>&gt;&nbsp;groupSets)</code>
<div class="block">Creates a group key with grouping sets, both identified by field positions
in the underlying relational expression.</div>
</td>
</tr>
<tr id="i73" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.GroupKey.html" title="interface in org.apache.calcite.tools">RelBuilder.GroupKey</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#groupKey-int...-">groupKey</a></span>(int...&nbsp;fieldOrdinals)</code>
<div class="block">Creates a group key of fields identified by ordinal.</div>
</td>
</tr>
<tr id="i74" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.GroupKey.html" title="interface in org.apache.calcite.tools">RelBuilder.GroupKey</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#groupKey-java.lang.Iterable-">groupKey</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;nodes)</code>
<div class="block">Creates a group key.</div>
</td>
</tr>
<tr id="i75" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.GroupKey.html" title="interface in org.apache.calcite.tools">RelBuilder.GroupKey</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#groupKey-java.lang.Iterable-boolean-java.lang.Iterable-">groupKey</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;nodes,
boolean&nbsp;indicator,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&gt;&nbsp;nodeLists)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">Now that indicator is deprecated, use
<a href="../../../../org/apache/calcite/tools/RelBuilder.html#groupKey-java.lang.Iterable-java.lang.Iterable-"><code>groupKey(Iterable, Iterable)</code></a>, which has the same behavior as
calling this method with <code>indicator = false</code>.</span></div>
</div>
</td>
</tr>
<tr id="i76" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.GroupKey.html" title="interface in org.apache.calcite.tools">RelBuilder.GroupKey</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#groupKey-java.lang.Iterable-java.lang.Iterable-">groupKey</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;nodes,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&gt;&nbsp;nodeLists)</code>
<div class="block">Creates a group key with grouping sets.</div>
</td>
</tr>
<tr id="i77" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.GroupKey.html" title="interface in org.apache.calcite.tools">RelBuilder.GroupKey</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#groupKey-org.apache.calcite.rex.RexNode...-">groupKey</a></span>(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;nodes)</code>
<div class="block">Creates a group key.</div>
</td>
</tr>
<tr id="i78" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.GroupKey.html" title="interface in org.apache.calcite.tools">RelBuilder.GroupKey</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#groupKey-java.lang.String...-">groupKey</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;fieldNames)</code>
<div class="block">Creates a group key of fields identified by name.</div>
</td>
</tr>
<tr id="i79" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#hints-java.lang.Iterable-">hints</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="../../../../org/apache/calcite/rel/hint/RelHint.html" title="class in org.apache.calcite.rel.hint">RelHint</a>&gt;&nbsp;hints)</code>
<div class="block">Attaches multiple hints to the stack top relational expression.</div>
</td>
</tr>
<tr id="i80" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#hints-org.apache.calcite.rel.hint.RelHint...-">hints</a></span>(<a href="../../../../org/apache/calcite/rel/hint/RelHint.html" title="class in org.apache.calcite.rel.hint">RelHint</a>...&nbsp;hints)</code>
<div class="block">Attaches an array of hints to the stack top relational expression.</div>
</td>
</tr>
<tr id="i81" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#intersect-boolean-">intersect</a></span>(boolean&nbsp;all)</code>
<div class="block">Creates an <a href="../../../../org/apache/calcite/rel/core/Intersect.html" title="class in org.apache.calcite.rel.core"><code>Intersect</code></a> of the two most
recent relational expressions on the stack.</div>
</td>
</tr>
<tr id="i82" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#intersect-boolean-int-">intersect</a></span>(boolean&nbsp;all,
int&nbsp;n)</code>
<div class="block">Creates an <a href="../../../../org/apache/calcite/rel/core/Intersect.html" title="class in org.apache.calcite.rel.core"><code>Intersect</code></a> of the <code>n</code>
most recent relational expressions on the stack.</div>
</td>
</tr>
<tr id="i83" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#isNotNull-org.apache.calcite.rex.RexNode-">isNotNull</a></span>(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;operand)</code>
<div class="block">Creates a IS NOT NULL.</div>
</td>
</tr>
<tr id="i84" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#isNull-org.apache.calcite.rex.RexNode-">isNull</a></span>(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;operand)</code>
<div class="block">Creates a IS NULL.</div>
</td>
</tr>
<tr id="i85" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#join-org.apache.calcite.rel.core.JoinRelType-java.lang.Iterable-">join</a></span>(<a href="../../../../org/apache/calcite/rel/core/JoinRelType.html" title="enum in org.apache.calcite.rel.core">JoinRelType</a>&nbsp;joinType,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;conditions)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> with multiple
conditions.</div>
</td>
</tr>
<tr id="i86" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#join-org.apache.calcite.rel.core.JoinRelType-org.apache.calcite.rex.RexNode-">join</a></span>(<a href="../../../../org/apache/calcite/rel/core/JoinRelType.html" title="enum in org.apache.calcite.rel.core">JoinRelType</a>&nbsp;joinType,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;condition)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> with one condition.</div>
</td>
</tr>
<tr id="i87" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#join-org.apache.calcite.rel.core.JoinRelType-org.apache.calcite.rex.RexNode-org.apache.calcite.rex.RexNode...-">join</a></span>(<a href="../../../../org/apache/calcite/rel/core/JoinRelType.html" title="enum in org.apache.calcite.rel.core">JoinRelType</a>&nbsp;joinType,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;condition0,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;conditions)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> with an array of conditions.</div>
</td>
</tr>
<tr id="i88" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#join-org.apache.calcite.rel.core.JoinRelType-org.apache.calcite.rex.RexNode-java.util.Set-">join</a></span>(<a href="../../../../org/apache/calcite/rel/core/JoinRelType.html" title="enum in org.apache.calcite.rel.core">JoinRelType</a>&nbsp;joinType,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;condition,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="../../../../org/apache/calcite/rel/core/CorrelationId.html" title="class in org.apache.calcite.rel.core">CorrelationId</a>&gt;&nbsp;variablesSet)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> with correlating variables.</div>
</td>
</tr>
<tr id="i89" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#join-org.apache.calcite.rel.core.JoinRelType-java.lang.String...-">join</a></span>(<a href="../../../../org/apache/calcite/rel/core/JoinRelType.html" title="enum in org.apache.calcite.rel.core">JoinRelType</a>&nbsp;joinType,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;fieldNames)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> using USING syntax.</div>
</td>
</tr>
<tr id="i90" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#limit-int-int-">limit</a></span>(int&nbsp;offset,
int&nbsp;fetch)</code>
<div class="block">Creates a limit without a sort.</div>
</td>
</tr>
<tr id="i91" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#literal-java.lang.Object-">literal</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
<div class="block">Creates a literal (constant expression).</div>
</td>
</tr>
<tr id="i92" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#match-org.apache.calcite.rex.RexNode-boolean-boolean-java.util.Map-java.lang.Iterable-org.apache.calcite.rex.RexNode-java.util.Map-boolean-java.lang.Iterable-java.lang.Iterable-org.apache.calcite.rex.RexNode-">match</a></span>(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;pattern,
boolean&nbsp;strictStart,
boolean&nbsp;strictEnd,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;patternDefinitions,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;measureList,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;after,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/util/SortedSet.html?is-external=true" title="class or interface in java.util">SortedSet</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&gt;&nbsp;subsets,
boolean&nbsp;allRows,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;partitionKeys,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;orderKeys,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;interval)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Match.html" title="class in org.apache.calcite.rel.core"><code>Match</code></a>.</div>
</td>
</tr>
<tr id="i93" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#max-org.apache.calcite.rex.RexNode-">max</a></span>(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;operand)</code>
<div class="block">Creates a call to the <code>MAX</code> aggregate function,
optionally with an alias.</div>
</td>
</tr>
<tr id="i94" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#max-java.lang.String-org.apache.calcite.rex.RexNode-">max</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;alias,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;operand)</code>
<div class="block">Creates a call to the <code>MAX</code> aggregate function.</div>
</td>
</tr>
<tr id="i95" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#min-org.apache.calcite.rex.RexNode-">min</a></span>(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;operand)</code>
<div class="block">Creates a call to the <code>MIN</code> aggregate function.</div>
</td>
</tr>
<tr id="i96" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#min-java.lang.String-org.apache.calcite.rex.RexNode-">min</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;alias,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;operand)</code>
<div class="block">Creates a call to the <code>MIN</code> aggregate function,
optionally with an alias.</div>
</td>
</tr>
<tr id="i97" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#minus-boolean-">minus</a></span>(boolean&nbsp;all)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Minus.html" title="class in org.apache.calcite.rel.core"><code>Minus</code></a> of the two most recent
relational expressions on the stack.</div>
</td>
</tr>
<tr id="i98" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#minus-boolean-int-">minus</a></span>(boolean&nbsp;all,
int&nbsp;n)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Minus.html" title="class in org.apache.calcite.rel.core"><code>Minus</code></a> of the <code>n</code>
most recent relational expressions on the stack.</div>
</td>
</tr>
<tr id="i99" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#not-org.apache.calcite.rex.RexNode-">not</a></span>(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;operand)</code>
<div class="block">Creates a NOT.</div>
</td>
</tr>
<tr id="i100" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#notEquals-org.apache.calcite.rex.RexNode-org.apache.calcite.rex.RexNode-">notEquals</a></span>(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;operand0,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;operand1)</code>
<div class="block">Creates a <code>&lt;&gt;</code>.</div>
</td>
</tr>
<tr id="i101" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#nullsFirst-org.apache.calcite.rex.RexNode-">nullsFirst</a></span>(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;node)</code>
<div class="block">Converts a sort expression to nulls first.</div>
</td>
</tr>
<tr id="i102" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#nullsLast-org.apache.calcite.rex.RexNode-">nullsLast</a></span>(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;node)</code>
<div class="block">Converts a sort expression to nulls last.</div>
</td>
</tr>
<tr id="i103" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#or-java.lang.Iterable-">or</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;operands)</code>
<div class="block">Creates an OR.</div>
</td>
</tr>
<tr id="i104" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#or-org.apache.calcite.rex.RexNode...-">or</a></span>(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;operands)</code>
<div class="block">Creates an OR.</div>
</td>
</tr>
<tr id="i105" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#patternAlter-java.lang.Iterable-">patternAlter</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;nodes)</code>
<div class="block">Creates a call that creates alternate patterns;
for use in <a href="../../../../org/apache/calcite/tools/RelBuilder.html#match-org.apache.calcite.rex.RexNode-boolean-boolean-java.util.Map-java.lang.Iterable-org.apache.calcite.rex.RexNode-java.util.Map-boolean-java.lang.Iterable-java.lang.Iterable-org.apache.calcite.rex.RexNode-"><code>match(org.apache.calcite.rex.RexNode, boolean, boolean, java.util.Map&lt;java.lang.String, org.apache.calcite.rex.RexNode&gt;, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, org.apache.calcite.rex.RexNode, java.util.Map&lt;java.lang.String, ? extends java.util.SortedSet&lt;java.lang.String&gt;&gt;, boolean, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, org.apache.calcite.rex.RexNode)</code></a>.</div>
</td>
</tr>
<tr id="i106" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#patternAlter-org.apache.calcite.rex.RexNode...-">patternAlter</a></span>(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;nodes)</code>
<div class="block">Creates a call that creates alternate patterns;
for use in <a href="../../../../org/apache/calcite/tools/RelBuilder.html#match-org.apache.calcite.rex.RexNode-boolean-boolean-java.util.Map-java.lang.Iterable-org.apache.calcite.rex.RexNode-java.util.Map-boolean-java.lang.Iterable-java.lang.Iterable-org.apache.calcite.rex.RexNode-"><code>match(org.apache.calcite.rex.RexNode, boolean, boolean, java.util.Map&lt;java.lang.String, org.apache.calcite.rex.RexNode&gt;, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, org.apache.calcite.rex.RexNode, java.util.Map&lt;java.lang.String, ? extends java.util.SortedSet&lt;java.lang.String&gt;&gt;, boolean, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, org.apache.calcite.rex.RexNode)</code></a>.</div>
</td>
</tr>
<tr id="i107" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#patternConcat-java.lang.Iterable-">patternConcat</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;nodes)</code>
<div class="block">Creates a call that concatenates patterns;
for use in <a href="../../../../org/apache/calcite/tools/RelBuilder.html#match-org.apache.calcite.rex.RexNode-boolean-boolean-java.util.Map-java.lang.Iterable-org.apache.calcite.rex.RexNode-java.util.Map-boolean-java.lang.Iterable-java.lang.Iterable-org.apache.calcite.rex.RexNode-"><code>match(org.apache.calcite.rex.RexNode, boolean, boolean, java.util.Map&lt;java.lang.String, org.apache.calcite.rex.RexNode&gt;, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, org.apache.calcite.rex.RexNode, java.util.Map&lt;java.lang.String, ? extends java.util.SortedSet&lt;java.lang.String&gt;&gt;, boolean, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, org.apache.calcite.rex.RexNode)</code></a>.</div>
</td>
</tr>
<tr id="i108" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#patternConcat-org.apache.calcite.rex.RexNode...-">patternConcat</a></span>(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;nodes)</code>
<div class="block">Creates a call that concatenates patterns;
for use in <a href="../../../../org/apache/calcite/tools/RelBuilder.html#match-org.apache.calcite.rex.RexNode-boolean-boolean-java.util.Map-java.lang.Iterable-org.apache.calcite.rex.RexNode-java.util.Map-boolean-java.lang.Iterable-java.lang.Iterable-org.apache.calcite.rex.RexNode-"><code>match(org.apache.calcite.rex.RexNode, boolean, boolean, java.util.Map&lt;java.lang.String, org.apache.calcite.rex.RexNode&gt;, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, org.apache.calcite.rex.RexNode, java.util.Map&lt;java.lang.String, ? extends java.util.SortedSet&lt;java.lang.String&gt;&gt;, boolean, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, org.apache.calcite.rex.RexNode)</code></a>.</div>
</td>
</tr>
<tr id="i109" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#patternExclude-org.apache.calcite.rex.RexNode-">patternExclude</a></span>(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;node)</code>
<div class="block">Creates a call that creates an exclude pattern;
for use in <a href="../../../../org/apache/calcite/tools/RelBuilder.html#match-org.apache.calcite.rex.RexNode-boolean-boolean-java.util.Map-java.lang.Iterable-org.apache.calcite.rex.RexNode-java.util.Map-boolean-java.lang.Iterable-java.lang.Iterable-org.apache.calcite.rex.RexNode-"><code>match(org.apache.calcite.rex.RexNode, boolean, boolean, java.util.Map&lt;java.lang.String, org.apache.calcite.rex.RexNode&gt;, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, org.apache.calcite.rex.RexNode, java.util.Map&lt;java.lang.String, ? extends java.util.SortedSet&lt;java.lang.String&gt;&gt;, boolean, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, org.apache.calcite.rex.RexNode)</code></a>.</div>
</td>
</tr>
<tr id="i110" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#patternField-java.lang.String-org.apache.calcite.rel.type.RelDataType-int-">patternField</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;alpha,
<a href="../../../../org/apache/calcite/rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
int&nbsp;i)</code>
<div class="block">Creates a reference to a given field of the pattern.</div>
</td>
</tr>
<tr id="i111" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#patternPermute-java.lang.Iterable-">patternPermute</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;nodes)</code>
<div class="block">Creates a call that creates permute patterns;
for use in <a href="../../../../org/apache/calcite/tools/RelBuilder.html#match-org.apache.calcite.rex.RexNode-boolean-boolean-java.util.Map-java.lang.Iterable-org.apache.calcite.rex.RexNode-java.util.Map-boolean-java.lang.Iterable-java.lang.Iterable-org.apache.calcite.rex.RexNode-"><code>match(org.apache.calcite.rex.RexNode, boolean, boolean, java.util.Map&lt;java.lang.String, org.apache.calcite.rex.RexNode&gt;, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, org.apache.calcite.rex.RexNode, java.util.Map&lt;java.lang.String, ? extends java.util.SortedSet&lt;java.lang.String&gt;&gt;, boolean, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, org.apache.calcite.rex.RexNode)</code></a>.</div>
</td>
</tr>
<tr id="i112" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#patternPermute-org.apache.calcite.rex.RexNode...-">patternPermute</a></span>(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;nodes)</code>
<div class="block">Creates a call that creates permute patterns;
for use in <a href="../../../../org/apache/calcite/tools/RelBuilder.html#match-org.apache.calcite.rex.RexNode-boolean-boolean-java.util.Map-java.lang.Iterable-org.apache.calcite.rex.RexNode-java.util.Map-boolean-java.lang.Iterable-java.lang.Iterable-org.apache.calcite.rex.RexNode-"><code>match(org.apache.calcite.rex.RexNode, boolean, boolean, java.util.Map&lt;java.lang.String, org.apache.calcite.rex.RexNode&gt;, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, org.apache.calcite.rex.RexNode, java.util.Map&lt;java.lang.String, ? extends java.util.SortedSet&lt;java.lang.String&gt;&gt;, boolean, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, org.apache.calcite.rex.RexNode)</code></a>.</div>
</td>
</tr>
<tr id="i113" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#patternQuantify-java.lang.Iterable-">patternQuantify</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;nodes)</code>
<div class="block">Creates a call that creates quantify patterns;
for use in <a href="../../../../org/apache/calcite/tools/RelBuilder.html#match-org.apache.calcite.rex.RexNode-boolean-boolean-java.util.Map-java.lang.Iterable-org.apache.calcite.rex.RexNode-java.util.Map-boolean-java.lang.Iterable-java.lang.Iterable-org.apache.calcite.rex.RexNode-"><code>match(org.apache.calcite.rex.RexNode, boolean, boolean, java.util.Map&lt;java.lang.String, org.apache.calcite.rex.RexNode&gt;, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, org.apache.calcite.rex.RexNode, java.util.Map&lt;java.lang.String, ? extends java.util.SortedSet&lt;java.lang.String&gt;&gt;, boolean, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, org.apache.calcite.rex.RexNode)</code></a>.</div>
</td>
</tr>
<tr id="i114" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#patternQuantify-org.apache.calcite.rex.RexNode...-">patternQuantify</a></span>(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;nodes)</code>
<div class="block">Creates a call that creates quantify patterns;
for use in <a href="../../../../org/apache/calcite/tools/RelBuilder.html#match-org.apache.calcite.rex.RexNode-boolean-boolean-java.util.Map-java.lang.Iterable-org.apache.calcite.rex.RexNode-java.util.Map-boolean-java.lang.Iterable-java.lang.Iterable-org.apache.calcite.rex.RexNode-"><code>match(org.apache.calcite.rex.RexNode, boolean, boolean, java.util.Map&lt;java.lang.String, org.apache.calcite.rex.RexNode&gt;, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, org.apache.calcite.rex.RexNode, java.util.Map&lt;java.lang.String, ? extends java.util.SortedSet&lt;java.lang.String&gt;&gt;, boolean, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, org.apache.calcite.rex.RexNode)</code></a>.</div>
</td>
</tr>
<tr id="i115" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#peek--">peek</a></span>()</code>
<div class="block">Returns the relational expression at the top of the stack, but does not
remove it.</div>
</td>
</tr>
<tr id="i116" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#peek-int-">peek</a></span>(int&nbsp;n)</code>
<div class="block">Returns the relational expression <code>n</code> positions from the top of the
stack, but does not remove it.</div>
</td>
</tr>
<tr id="i117" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#peek-int-int-">peek</a></span>(int&nbsp;inputCount,
int&nbsp;inputOrdinal)</code>
<div class="block">Returns the relational expression <code>n</code> positions from the top of the
stack, but does not remove it.</div>
</td>
</tr>
<tr id="i118" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#permute-org.apache.calcite.util.mapping.Mapping-">permute</a></span>(<a href="../../../../org/apache/calcite/util/mapping/Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a>&nbsp;mapping)</code>&nbsp;</td>
</tr>
<tr id="i119" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#project-java.lang.Iterable-">project</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;nodes)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> of the given list
of expressions.</div>
</td>
</tr>
<tr id="i120" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#project-java.lang.Iterable-java.lang.Iterable-">project</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;nodes,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;fieldNames)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> of the given list
of expressions and field names.</div>
</td>
</tr>
<tr id="i121" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#project-java.lang.Iterable-java.lang.Iterable-boolean-">project</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;nodes,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;fieldNames,
boolean&nbsp;force)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> of the given list
of expressions, using the given names.</div>
</td>
</tr>
<tr id="i122" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#project-org.apache.calcite.rex.RexNode...-">project</a></span>(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;nodes)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> of the given
expressions.</div>
</td>
</tr>
<tr id="i123" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#projectExcept-java.lang.Iterable-">projectExcept</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;expressions)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> of all original fields, except the given list of
expressions.</div>
</td>
</tr>
<tr id="i124" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#projectExcept-org.apache.calcite.rex.RexNode...-">projectExcept</a></span>(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;expressions)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> of all original fields, except the given
expressions.</div>
</td>
</tr>
<tr id="i125" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#projectNamed-java.lang.Iterable-java.lang.Iterable-boolean-">projectNamed</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;nodes,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;fieldNames,
boolean&nbsp;force)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> of the given
expressions and field names, and optionally optimizing.</div>
</td>
</tr>
<tr id="i126" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#projectPlus-java.lang.Iterable-">projectPlus</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;nodes)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> of all original fields, plus the given list of
expressions.</div>
</td>
</tr>
<tr id="i127" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#projectPlus-org.apache.calcite.rex.RexNode...-">projectPlus</a></span>(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;nodes)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> of all original fields, plus the given
expressions.</div>
</td>
</tr>
<tr id="i128" class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/calcite/tools/RelBuilderFactory.html" title="interface in org.apache.calcite.tools">RelBuilderFactory</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#proto-org.apache.calcite.plan.Context-">proto</a></span>(<a href="../../../../org/apache/calcite/plan/Context.html" title="interface in org.apache.calcite.plan">Context</a>&nbsp;context)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/tools/RelBuilderFactory.html" title="interface in org.apache.calcite.tools"><code>RelBuilderFactory</code></a>, a partially-created RelBuilder.</div>
</td>
</tr>
<tr id="i129" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/calcite/tools/RelBuilderFactory.html" title="interface in org.apache.calcite.tools">RelBuilderFactory</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#proto-java.lang.Object...-">proto</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>...&nbsp;factories)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/tools/RelBuilderFactory.html" title="interface in org.apache.calcite.tools"><code>RelBuilderFactory</code></a> that uses a given set of factories.</div>
</td>
</tr>
<tr id="i130" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#push-org.apache.calcite.rel.RelNode-">push</a></span>(<a href="../../../../org/apache/calcite/rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>&nbsp;node)</code>
<div class="block">Adds a relational expression to be the input to the next relational
expression constructed.</div>
</td>
</tr>
<tr id="i131" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#pushAll-java.lang.Iterable-">pushAll</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>&gt;&nbsp;nodes)</code>
<div class="block">Pushes a collection of relational expressions.</div>
</td>
</tr>
<tr id="i132" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#rename-java.util.List-">rename</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;fieldNames)</code>
<div class="block">Ensures that the field names match those given.</div>
</td>
</tr>
<tr id="i133" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#repeatUnion-java.lang.String-boolean-">repeatUnion</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName,
boolean&nbsp;all)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/RepeatUnion.html" title="class in org.apache.calcite.rel.core"><code>RepeatUnion</code></a> associated to a <a href="../../../../org/apache/calcite/schema/TransientTable.html" title="interface in org.apache.calcite.schema"><code>TransientTable</code></a> without a maximum number
of iterations, i.e.</div>
</td>
</tr>
<tr id="i134" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#repeatUnion-java.lang.String-boolean-int-">repeatUnion</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName,
boolean&nbsp;all,
int&nbsp;iterationLimit)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/RepeatUnion.html" title="class in org.apache.calcite.rel.core"><code>RepeatUnion</code></a> associated to a <a href="../../../../org/apache/calcite/schema/TransientTable.html" title="interface in org.apache.calcite.schema"><code>TransientTable</code></a> of the
two most recent relational expressions on the stack.</div>
</td>
</tr>
<tr id="i135" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#scan-java.lang.Iterable-">scan</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;tableNames)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/TableScan.html" title="class in org.apache.calcite.rel.core"><code>TableScan</code></a> of the table
with a given name.</div>
</td>
</tr>
<tr id="i136" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#scan-java.lang.String...-">scan</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;tableNames)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/TableScan.html" title="class in org.apache.calcite.rel.core"><code>TableScan</code></a> of the table
with a given name.</div>
</td>
</tr>
<tr id="i137" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#semiJoin-java.lang.Iterable-">semiJoin</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;conditions)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> with <a href="../../../../org/apache/calcite/rel/core/JoinRelType.html#SEMI"><code>JoinRelType.SEMI</code></a>.</div>
</td>
</tr>
<tr id="i138" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#semiJoin-org.apache.calcite.rex.RexNode...-">semiJoin</a></span>(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;conditions)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> with <a href="../../../../org/apache/calcite/rel/core/JoinRelType.html#SEMI"><code>JoinRelType.SEMI</code></a>.</div>
</td>
</tr>
<tr id="i139" class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#shouldMergeProject--">shouldMergeProject</a></span>()</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
</td>
</tr>
<tr id="i140" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#snapshot-org.apache.calcite.rex.RexNode-">snapshot</a></span>(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;period)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Snapshot.html" title="class in org.apache.calcite.rel.core"><code>Snapshot</code></a> of a given snapshot period.</div>
</td>
</tr>
<tr id="i141" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#sort-int...-">sort</a></span>(int...&nbsp;fields)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Sort.html" title="class in org.apache.calcite.rel.core"><code>Sort</code></a> by field ordinals.</div>
</td>
</tr>
<tr id="i142" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#sort-java.lang.Iterable-">sort</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;nodes)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Sort.html" title="class in org.apache.calcite.rel.core"><code>Sort</code></a> by expressions.</div>
</td>
</tr>
<tr id="i143" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#sort-org.apache.calcite.rel.RelCollation-">sort</a></span>(<a href="../../../../org/apache/calcite/rel/RelCollation.html" title="interface in org.apache.calcite.rel">RelCollation</a>&nbsp;collation)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Sort.html" title="class in org.apache.calcite.rel.core"><code>Sort</code></a> by specifying collations.</div>
</td>
</tr>
<tr id="i144" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#sort-org.apache.calcite.rex.RexNode...-">sort</a></span>(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;nodes)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Sort.html" title="class in org.apache.calcite.rel.core"><code>Sort</code></a> by expressions.</div>
</td>
</tr>
<tr id="i145" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#sortExchange-org.apache.calcite.rel.RelDistribution-org.apache.calcite.rel.RelCollation-">sortExchange</a></span>(<a href="../../../../org/apache/calcite/rel/RelDistribution.html" title="interface in org.apache.calcite.rel">RelDistribution</a>&nbsp;distribution,
<a href="../../../../org/apache/calcite/rel/RelCollation.html" title="interface in org.apache.calcite.rel">RelCollation</a>&nbsp;collation)</code>
<div class="block">Creates a SortExchange by distribution and collation.</div>
</td>
</tr>
<tr id="i146" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#sortLimit-int-int-java.lang.Iterable-">sortLimit</a></span>(int&nbsp;offset,
int&nbsp;fetch,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;nodes)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Sort.html" title="class in org.apache.calcite.rel.core"><code>Sort</code></a> by a list of expressions, with limit and offset.</div>
</td>
</tr>
<tr id="i147" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#sortLimit-int-int-org.apache.calcite.rex.RexNode...-">sortLimit</a></span>(int&nbsp;offset,
int&nbsp;fetch,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;nodes)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Sort.html" title="class in org.apache.calcite.rel.core"><code>Sort</code></a> by expressions, with limit and offset.</div>
</td>
</tr>
<tr id="i148" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#sum-boolean-java.lang.String-org.apache.calcite.rex.RexNode-">sum</a></span>(boolean&nbsp;distinct,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;alias,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;operand)</code>
<div class="block">Creates a call to the <code>SUM</code> aggregate function,
optionally distinct and with an alias.</div>
</td>
</tr>
<tr id="i149" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#sum-org.apache.calcite.rex.RexNode-">sum</a></span>(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;operand)</code>
<div class="block">Creates a call to the <code>SUM</code> aggregate function.</div>
</td>
</tr>
<tr id="i150" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#toString--">toString</a></span>()</code>
<div class="block">Converts this RelBuilder to a string.</div>
</td>
</tr>
<tr id="i151" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#transform-java.util.function.UnaryOperator-">transform</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/UnaryOperator.html?is-external=true" title="class or interface in java.util.function">UnaryOperator</a>&lt;<a href="../../../../org/apache/calcite/tools/RelBuilder.Config.html" title="interface in org.apache.calcite.tools">RelBuilder.Config</a>&gt;&nbsp;transform)</code>
<div class="block">Creates a copy of this RelBuilder, with the same state as this, applying
a transform to the config.</div>
</td>
</tr>
<tr id="i152" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#transientScan-java.lang.String-">transientScan</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/TableScan.html" title="class in org.apache.calcite.rel.core"><code>TableScan</code></a> on a <a href="../../../../org/apache/calcite/schema/TransientTable.html" title="interface in org.apache.calcite.schema"><code>TransientTable</code></a> with the given name, using as type
the top of the stack's type.</div>
</td>
</tr>
<tr id="i153" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#transientScan-java.lang.String-org.apache.calcite.rel.type.RelDataType-">transientScan</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName,
<a href="../../../../org/apache/calcite/rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;rowType)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/TableScan.html" title="class in org.apache.calcite.rel.core"><code>TableScan</code></a> on a <a href="../../../../org/apache/calcite/schema/TransientTable.html" title="interface in org.apache.calcite.schema"><code>TransientTable</code></a> with the given name and type.</div>
</td>
</tr>
<tr id="i154" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#uncollect-java.util.List-boolean-">uncollect</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;itemAliases,
boolean&nbsp;withOrdinality)</code>
<div class="block">Creates an <a href="../../../../org/apache/calcite/rel/core/Uncollect.html" title="class in org.apache.calcite.rel.core"><code>Uncollect</code></a> with given item aliases.</div>
</td>
</tr>
<tr id="i155" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#union-boolean-">union</a></span>(boolean&nbsp;all)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Union.html" title="class in org.apache.calcite.rel.core"><code>Union</code></a> of the two most recent
relational expressions on the stack.</div>
</td>
</tr>
<tr id="i156" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#union-boolean-int-">union</a></span>(boolean&nbsp;all,
int&nbsp;n)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Union.html" title="class in org.apache.calcite.rel.core"><code>Union</code></a> of the <code>n</code>
most recent relational expressions on the stack.</div>
</td>
</tr>
<tr id="i157" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#values-java.lang.Iterable-org.apache.calcite.rel.type.RelDataType-">values</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/calcite/rex/RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a>&gt;&gt;&nbsp;tupleList,
<a href="../../../../org/apache/calcite/rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;rowType)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Values.html" title="class in org.apache.calcite.rel.core"><code>Values</code></a> with a specified row type.</div>
</td>
</tr>
<tr id="i158" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#values-org.apache.calcite.rel.type.RelDataType-">values</a></span>(<a href="../../../../org/apache/calcite/rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;rowType)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Values.html" title="class in org.apache.calcite.rel.core"><code>Values</code></a> with a specified row type and
zero rows.</div>
</td>
</tr>
<tr id="i159" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#values-org.apache.calcite.rel.type.RelDataType-java.lang.Object...-">values</a></span>(<a href="../../../../org/apache/calcite/rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;rowType,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>...&nbsp;columnValues)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Values.html" title="class in org.apache.calcite.rel.core"><code>Values</code></a> with a specified row type.</div>
</td>
</tr>
<tr id="i160" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#values-java.lang.String:A-java.lang.Object...-">values</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;fieldNames,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>...&nbsp;values)</code>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Values.html" title="class in org.apache.calcite.rel.core"><code>Values</code></a>.</div>
</td>
</tr>
<tr id="i161" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/tools/RelBuilder.html#variable-org.apache.calcite.util.Holder-">variable</a></span>(<a href="../../../../org/apache/calcite/util/Holder.html" title="class in org.apache.calcite.util">Holder</a>&lt;<a href="../../../../org/apache/calcite/rex/RexCorrelVariable.html" title="class in org.apache.calcite.rex">RexCorrelVariable</a>&gt;&nbsp;v)</code>
<div class="block">Creates a correlation variable for the current input, and writes it into
a Holder.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="cluster">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cluster</h4>
<pre>protected final&nbsp;<a href="../../../../org/apache/calcite/plan/RelOptCluster.html" title="class in org.apache.calcite.plan">RelOptCluster</a> cluster</pre>
</li>
</ul>
<a name="relOptSchema">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>relOptSchema</h4>
<pre>protected final&nbsp;<a href="../../../../org/apache/calcite/plan/RelOptSchema.html" title="interface in org.apache.calcite.plan">RelOptSchema</a> relOptSchema</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="RelBuilder-org.apache.calcite.plan.Context-org.apache.calcite.plan.RelOptCluster-org.apache.calcite.plan.RelOptSchema-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>RelBuilder</h4>
<pre>protected&nbsp;RelBuilder(<a href="../../../../org/apache/calcite/plan/Context.html" title="interface in org.apache.calcite.plan">Context</a>&nbsp;context,
<a href="../../../../org/apache/calcite/plan/RelOptCluster.html" title="class in org.apache.calcite.plan">RelOptCluster</a>&nbsp;cluster,
<a href="../../../../org/apache/calcite/plan/RelOptSchema.html" title="interface in org.apache.calcite.plan">RelOptSchema</a>&nbsp;relOptSchema)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="create-org.apache.calcite.tools.FrameworkConfig-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>create</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;create(<a href="../../../../org/apache/calcite/tools/FrameworkConfig.html" title="interface in org.apache.calcite.tools">FrameworkConfig</a>&nbsp;config)</pre>
<div class="block">Creates a RelBuilder.</div>
</li>
</ul>
<a name="transform-java.util.function.UnaryOperator-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>transform</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;transform(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/UnaryOperator.html?is-external=true" title="class or interface in java.util.function">UnaryOperator</a>&lt;<a href="../../../../org/apache/calcite/tools/RelBuilder.Config.html" title="interface in org.apache.calcite.tools">RelBuilder.Config</a>&gt;&nbsp;transform)</pre>
<div class="block">Creates a copy of this RelBuilder, with the same state as this, applying
a transform to the config.</div>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString()</pre>
<div class="block">Converts this RelBuilder to a string.
The string is the string representation of all of the RelNodes on the stack.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
<a name="getTypeFactory--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTypeFactory</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rel/type/RelDataTypeFactory.html" title="interface in org.apache.calcite.rel.type">RelDataTypeFactory</a>&nbsp;getTypeFactory()</pre>
<div class="block">Returns the type factory.</div>
</li>
</ul>
<a name="adoptConvention-org.apache.calcite.plan.Convention-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>adoptConvention</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;adoptConvention(<a href="../../../../org/apache/calcite/plan/Convention.html" title="interface in org.apache.calcite.plan">Convention</a>&nbsp;convention)</pre>
<div class="block">Returns new RelBuilder that adopts the convention provided.
RelNode will be created with such convention if corresponding factory is provided.</div>
</li>
</ul>
<a name="getRexBuilder--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRexBuilder</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rex/RexBuilder.html" title="class in org.apache.calcite.rex">RexBuilder</a>&nbsp;getRexBuilder()</pre>
<div class="block">Returns the builder for <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex"><code>RexNode</code></a> expressions.</div>
</li>
</ul>
<a name="proto-org.apache.calcite.plan.Context-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>proto</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilderFactory.html" title="interface in org.apache.calcite.tools">RelBuilderFactory</a>&nbsp;proto(<a href="../../../../org/apache/calcite/plan/Context.html" title="interface in org.apache.calcite.plan">Context</a>&nbsp;context)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/tools/RelBuilderFactory.html" title="interface in org.apache.calcite.tools"><code>RelBuilderFactory</code></a>, a partially-created RelBuilder.
Just add a <a href="../../../../org/apache/calcite/plan/RelOptCluster.html" title="class in org.apache.calcite.plan"><code>RelOptCluster</code></a> and a <a href="../../../../org/apache/calcite/plan/RelOptSchema.html" title="interface in org.apache.calcite.plan"><code>RelOptSchema</code></a></div>
</li>
</ul>
<a name="proto-java.lang.Object...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>proto</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilderFactory.html" title="interface in org.apache.calcite.tools">RelBuilderFactory</a>&nbsp;proto(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>...&nbsp;factories)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/tools/RelBuilderFactory.html" title="interface in org.apache.calcite.tools"><code>RelBuilderFactory</code></a> that uses a given set of factories.</div>
</li>
</ul>
<a name="getCluster--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCluster</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/plan/RelOptCluster.html" title="class in org.apache.calcite.plan">RelOptCluster</a>&nbsp;getCluster()</pre>
</li>
</ul>
<a name="getRelOptSchema--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRelOptSchema</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/plan/RelOptSchema.html" title="interface in org.apache.calcite.plan">RelOptSchema</a>&nbsp;getRelOptSchema()</pre>
</li>
</ul>
<a name="getScanFactory--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getScanFactory</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rel/core/RelFactories.TableScanFactory.html" title="interface in org.apache.calcite.rel.core">RelFactories.TableScanFactory</a>&nbsp;getScanFactory()</pre>
</li>
</ul>
<a name="push-org.apache.calcite.rel.RelNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>push</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;push(<a href="../../../../org/apache/calcite/rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>&nbsp;node)</pre>
<div class="block">Adds a relational expression to be the input to the next relational
expression constructed.
<p>This method is usual when you want to weave in relational expressions
that are not supported by the builder. If, while creating such expressions,
you need to use previously built expressions as inputs, call
<a href="../../../../org/apache/calcite/tools/RelBuilder.html#build--"><code>build()</code></a> to pop those inputs.</div>
</li>
</ul>
<a name="pushAll-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>pushAll</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;pushAll(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>&gt;&nbsp;nodes)</pre>
<div class="block">Pushes a collection of relational expressions.</div>
</li>
</ul>
<a name="build--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>build</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>&nbsp;build()</pre>
<div class="block">Returns the final relational expression.
<p>Throws if the stack is empty.</div>
</li>
</ul>
<a name="peek--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>peek</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>&nbsp;peek()</pre>
<div class="block">Returns the relational expression at the top of the stack, but does not
remove it.</div>
</li>
</ul>
<a name="peek-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>peek</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>&nbsp;peek(int&nbsp;n)</pre>
<div class="block">Returns the relational expression <code>n</code> positions from the top of the
stack, but does not remove it.</div>
</li>
</ul>
<a name="peek-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>peek</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>&nbsp;peek(int&nbsp;inputCount,
int&nbsp;inputOrdinal)</pre>
<div class="block">Returns the relational expression <code>n</code> positions from the top of the
stack, but does not remove it.</div>
</li>
</ul>
<a name="literal-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>literal</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;literal(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</pre>
<div class="block">Creates a literal (constant expression).</div>
</li>
</ul>
<a name="variable-org.apache.calcite.util.Holder-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>variable</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;variable(<a href="../../../../org/apache/calcite/util/Holder.html" title="class in org.apache.calcite.util">Holder</a>&lt;<a href="../../../../org/apache/calcite/rex/RexCorrelVariable.html" title="class in org.apache.calcite.rex">RexCorrelVariable</a>&gt;&nbsp;v)</pre>
<div class="block">Creates a correlation variable for the current input, and writes it into
a Holder.</div>
</li>
</ul>
<a name="field-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>field</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rex/RexInputRef.html" title="class in org.apache.calcite.rex">RexInputRef</a>&nbsp;field(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName)</pre>
<div class="block">Creates a reference to a field by name.
<p>Equivalent to <code>field(1, 0, fieldName)</code>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>fieldName</code> - Field name</dd>
</dl>
</li>
</ul>
<a name="field-int-int-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>field</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rex/RexInputRef.html" title="class in org.apache.calcite.rex">RexInputRef</a>&nbsp;field(int&nbsp;inputCount,
int&nbsp;inputOrdinal,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName)</pre>
<div class="block">Creates a reference to a field of given input relational expression
by name.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>inputCount</code> - Number of inputs</dd>
<dd><code>inputOrdinal</code> - Input ordinal</dd>
<dd><code>fieldName</code> - Field name</dd>
</dl>
</li>
</ul>
<a name="field-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>field</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rex/RexInputRef.html" title="class in org.apache.calcite.rex">RexInputRef</a>&nbsp;field(int&nbsp;fieldOrdinal)</pre>
<div class="block">Creates a reference to an input field by ordinal.
<p>Equivalent to <code>field(1, 0, ordinal)</code>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>fieldOrdinal</code> - Field ordinal</dd>
</dl>
</li>
</ul>
<a name="field-int-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>field</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rex/RexInputRef.html" title="class in org.apache.calcite.rex">RexInputRef</a>&nbsp;field(int&nbsp;inputCount,
int&nbsp;inputOrdinal,
int&nbsp;fieldOrdinal)</pre>
<div class="block">Creates a reference to a field of a given input relational expression
by ordinal.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>inputCount</code> - Number of inputs</dd>
<dd><code>inputOrdinal</code> - Input ordinal</dd>
<dd><code>fieldOrdinal</code> - Field ordinal within input</dd>
</dl>
</li>
</ul>
<a name="field-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>field</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;field(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;alias,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName)</pre>
<div class="block">Creates a reference to a field of the current record which originated
in a relation with a given alias.</div>
</li>
</ul>
<a name="field-int-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>field</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;field(int&nbsp;inputCount,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;alias,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName)</pre>
<div class="block">Creates a reference to a field which originated in a relation with the
given alias. Searches for the relation starting at the top of the
stack.</div>
</li>
</ul>
<a name="field-org.apache.calcite.rex.RexNode-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>field</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;field(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;e,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
<div class="block">Returns a reference to a given field of a record-valued expression.</div>
</li>
</ul>
<a name="fields--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fields</h4>
<pre>public&nbsp;com.google.common.collect.ImmutableList&lt;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;fields()</pre>
<div class="block">Returns references to the fields of the top input.</div>
</li>
</ul>
<a name="fields-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fields</h4>
<pre>public&nbsp;com.google.common.collect.ImmutableList&lt;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;fields(int&nbsp;inputCount,
int&nbsp;inputOrdinal)</pre>
<div class="block">Returns references to the fields of a given input.</div>
</li>
</ul>
<a name="fields-org.apache.calcite.rel.RelCollation-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fields</h4>
<pre>public&nbsp;com.google.common.collect.ImmutableList&lt;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;fields(<a href="../../../../org/apache/calcite/rel/RelCollation.html" title="interface in org.apache.calcite.rel">RelCollation</a>&nbsp;collation)</pre>
<div class="block">Returns references to fields for a given collation.</div>
</li>
</ul>
<a name="fields-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fields</h4>
<pre>public&nbsp;com.google.common.collect.ImmutableList&lt;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;fields(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a>&gt;&nbsp;ordinals)</pre>
<div class="block">Returns references to fields for a given list of input ordinals.</div>
</li>
</ul>
<a name="fields-org.apache.calcite.util.ImmutableBitSet-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fields</h4>
<pre>public&nbsp;com.google.common.collect.ImmutableList&lt;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;fields(<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="class in org.apache.calcite.util">ImmutableBitSet</a>&nbsp;ordinals)</pre>
<div class="block">Returns references to fields for a given bit set of input ordinals.</div>
</li>
</ul>
<a name="fields-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fields</h4>
<pre>public&nbsp;com.google.common.collect.ImmutableList&lt;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;fields(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;fieldNames)</pre>
<div class="block">Returns references to fields identified by name.</div>
</li>
</ul>
<a name="fields-org.apache.calcite.util.mapping.Mappings.TargetMapping-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fields</h4>
<pre>public&nbsp;com.google.common.collect.ImmutableList&lt;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;fields(<a href="../../../../org/apache/calcite/util/mapping/Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a>&nbsp;mapping)</pre>
<div class="block">Returns references to fields identified by a mapping.</div>
</li>
</ul>
<a name="dot-org.apache.calcite.rex.RexNode-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dot</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;dot(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;node,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName)</pre>
<div class="block">Creates an access to a field by name.</div>
</li>
</ul>
<a name="dot-org.apache.calcite.rex.RexNode-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dot</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;dot(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;node,
int&nbsp;fieldOrdinal)</pre>
<div class="block">Creates an access to a field by ordinal.</div>
</li>
</ul>
<a name="call-org.apache.calcite.sql.SqlOperator-org.apache.calcite.rex.RexNode...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>call</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/javax/annotation/Nonnull.html?is-external=true" title="class or interface in javax.annotation">@Nonnull</a>
public&nbsp;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;call(<a href="../../../../org/apache/calcite/sql/SqlOperator.html" title="class in org.apache.calcite.sql">SqlOperator</a>&nbsp;operator,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;operands)</pre>
<div class="block">Creates a call to a scalar operator.</div>
</li>
</ul>
<a name="call-org.apache.calcite.sql.SqlOperator-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>call</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/javax/annotation/Nonnull.html?is-external=true" title="class or interface in javax.annotation">@Nonnull</a>
public&nbsp;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;call(<a href="../../../../org/apache/calcite/sql/SqlOperator.html" title="class in org.apache.calcite.sql">SqlOperator</a>&nbsp;operator,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;operands)</pre>
<div class="block">Creates a call to a scalar operator.</div>
</li>
</ul>
<a name="and-org.apache.calcite.rex.RexNode...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>and</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;and(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;operands)</pre>
<div class="block">Creates an AND.</div>
</li>
</ul>
<a name="and-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>and</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;and(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;operands)</pre>
<div class="block">Creates an AND.
<p>Simplifies the expression a little:
<code>e AND TRUE</code> becomes <code>e</code>;
<code>e AND e2 AND NOT e</code> becomes <code>e2</code>.</div>
</li>
</ul>
<a name="or-org.apache.calcite.rex.RexNode...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>or</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;or(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;operands)</pre>
<div class="block">Creates an OR.</div>
</li>
</ul>
<a name="or-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>or</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;or(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;operands)</pre>
<div class="block">Creates an OR.</div>
</li>
</ul>
<a name="not-org.apache.calcite.rex.RexNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>not</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;not(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;operand)</pre>
<div class="block">Creates a NOT.</div>
</li>
</ul>
<a name="equals-org.apache.calcite.rex.RexNode-org.apache.calcite.rex.RexNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;equals(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;operand0,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;operand1)</pre>
<div class="block">Creates an <code>=</code>.</div>
</li>
</ul>
<a name="notEquals-org.apache.calcite.rex.RexNode-org.apache.calcite.rex.RexNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>notEquals</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;notEquals(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;operand0,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;operand1)</pre>
<div class="block">Creates a <code>&lt;&gt;</code>.</div>
</li>
</ul>
<a name="isNull-org.apache.calcite.rex.RexNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNull</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;isNull(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;operand)</pre>
<div class="block">Creates a IS NULL.</div>
</li>
</ul>
<a name="isNotNull-org.apache.calcite.rex.RexNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNotNull</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;isNotNull(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;operand)</pre>
<div class="block">Creates a IS NOT NULL.</div>
</li>
</ul>
<a name="cast-org.apache.calcite.rex.RexNode-org.apache.calcite.sql.type.SqlTypeName-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cast</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;cast(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;expr,
<a href="../../../../org/apache/calcite/sql/type/SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&nbsp;typeName)</pre>
<div class="block">Creates an expression that casts an expression to a given type.</div>
</li>
</ul>
<a name="cast-org.apache.calcite.rex.RexNode-org.apache.calcite.sql.type.SqlTypeName-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cast</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;cast(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;expr,
<a href="../../../../org/apache/calcite/sql/type/SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&nbsp;typeName,
int&nbsp;precision)</pre>
<div class="block">Creates an expression that casts an expression to a type with a given name
and precision or length.</div>
</li>
</ul>
<a name="cast-org.apache.calcite.rex.RexNode-org.apache.calcite.sql.type.SqlTypeName-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cast</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;cast(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;expr,
<a href="../../../../org/apache/calcite/sql/type/SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&nbsp;typeName,
int&nbsp;precision,
int&nbsp;scale)</pre>
<div class="block">Creates an expression that casts an expression to a type with a given
name, precision and scale.</div>
</li>
</ul>
<a name="alias-org.apache.calcite.rex.RexNode-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>alias</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;alias(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;expr,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;alias)</pre>
<div class="block">Returns an expression wrapped in an alias.
<p>This method is idempotent: If the expression is already wrapped in the
correct alias, does nothing; if wrapped in an incorrect alias, removes
the incorrect alias and applies the correct alias.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/apache/calcite/tools/RelBuilder.html#project-org.apache.calcite.rex.RexNode...-"><code>project(org.apache.calcite.rex.RexNode...)</code></a></dd>
</dl>
</li>
</ul>
<a name="desc-org.apache.calcite.rex.RexNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>desc</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;desc(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;node)</pre>
<div class="block">Converts a sort expression to descending.</div>
</li>
</ul>
<a name="nullsLast-org.apache.calcite.rex.RexNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nullsLast</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;nullsLast(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;node)</pre>
<div class="block">Converts a sort expression to nulls last.</div>
</li>
</ul>
<a name="nullsFirst-org.apache.calcite.rex.RexNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nullsFirst</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;nullsFirst(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;node)</pre>
<div class="block">Converts a sort expression to nulls first.</div>
</li>
</ul>
<a name="groupKey--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>groupKey</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.GroupKey.html" title="interface in org.apache.calcite.tools">RelBuilder.GroupKey</a>&nbsp;groupKey()</pre>
<div class="block">Creates an empty group key.</div>
</li>
</ul>
<a name="groupKey-org.apache.calcite.rex.RexNode...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>groupKey</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.GroupKey.html" title="interface in org.apache.calcite.tools">RelBuilder.GroupKey</a>&nbsp;groupKey(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;nodes)</pre>
<div class="block">Creates a group key.</div>
</li>
</ul>
<a name="groupKey-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>groupKey</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.GroupKey.html" title="interface in org.apache.calcite.tools">RelBuilder.GroupKey</a>&nbsp;groupKey(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;nodes)</pre>
<div class="block">Creates a group key.</div>
</li>
</ul>
<a name="groupKey-java.lang.Iterable-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>groupKey</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.GroupKey.html" title="interface in org.apache.calcite.tools">RelBuilder.GroupKey</a>&nbsp;groupKey(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;nodes,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&gt;&nbsp;nodeLists)</pre>
<div class="block">Creates a group key with grouping sets.</div>
</li>
</ul>
<a name="groupKey-java.lang.Iterable-boolean-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>groupKey</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.GroupKey.html" title="interface in org.apache.calcite.tools">RelBuilder.GroupKey</a>&nbsp;groupKey(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;nodes,
boolean&nbsp;indicator,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&gt;&nbsp;nodeLists)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">Now that indicator is deprecated, use
<a href="../../../../org/apache/calcite/tools/RelBuilder.html#groupKey-java.lang.Iterable-java.lang.Iterable-"><code>groupKey(Iterable, Iterable)</code></a>, which has the same behavior as
calling this method with <code>indicator = false</code>.</span></div>
</li>
</ul>
<a name="groupKey-int...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>groupKey</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.GroupKey.html" title="interface in org.apache.calcite.tools">RelBuilder.GroupKey</a>&nbsp;groupKey(int...&nbsp;fieldOrdinals)</pre>
<div class="block">Creates a group key of fields identified by ordinal.</div>
</li>
</ul>
<a name="groupKey-java.lang.String...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>groupKey</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.GroupKey.html" title="interface in org.apache.calcite.tools">RelBuilder.GroupKey</a>&nbsp;groupKey(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;fieldNames)</pre>
<div class="block">Creates a group key of fields identified by name.</div>
</li>
</ul>
<a name="groupKey-org.apache.calcite.util.ImmutableBitSet-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>groupKey</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.GroupKey.html" title="interface in org.apache.calcite.tools">RelBuilder.GroupKey</a>&nbsp;groupKey(<a href="https://docs.oracle.com/javase/8/docs/api/javax/annotation/Nonnull.html?is-external=true" title="class or interface in javax.annotation">@Nonnull</a>
<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="class in org.apache.calcite.util">ImmutableBitSet</a>&nbsp;groupSet)</pre>
<div class="block">Creates a group key, identified by field positions
in the underlying relational expression.
<p>This method of creating a group key does not allow you to group on new
expressions, only column projections, but is efficient, especially when you
are coming from an existing <a href="../../../../org/apache/calcite/rel/core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a>.</div>
</li>
</ul>
<a name="groupKey-org.apache.calcite.util.ImmutableBitSet-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>groupKey</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.GroupKey.html" title="interface in org.apache.calcite.tools">RelBuilder.GroupKey</a>&nbsp;groupKey(<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="class in org.apache.calcite.util">ImmutableBitSet</a>&nbsp;groupSet,
<a href="https://docs.oracle.com/javase/8/docs/api/javax/annotation/Nonnull.html?is-external=true" title="class or interface in javax.annotation">@Nonnull</a>
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="class in org.apache.calcite.util">ImmutableBitSet</a>&gt;&nbsp;groupSets)</pre>
<div class="block">Creates a group key with grouping sets, both identified by field positions
in the underlying relational expression.
<p>This method of creating a group key does not allow you to group on new
expressions, only column projections, but is efficient, especially when you
are coming from an existing <a href="../../../../org/apache/calcite/rel/core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a>.</div>
</li>
</ul>
<a name="groupKey-org.apache.calcite.util.ImmutableBitSet-com.google.common.collect.ImmutableList-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>groupKey</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.GroupKey.html" title="interface in org.apache.calcite.tools">RelBuilder.GroupKey</a>&nbsp;groupKey(<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="class in org.apache.calcite.util">ImmutableBitSet</a>&nbsp;groupSet,
com.google.common.collect.ImmutableList&lt;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="class in org.apache.calcite.util">ImmutableBitSet</a>&gt;&nbsp;groupSets)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">Use <a href="../../../../org/apache/calcite/tools/RelBuilder.html#groupKey-org.apache.calcite.util.ImmutableBitSet-"><code>groupKey(ImmutableBitSet)</code></a>
or <a href="../../../../org/apache/calcite/tools/RelBuilder.html#groupKey-org.apache.calcite.util.ImmutableBitSet-java.lang.Iterable-"><code>groupKey(ImmutableBitSet, Iterable)</code></a>.</span></div>
</li>
</ul>
<a name="groupKey-org.apache.calcite.util.ImmutableBitSet-boolean-com.google.common.collect.ImmutableList-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>groupKey</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.GroupKey.html" title="interface in org.apache.calcite.tools">RelBuilder.GroupKey</a>&nbsp;groupKey(<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="class in org.apache.calcite.util">ImmutableBitSet</a>&nbsp;groupSet,
boolean&nbsp;indicator,
com.google.common.collect.ImmutableList&lt;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="class in org.apache.calcite.util">ImmutableBitSet</a>&gt;&nbsp;groupSets)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">Use <a href="../../../../org/apache/calcite/tools/RelBuilder.html#groupKey-org.apache.calcite.util.ImmutableBitSet-java.lang.Iterable-"><code>groupKey(ImmutableBitSet, Iterable)</code></a>.</span></div>
</li>
</ul>
<a name="aggregateCall-org.apache.calcite.sql.SqlAggFunction-boolean-org.apache.calcite.rex.RexNode-java.lang.String-org.apache.calcite.rex.RexNode...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>aggregateCall</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a>&nbsp;aggregateCall(<a href="../../../../org/apache/calcite/sql/SqlAggFunction.html" title="class in org.apache.calcite.sql">SqlAggFunction</a>&nbsp;aggFunction,
boolean&nbsp;distinct,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;filter,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;alias,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;operands)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
</li>
</ul>
<a name="aggregateCall-org.apache.calcite.sql.SqlAggFunction-boolean-boolean-org.apache.calcite.rex.RexNode-java.lang.String-org.apache.calcite.rex.RexNode...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>aggregateCall</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a>&nbsp;aggregateCall(<a href="../../../../org/apache/calcite/sql/SqlAggFunction.html" title="class in org.apache.calcite.sql">SqlAggFunction</a>&nbsp;aggFunction,
boolean&nbsp;distinct,
boolean&nbsp;approximate,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;filter,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;alias,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;operands)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
</li>
</ul>
<a name="aggregateCall-org.apache.calcite.sql.SqlAggFunction-boolean-org.apache.calcite.rex.RexNode-java.lang.String-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>aggregateCall</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a>&nbsp;aggregateCall(<a href="../../../../org/apache/calcite/sql/SqlAggFunction.html" title="class in org.apache.calcite.sql">SqlAggFunction</a>&nbsp;aggFunction,
boolean&nbsp;distinct,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;filter,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;alias,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;operands)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
</li>
</ul>
<a name="aggregateCall-org.apache.calcite.sql.SqlAggFunction-boolean-boolean-org.apache.calcite.rex.RexNode-java.lang.String-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>aggregateCall</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a>&nbsp;aggregateCall(<a href="../../../../org/apache/calcite/sql/SqlAggFunction.html" title="class in org.apache.calcite.sql">SqlAggFunction</a>&nbsp;aggFunction,
boolean&nbsp;distinct,
boolean&nbsp;approximate,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;filter,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;alias,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;operands)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
</li>
</ul>
<a name="aggregateCall-org.apache.calcite.sql.SqlAggFunction-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>aggregateCall</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a>&nbsp;aggregateCall(<a href="../../../../org/apache/calcite/sql/SqlAggFunction.html" title="class in org.apache.calcite.sql">SqlAggFunction</a>&nbsp;aggFunction,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;operands)</pre>
<div class="block">Creates a call to an aggregate function.
<p>To add other operands, apply
<a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html#distinct--"><code>RelBuilder.AggCall.distinct()</code></a>,
<a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html#approximate-boolean-"><code>RelBuilder.AggCall.approximate(boolean)</code></a>,
<a href="../../../../org/apache/calcite/tools/RelBuilder.html#filter-org.apache.calcite.rex.RexNode...-"><code>filter(RexNode...)</code></a>,
<a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html#sort-java.lang.Iterable-"><code>RelBuilder.AggCall.sort(java.lang.Iterable&lt;org.apache.calcite.rex.RexNode&gt;)</code></a>,
<a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html#as-java.lang.String-"><code>RelBuilder.AggCall.as(java.lang.String)</code></a> to the result.</div>
</li>
</ul>
<a name="aggregateCall-org.apache.calcite.sql.SqlAggFunction-org.apache.calcite.rex.RexNode...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>aggregateCall</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a>&nbsp;aggregateCall(<a href="../../../../org/apache/calcite/sql/SqlAggFunction.html" title="class in org.apache.calcite.sql">SqlAggFunction</a>&nbsp;aggFunction,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;operands)</pre>
<div class="block">Creates a call to an aggregate function.
<p>To add other operands, apply
<a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html#distinct--"><code>RelBuilder.AggCall.distinct()</code></a>,
<a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html#approximate-boolean-"><code>RelBuilder.AggCall.approximate(boolean)</code></a>,
<a href="../../../../org/apache/calcite/tools/RelBuilder.html#filter-org.apache.calcite.rex.RexNode...-"><code>filter(RexNode...)</code></a>,
<a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html#sort-java.lang.Iterable-"><code>RelBuilder.AggCall.sort(java.lang.Iterable&lt;org.apache.calcite.rex.RexNode&gt;)</code></a>,
<a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html#as-java.lang.String-"><code>RelBuilder.AggCall.as(java.lang.String)</code></a> to the result.</div>
</li>
</ul>
<a name="aggregateCall-org.apache.calcite.sql.SqlAggFunction-boolean-boolean-boolean-org.apache.calcite.rex.RexNode-com.google.common.collect.ImmutableList-java.lang.String-com.google.common.collect.ImmutableList-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>aggregateCall</h4>
<pre>protected&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a>&nbsp;aggregateCall(<a href="../../../../org/apache/calcite/sql/SqlAggFunction.html" title="class in org.apache.calcite.sql">SqlAggFunction</a>&nbsp;aggFunction,
boolean&nbsp;distinct,
boolean&nbsp;approximate,
boolean&nbsp;ignoreNulls,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;filter,
com.google.common.collect.ImmutableList&lt;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;orderKeys,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;alias,
com.google.common.collect.ImmutableList&lt;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;operands)</pre>
<div class="block">Creates a call to an aggregate function with all applicable operands.</div>
</li>
</ul>
<a name="count-org.apache.calcite.rex.RexNode...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>count</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a>&nbsp;count(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;operands)</pre>
<div class="block">Creates a call to the <code>COUNT</code> aggregate function.</div>
</li>
</ul>
<a name="count-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>count</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a>&nbsp;count(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;operands)</pre>
<div class="block">Creates a call to the <code>COUNT</code> aggregate function.</div>
</li>
</ul>
<a name="count-boolean-java.lang.String-org.apache.calcite.rex.RexNode...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>count</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a>&nbsp;count(boolean&nbsp;distinct,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;alias,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;operands)</pre>
<div class="block">Creates a call to the <code>COUNT</code> aggregate function,
optionally distinct and with an alias.</div>
</li>
</ul>
<a name="count-boolean-java.lang.String-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>count</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a>&nbsp;count(boolean&nbsp;distinct,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;alias,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;operands)</pre>
<div class="block">Creates a call to the <code>COUNT</code> aggregate function,
optionally distinct and with an alias.</div>
</li>
</ul>
<a name="countStar-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>countStar</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a>&nbsp;countStar(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;alias)</pre>
<div class="block">Creates a call to the <code>COUNT(*)</code> aggregate function.</div>
</li>
</ul>
<a name="sum-org.apache.calcite.rex.RexNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sum</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a>&nbsp;sum(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;operand)</pre>
<div class="block">Creates a call to the <code>SUM</code> aggregate function.</div>
</li>
</ul>
<a name="sum-boolean-java.lang.String-org.apache.calcite.rex.RexNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sum</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a>&nbsp;sum(boolean&nbsp;distinct,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;alias,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;operand)</pre>
<div class="block">Creates a call to the <code>SUM</code> aggregate function,
optionally distinct and with an alias.</div>
</li>
</ul>
<a name="avg-org.apache.calcite.rex.RexNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>avg</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a>&nbsp;avg(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;operand)</pre>
<div class="block">Creates a call to the <code>AVG</code> aggregate function.</div>
</li>
</ul>
<a name="avg-boolean-java.lang.String-org.apache.calcite.rex.RexNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>avg</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a>&nbsp;avg(boolean&nbsp;distinct,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;alias,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;operand)</pre>
<div class="block">Creates a call to the <code>AVG</code> aggregate function,
optionally distinct and with an alias.</div>
</li>
</ul>
<a name="min-org.apache.calcite.rex.RexNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>min</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a>&nbsp;min(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;operand)</pre>
<div class="block">Creates a call to the <code>MIN</code> aggregate function.</div>
</li>
</ul>
<a name="min-java.lang.String-org.apache.calcite.rex.RexNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>min</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a>&nbsp;min(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;alias,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;operand)</pre>
<div class="block">Creates a call to the <code>MIN</code> aggregate function,
optionally with an alias.</div>
</li>
</ul>
<a name="max-org.apache.calcite.rex.RexNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>max</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a>&nbsp;max(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;operand)</pre>
<div class="block">Creates a call to the <code>MAX</code> aggregate function,
optionally with an alias.</div>
</li>
</ul>
<a name="max-java.lang.String-org.apache.calcite.rex.RexNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>max</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a>&nbsp;max(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;alias,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;operand)</pre>
<div class="block">Creates a call to the <code>MAX</code> aggregate function.</div>
</li>
</ul>
<a name="patternField-java.lang.String-org.apache.calcite.rel.type.RelDataType-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>patternField</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;patternField(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;alpha,
<a href="../../../../org/apache/calcite/rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
int&nbsp;i)</pre>
<div class="block">Creates a reference to a given field of the pattern.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>alpha</code> - the pattern name</dd>
<dd><code>type</code> - Type of field</dd>
<dd><code>i</code> - Ordinal of field</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Reference to field of pattern</dd>
</dl>
</li>
</ul>
<a name="patternConcat-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>patternConcat</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;patternConcat(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;nodes)</pre>
<div class="block">Creates a call that concatenates patterns;
for use in <a href="../../../../org/apache/calcite/tools/RelBuilder.html#match-org.apache.calcite.rex.RexNode-boolean-boolean-java.util.Map-java.lang.Iterable-org.apache.calcite.rex.RexNode-java.util.Map-boolean-java.lang.Iterable-java.lang.Iterable-org.apache.calcite.rex.RexNode-"><code>match(org.apache.calcite.rex.RexNode, boolean, boolean, java.util.Map&lt;java.lang.String, org.apache.calcite.rex.RexNode&gt;, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, org.apache.calcite.rex.RexNode, java.util.Map&lt;java.lang.String, ? extends java.util.SortedSet&lt;java.lang.String&gt;&gt;, boolean, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, org.apache.calcite.rex.RexNode)</code></a>.</div>
</li>
</ul>
<a name="patternConcat-org.apache.calcite.rex.RexNode...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>patternConcat</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;patternConcat(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;nodes)</pre>
<div class="block">Creates a call that concatenates patterns;
for use in <a href="../../../../org/apache/calcite/tools/RelBuilder.html#match-org.apache.calcite.rex.RexNode-boolean-boolean-java.util.Map-java.lang.Iterable-org.apache.calcite.rex.RexNode-java.util.Map-boolean-java.lang.Iterable-java.lang.Iterable-org.apache.calcite.rex.RexNode-"><code>match(org.apache.calcite.rex.RexNode, boolean, boolean, java.util.Map&lt;java.lang.String, org.apache.calcite.rex.RexNode&gt;, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, org.apache.calcite.rex.RexNode, java.util.Map&lt;java.lang.String, ? extends java.util.SortedSet&lt;java.lang.String&gt;&gt;, boolean, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, org.apache.calcite.rex.RexNode)</code></a>.</div>
</li>
</ul>
<a name="patternAlter-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>patternAlter</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;patternAlter(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;nodes)</pre>
<div class="block">Creates a call that creates alternate patterns;
for use in <a href="../../../../org/apache/calcite/tools/RelBuilder.html#match-org.apache.calcite.rex.RexNode-boolean-boolean-java.util.Map-java.lang.Iterable-org.apache.calcite.rex.RexNode-java.util.Map-boolean-java.lang.Iterable-java.lang.Iterable-org.apache.calcite.rex.RexNode-"><code>match(org.apache.calcite.rex.RexNode, boolean, boolean, java.util.Map&lt;java.lang.String, org.apache.calcite.rex.RexNode&gt;, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, org.apache.calcite.rex.RexNode, java.util.Map&lt;java.lang.String, ? extends java.util.SortedSet&lt;java.lang.String&gt;&gt;, boolean, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, org.apache.calcite.rex.RexNode)</code></a>.</div>
</li>
</ul>
<a name="patternAlter-org.apache.calcite.rex.RexNode...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>patternAlter</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;patternAlter(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;nodes)</pre>
<div class="block">Creates a call that creates alternate patterns;
for use in <a href="../../../../org/apache/calcite/tools/RelBuilder.html#match-org.apache.calcite.rex.RexNode-boolean-boolean-java.util.Map-java.lang.Iterable-org.apache.calcite.rex.RexNode-java.util.Map-boolean-java.lang.Iterable-java.lang.Iterable-org.apache.calcite.rex.RexNode-"><code>match(org.apache.calcite.rex.RexNode, boolean, boolean, java.util.Map&lt;java.lang.String, org.apache.calcite.rex.RexNode&gt;, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, org.apache.calcite.rex.RexNode, java.util.Map&lt;java.lang.String, ? extends java.util.SortedSet&lt;java.lang.String&gt;&gt;, boolean, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, org.apache.calcite.rex.RexNode)</code></a>.</div>
</li>
</ul>
<a name="patternQuantify-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>patternQuantify</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;patternQuantify(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;nodes)</pre>
<div class="block">Creates a call that creates quantify patterns;
for use in <a href="../../../../org/apache/calcite/tools/RelBuilder.html#match-org.apache.calcite.rex.RexNode-boolean-boolean-java.util.Map-java.lang.Iterable-org.apache.calcite.rex.RexNode-java.util.Map-boolean-java.lang.Iterable-java.lang.Iterable-org.apache.calcite.rex.RexNode-"><code>match(org.apache.calcite.rex.RexNode, boolean, boolean, java.util.Map&lt;java.lang.String, org.apache.calcite.rex.RexNode&gt;, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, org.apache.calcite.rex.RexNode, java.util.Map&lt;java.lang.String, ? extends java.util.SortedSet&lt;java.lang.String&gt;&gt;, boolean, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, org.apache.calcite.rex.RexNode)</code></a>.</div>
</li>
</ul>
<a name="patternQuantify-org.apache.calcite.rex.RexNode...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>patternQuantify</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;patternQuantify(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;nodes)</pre>
<div class="block">Creates a call that creates quantify patterns;
for use in <a href="../../../../org/apache/calcite/tools/RelBuilder.html#match-org.apache.calcite.rex.RexNode-boolean-boolean-java.util.Map-java.lang.Iterable-org.apache.calcite.rex.RexNode-java.util.Map-boolean-java.lang.Iterable-java.lang.Iterable-org.apache.calcite.rex.RexNode-"><code>match(org.apache.calcite.rex.RexNode, boolean, boolean, java.util.Map&lt;java.lang.String, org.apache.calcite.rex.RexNode&gt;, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, org.apache.calcite.rex.RexNode, java.util.Map&lt;java.lang.String, ? extends java.util.SortedSet&lt;java.lang.String&gt;&gt;, boolean, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, org.apache.calcite.rex.RexNode)</code></a>.</div>
</li>
</ul>
<a name="patternPermute-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>patternPermute</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;patternPermute(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;nodes)</pre>
<div class="block">Creates a call that creates permute patterns;
for use in <a href="../../../../org/apache/calcite/tools/RelBuilder.html#match-org.apache.calcite.rex.RexNode-boolean-boolean-java.util.Map-java.lang.Iterable-org.apache.calcite.rex.RexNode-java.util.Map-boolean-java.lang.Iterable-java.lang.Iterable-org.apache.calcite.rex.RexNode-"><code>match(org.apache.calcite.rex.RexNode, boolean, boolean, java.util.Map&lt;java.lang.String, org.apache.calcite.rex.RexNode&gt;, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, org.apache.calcite.rex.RexNode, java.util.Map&lt;java.lang.String, ? extends java.util.SortedSet&lt;java.lang.String&gt;&gt;, boolean, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, org.apache.calcite.rex.RexNode)</code></a>.</div>
</li>
</ul>
<a name="patternPermute-org.apache.calcite.rex.RexNode...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>patternPermute</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;patternPermute(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;nodes)</pre>
<div class="block">Creates a call that creates permute patterns;
for use in <a href="../../../../org/apache/calcite/tools/RelBuilder.html#match-org.apache.calcite.rex.RexNode-boolean-boolean-java.util.Map-java.lang.Iterable-org.apache.calcite.rex.RexNode-java.util.Map-boolean-java.lang.Iterable-java.lang.Iterable-org.apache.calcite.rex.RexNode-"><code>match(org.apache.calcite.rex.RexNode, boolean, boolean, java.util.Map&lt;java.lang.String, org.apache.calcite.rex.RexNode&gt;, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, org.apache.calcite.rex.RexNode, java.util.Map&lt;java.lang.String, ? extends java.util.SortedSet&lt;java.lang.String&gt;&gt;, boolean, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, org.apache.calcite.rex.RexNode)</code></a>.</div>
</li>
</ul>
<a name="patternExclude-org.apache.calcite.rex.RexNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>patternExclude</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;patternExclude(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;node)</pre>
<div class="block">Creates a call that creates an exclude pattern;
for use in <a href="../../../../org/apache/calcite/tools/RelBuilder.html#match-org.apache.calcite.rex.RexNode-boolean-boolean-java.util.Map-java.lang.Iterable-org.apache.calcite.rex.RexNode-java.util.Map-boolean-java.lang.Iterable-java.lang.Iterable-org.apache.calcite.rex.RexNode-"><code>match(org.apache.calcite.rex.RexNode, boolean, boolean, java.util.Map&lt;java.lang.String, org.apache.calcite.rex.RexNode&gt;, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, org.apache.calcite.rex.RexNode, java.util.Map&lt;java.lang.String, ? extends java.util.SortedSet&lt;java.lang.String&gt;&gt;, boolean, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, java.lang.Iterable&lt;? extends org.apache.calcite.rex.RexNode&gt;, org.apache.calcite.rex.RexNode)</code></a>.</div>
</li>
</ul>
<a name="scan-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>scan</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;scan(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;tableNames)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/TableScan.html" title="class in org.apache.calcite.rel.core"><code>TableScan</code></a> of the table
with a given name.
<p>Throws if the table does not exist.
<p>Returns this builder.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>tableNames</code> - Name of table (can optionally be qualified)</dd>
</dl>
</li>
</ul>
<a name="scan-java.lang.String...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>scan</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;scan(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;tableNames)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/TableScan.html" title="class in org.apache.calcite.rel.core"><code>TableScan</code></a> of the table
with a given name.
<p>Throws if the table does not exist.
<p>Returns this builder.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>tableNames</code> - Name of table (can optionally be qualified)</dd>
</dl>
</li>
</ul>
<a name="snapshot-org.apache.calcite.rex.RexNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>snapshot</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;snapshot(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;period)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Snapshot.html" title="class in org.apache.calcite.rel.core"><code>Snapshot</code></a> of a given snapshot period.
<p>Returns this builder.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>period</code> - Name of table (can optionally be qualified)</dd>
</dl>
</li>
</ul>
<a name="cursor-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cursor</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;cursor(int&nbsp;inputCount,
int&nbsp;ordinal)</pre>
<div class="block">Creates a RexCall to the <code>CURSOR</code> function by ordinal.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>inputCount</code> - Number of inputs</dd>
<dd><code>ordinal</code> - The reference to the relational input</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>RexCall to CURSOR function</dd>
</dl>
</li>
</ul>
<a name="functionScan-org.apache.calcite.sql.SqlOperator-int-org.apache.calcite.rex.RexNode...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>functionScan</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;functionScan(<a href="../../../../org/apache/calcite/sql/SqlOperator.html" title="class in org.apache.calcite.sql">SqlOperator</a>&nbsp;operator,
int&nbsp;inputCount,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;operands)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/TableFunctionScan.html" title="class in org.apache.calcite.rel.core"><code>TableFunctionScan</code></a>.</div>
</li>
</ul>
<a name="functionScan-org.apache.calcite.sql.SqlOperator-int-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>functionScan</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;functionScan(<a href="../../../../org/apache/calcite/sql/SqlOperator.html" title="class in org.apache.calcite.sql">SqlOperator</a>&nbsp;operator,
int&nbsp;inputCount,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;operands)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/TableFunctionScan.html" title="class in org.apache.calcite.rel.core"><code>TableFunctionScan</code></a>.</div>
</li>
</ul>
<a name="filter-org.apache.calcite.rex.RexNode...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>filter</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;filter(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;predicates)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a> of an array of
predicates.
<p>The predicates are combined using AND,
and optimized in a similar way to the <a href="../../../../org/apache/calcite/tools/RelBuilder.html#and-org.apache.calcite.rex.RexNode...-"><code>and(org.apache.calcite.rex.RexNode...)</code></a> method.
If the result is TRUE no filter is created.</div>
</li>
</ul>
<a name="filter-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>filter</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;filter(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;predicates)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a> of a list of
predicates.
<p>The predicates are combined using AND,
and optimized in a similar way to the <a href="../../../../org/apache/calcite/tools/RelBuilder.html#and-org.apache.calcite.rex.RexNode...-"><code>and(org.apache.calcite.rex.RexNode...)</code></a> method.
If the result is TRUE no filter is created.</div>
</li>
</ul>
<a name="filter-java.lang.Iterable-org.apache.calcite.rex.RexNode...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>filter</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;filter(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="../../../../org/apache/calcite/rel/core/CorrelationId.html" title="class in org.apache.calcite.rel.core">CorrelationId</a>&gt;&nbsp;variablesSet,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;predicates)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a> of a list of correlation variables
and an array of predicates.
<p>The predicates are combined using AND,
and optimized in a similar way to the <a href="../../../../org/apache/calcite/tools/RelBuilder.html#and-org.apache.calcite.rex.RexNode...-"><code>and(org.apache.calcite.rex.RexNode...)</code></a> method.
If the result is TRUE no filter is created.</div>
</li>
</ul>
<a name="filter-java.lang.Iterable-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>filter</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;filter(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="../../../../org/apache/calcite/rel/core/CorrelationId.html" title="class in org.apache.calcite.rel.core">CorrelationId</a>&gt;&nbsp;variablesSet,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;predicates)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Filter.html" title="class in org.apache.calcite.rel.core"><code>Filter</code></a> of a list of correlation variables
and a list of predicates.
<p>The predicates are combined using AND,
and optimized in a similar way to the <a href="../../../../org/apache/calcite/tools/RelBuilder.html#and-org.apache.calcite.rex.RexNode...-"><code>and(org.apache.calcite.rex.RexNode...)</code></a> method.
If the result is TRUE no filter is created.</div>
</li>
</ul>
<a name="project-org.apache.calcite.rex.RexNode...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>project</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;project(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;nodes)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> of the given
expressions.</div>
</li>
</ul>
<a name="project-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>project</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;project(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;nodes)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> of the given list
of expressions.
<p>Infers names as would <a href="../../../../org/apache/calcite/tools/RelBuilder.html#project-java.lang.Iterable-java.lang.Iterable-"><code>project(Iterable, Iterable)</code></a> if all
suggested names were null.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>nodes</code> - Expressions</dd>
</dl>
</li>
</ul>
<a name="project-java.lang.Iterable-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>project</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;project(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;nodes,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;fieldNames)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> of the given list
of expressions and field names.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>nodes</code> - Expressions</dd>
<dd><code>fieldNames</code> - field names for expressions</dd>
</dl>
</li>
</ul>
<a name="project-java.lang.Iterable-java.lang.Iterable-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>project</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;project(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;nodes,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;fieldNames,
boolean&nbsp;force)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> of the given list
of expressions, using the given names.
<p>Names are deduced as follows:
<ul>
<li>If the length of <code>fieldNames</code> is greater than the index of
the current entry in <code>nodes</code>, and the entry in
<code>fieldNames</code> is not null, uses it; otherwise
<li>If an expression projects an input field,
or is a cast an input field,
uses the input field name; otherwise
<li>If an expression is a call to
<a href="../../../../org/apache/calcite/sql/fun/SqlStdOperatorTable.html#AS"><code>SqlStdOperatorTable.AS</code></a>
(see <a href="../../../../org/apache/calcite/tools/RelBuilder.html#alias-org.apache.calcite.rex.RexNode-java.lang.String-"><code>alias(org.apache.calcite.rex.RexNode, java.lang.String)</code></a>), removes the call but uses the intended alias.
</ul>
<p>After the field names have been inferred, makes the
field names unique by appending numeric suffixes.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>nodes</code> - Expressions</dd>
<dd><code>fieldNames</code> - Suggested field names</dd>
<dd><code>force</code> - create project even if it is identity</dd>
</dl>
</li>
</ul>
<a name="projectPlus-org.apache.calcite.rex.RexNode...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>projectPlus</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;projectPlus(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;nodes)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> of all original fields, plus the given
expressions.</div>
</li>
</ul>
<a name="projectPlus-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>projectPlus</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;projectPlus(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;nodes)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> of all original fields, plus the given list of
expressions.</div>
</li>
</ul>
<a name="projectExcept-org.apache.calcite.rex.RexNode...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>projectExcept</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;projectExcept(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;expressions)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> of all original fields, except the given
expressions.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the given expressions contain duplicates
or there is an expression that does not match an existing field</dd>
</dl>
</li>
</ul>
<a name="projectExcept-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>projectExcept</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;projectExcept(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;expressions)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> of all original fields, except the given list of
expressions.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the given expressions contain duplicates
or there is an expression that does not match an existing field</dd>
</dl>
</li>
</ul>
<a name="shouldMergeProject--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shouldMergeProject</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
protected&nbsp;boolean&nbsp;shouldMergeProject()</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
<div class="block">Whether to attempt to merge consecutive <a href="../../../../org/apache/calcite/rel/core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> operators.
<p>The default implementation returns <code>true</code>;
sub-classes may disable merge by overriding to return <code>false</code>.</div>
</li>
</ul>
<a name="projectNamed-java.lang.Iterable-java.lang.Iterable-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>projectNamed</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;projectNamed(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;nodes,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;fieldNames,
boolean&nbsp;force)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> of the given
expressions and field names, and optionally optimizing.
<p>If <code>fieldNames</code> is null, or if a particular entry in
<code>fieldNames</code> is null, derives field names from the input
expressions.
<p>If <code>force</code> is false,
and the input is a <code>Project</code>,
and the expressions make the trivial projection ($0, $1, ...),
modifies the input.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>nodes</code> - Expressions</dd>
<dd><code>fieldNames</code> - Suggested field names, or null to generate</dd>
<dd><code>force</code> - Whether to create a renaming Project if the
projections are trivial</dd>
</dl>
</li>
</ul>
<a name="uncollect-java.util.List-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>uncollect</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;uncollect(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;itemAliases,
boolean&nbsp;withOrdinality)</pre>
<div class="block">Creates an <a href="../../../../org/apache/calcite/rel/core/Uncollect.html" title="class in org.apache.calcite.rel.core"><code>Uncollect</code></a> with given item aliases.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>itemAliases</code> - Operand item aliases, never null</dd>
<dd><code>withOrdinality</code> - If <code>withOrdinality</code>, the output contains an extra
<code>ORDINALITY</code> column</dd>
</dl>
</li>
</ul>
<a name="rename-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rename</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;rename(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;fieldNames)</pre>
<div class="block">Ensures that the field names match those given.
<p>If all fields have the same name, adds nothing;
if any fields do not have the same name, adds a <a href="../../../../org/apache/calcite/rel/core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a>.
<p>Note that the names can be short-lived. Other <code>RelBuilder</code>
operations make no guarantees about the field names of the rows they
produce.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>fieldNames</code> - List of desired field names; may contain null values or
have fewer fields than the current row type</dd>
</dl>
</li>
</ul>
<a name="distinct--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>distinct</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;distinct()</pre>
<div class="block">Creates an <a href="../../../../org/apache/calcite/rel/core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> that makes the
relational expression distinct on all fields.</div>
</li>
</ul>
<a name="aggregate-org.apache.calcite.tools.RelBuilder.GroupKey-org.apache.calcite.tools.RelBuilder.AggCall...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>aggregate</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;aggregate(<a href="../../../../org/apache/calcite/tools/RelBuilder.GroupKey.html" title="interface in org.apache.calcite.tools">RelBuilder.GroupKey</a>&nbsp;groupKey,
<a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a>...&nbsp;aggCalls)</pre>
<div class="block">Creates an <a href="../../../../org/apache/calcite/rel/core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> with an array of
calls.</div>
</li>
</ul>
<a name="aggregate-org.apache.calcite.tools.RelBuilder.GroupKey-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>aggregate</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;aggregate(<a href="../../../../org/apache/calcite/tools/RelBuilder.GroupKey.html" title="interface in org.apache.calcite.tools">RelBuilder.GroupKey</a>&nbsp;groupKey,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/calcite/rel/core/AggregateCall.html" title="class in org.apache.calcite.rel.core">AggregateCall</a>&gt;&nbsp;aggregateCalls)</pre>
<div class="block">Creates an <a href="../../../../org/apache/calcite/rel/core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> with an array of
<a href="../../../../org/apache/calcite/rel/core/AggregateCall.html" title="class in org.apache.calcite.rel.core"><code>AggregateCall</code></a>s.</div>
</li>
</ul>
<a name="aggregate-org.apache.calcite.tools.RelBuilder.GroupKey-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>aggregate</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;aggregate(<a href="../../../../org/apache/calcite/tools/RelBuilder.GroupKey.html" title="interface in org.apache.calcite.tools">RelBuilder.GroupKey</a>&nbsp;groupKey,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools">RelBuilder.AggCall</a>&gt;&nbsp;aggCalls)</pre>
<div class="block">Creates an <a href="../../../../org/apache/calcite/rel/core/Aggregate.html" title="class in org.apache.calcite.rel.core"><code>Aggregate</code></a> with multiple
calls.</div>
</li>
</ul>
<a name="union-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>union</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;union(boolean&nbsp;all)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Union.html" title="class in org.apache.calcite.rel.core"><code>Union</code></a> of the two most recent
relational expressions on the stack.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>all</code> - Whether to create UNION ALL</dd>
</dl>
</li>
</ul>
<a name="union-boolean-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>union</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;union(boolean&nbsp;all,
int&nbsp;n)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Union.html" title="class in org.apache.calcite.rel.core"><code>Union</code></a> of the <code>n</code>
most recent relational expressions on the stack.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>all</code> - Whether to create UNION ALL</dd>
<dd><code>n</code> - Number of inputs to the UNION operator</dd>
</dl>
</li>
</ul>
<a name="intersect-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>intersect</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;intersect(boolean&nbsp;all)</pre>
<div class="block">Creates an <a href="../../../../org/apache/calcite/rel/core/Intersect.html" title="class in org.apache.calcite.rel.core"><code>Intersect</code></a> of the two most
recent relational expressions on the stack.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>all</code> - Whether to create INTERSECT ALL</dd>
</dl>
</li>
</ul>
<a name="intersect-boolean-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>intersect</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;intersect(boolean&nbsp;all,
int&nbsp;n)</pre>
<div class="block">Creates an <a href="../../../../org/apache/calcite/rel/core/Intersect.html" title="class in org.apache.calcite.rel.core"><code>Intersect</code></a> of the <code>n</code>
most recent relational expressions on the stack.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>all</code> - Whether to create INTERSECT ALL</dd>
<dd><code>n</code> - Number of inputs to the INTERSECT operator</dd>
</dl>
</li>
</ul>
<a name="minus-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>minus</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;minus(boolean&nbsp;all)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Minus.html" title="class in org.apache.calcite.rel.core"><code>Minus</code></a> of the two most recent
relational expressions on the stack.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>all</code> - Whether to create EXCEPT ALL</dd>
</dl>
</li>
</ul>
<a name="minus-boolean-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>minus</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;minus(boolean&nbsp;all,
int&nbsp;n)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Minus.html" title="class in org.apache.calcite.rel.core"><code>Minus</code></a> of the <code>n</code>
most recent relational expressions on the stack.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>all</code> - Whether to create EXCEPT ALL</dd>
</dl>
</li>
</ul>
<a name="transientScan-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>transientScan</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;transientScan(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/TableScan.html" title="class in org.apache.calcite.rel.core"><code>TableScan</code></a> on a <a href="../../../../org/apache/calcite/schema/TransientTable.html" title="interface in org.apache.calcite.schema"><code>TransientTable</code></a> with the given name, using as type
the top of the stack's type.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>tableName</code> - table name</dd>
</dl>
</li>
</ul>
<a name="transientScan-java.lang.String-org.apache.calcite.rel.type.RelDataType-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>transientScan</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;transientScan(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName,
<a href="../../../../org/apache/calcite/rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;rowType)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/TableScan.html" title="class in org.apache.calcite.rel.core"><code>TableScan</code></a> on a <a href="../../../../org/apache/calcite/schema/TransientTable.html" title="interface in org.apache.calcite.schema"><code>TransientTable</code></a> with the given name and type.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>tableName</code> - table name</dd>
<dd><code>rowType</code> - row type of the table</dd>
</dl>
</li>
</ul>
<a name="repeatUnion-java.lang.String-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>repeatUnion</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;repeatUnion(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName,
boolean&nbsp;all)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/RepeatUnion.html" title="class in org.apache.calcite.rel.core"><code>RepeatUnion</code></a> associated to a <a href="../../../../org/apache/calcite/schema/TransientTable.html" title="interface in org.apache.calcite.schema"><code>TransientTable</code></a> without a maximum number
of iterations, i.e. repeatUnion(tableName, all, -1).</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>tableName</code> - name of the <a href="../../../../org/apache/calcite/schema/TransientTable.html" title="interface in org.apache.calcite.schema"><code>TransientTable</code></a> associated to the <a href="../../../../org/apache/calcite/rel/core/RepeatUnion.html" title="class in org.apache.calcite.rel.core"><code>RepeatUnion</code></a></dd>
<dd><code>all</code> - whether duplicates will be considered or not</dd>
</dl>
</li>
</ul>
<a name="repeatUnion-java.lang.String-boolean-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>repeatUnion</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;repeatUnion(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName,
boolean&nbsp;all,
int&nbsp;iterationLimit)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/RepeatUnion.html" title="class in org.apache.calcite.rel.core"><code>RepeatUnion</code></a> associated to a <a href="../../../../org/apache/calcite/schema/TransientTable.html" title="interface in org.apache.calcite.schema"><code>TransientTable</code></a> of the
two most recent relational expressions on the stack.
<p>Warning: if these relational expressions are not
correctly defined, this operation might lead to an infinite loop.
<p>The generated <a href="../../../../org/apache/calcite/rel/core/RepeatUnion.html" title="class in org.apache.calcite.rel.core"><code>RepeatUnion</code></a> operates as follows:
<ul>
<li>Evaluate its left term once, propagating the results into the
<a href="../../../../org/apache/calcite/schema/TransientTable.html" title="interface in org.apache.calcite.schema"><code>TransientTable</code></a>;
<li>Evaluate its right term (which may contain a <a href="../../../../org/apache/calcite/rel/core/TableScan.html" title="class in org.apache.calcite.rel.core"><code>TableScan</code></a> on the
<a href="../../../../org/apache/calcite/schema/TransientTable.html" title="interface in org.apache.calcite.schema"><code>TransientTable</code></a>) over and over until it produces no more results
(or until an optional maximum number of iterations is reached). On each
iteration, the results are propagated into the <a href="../../../../org/apache/calcite/schema/TransientTable.html" title="interface in org.apache.calcite.schema"><code>TransientTable</code></a>,
overwriting the results from the previous one.
</ul></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>tableName</code> - Name of the <a href="../../../../org/apache/calcite/schema/TransientTable.html" title="interface in org.apache.calcite.schema"><code>TransientTable</code></a> associated to the
<a href="../../../../org/apache/calcite/rel/core/RepeatUnion.html" title="class in org.apache.calcite.rel.core"><code>RepeatUnion</code></a></dd>
<dd><code>all</code> - Whether duplicates are considered</dd>
<dd><code>iterationLimit</code> - Maximum number of iterations; negative value means no limit</dd>
</dl>
</li>
</ul>
<a name="join-org.apache.calcite.rel.core.JoinRelType-org.apache.calcite.rex.RexNode-org.apache.calcite.rex.RexNode...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>join</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;join(<a href="../../../../org/apache/calcite/rel/core/JoinRelType.html" title="enum in org.apache.calcite.rel.core">JoinRelType</a>&nbsp;joinType,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;condition0,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;conditions)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> with an array of conditions.</div>
</li>
</ul>
<a name="join-org.apache.calcite.rel.core.JoinRelType-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>join</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;join(<a href="../../../../org/apache/calcite/rel/core/JoinRelType.html" title="enum in org.apache.calcite.rel.core">JoinRelType</a>&nbsp;joinType,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;conditions)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> with multiple
conditions.</div>
</li>
</ul>
<a name="join-org.apache.calcite.rel.core.JoinRelType-org.apache.calcite.rex.RexNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>join</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;join(<a href="../../../../org/apache/calcite/rel/core/JoinRelType.html" title="enum in org.apache.calcite.rel.core">JoinRelType</a>&nbsp;joinType,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;condition)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> with one condition.</div>
</li>
</ul>
<a name="join-org.apache.calcite.rel.core.JoinRelType-org.apache.calcite.rex.RexNode-java.util.Set-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>join</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;join(<a href="../../../../org/apache/calcite/rel/core/JoinRelType.html" title="enum in org.apache.calcite.rel.core">JoinRelType</a>&nbsp;joinType,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;condition,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="../../../../org/apache/calcite/rel/core/CorrelationId.html" title="class in org.apache.calcite.rel.core">CorrelationId</a>&gt;&nbsp;variablesSet)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> with correlating variables.</div>
</li>
</ul>
<a name="correlate-org.apache.calcite.rel.core.JoinRelType-org.apache.calcite.rel.core.CorrelationId-org.apache.calcite.rex.RexNode...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>correlate</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;correlate(<a href="../../../../org/apache/calcite/rel/core/JoinRelType.html" title="enum in org.apache.calcite.rel.core">JoinRelType</a>&nbsp;joinType,
<a href="../../../../org/apache/calcite/rel/core/CorrelationId.html" title="class in org.apache.calcite.rel.core">CorrelationId</a>&nbsp;correlationId,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;requiredFields)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Correlate.html" title="class in org.apache.calcite.rel.core"><code>Correlate</code></a>
with a <a href="../../../../org/apache/calcite/rel/core/CorrelationId.html" title="class in org.apache.calcite.rel.core"><code>CorrelationId</code></a> and an array of fields that are used by correlation.</div>
</li>
</ul>
<a name="correlate-org.apache.calcite.rel.core.JoinRelType-org.apache.calcite.rel.core.CorrelationId-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>correlate</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;correlate(<a href="../../../../org/apache/calcite/rel/core/JoinRelType.html" title="enum in org.apache.calcite.rel.core">JoinRelType</a>&nbsp;joinType,
<a href="../../../../org/apache/calcite/rel/core/CorrelationId.html" title="class in org.apache.calcite.rel.core">CorrelationId</a>&nbsp;correlationId,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;requiredFields)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Correlate.html" title="class in org.apache.calcite.rel.core"><code>Correlate</code></a>
with a <a href="../../../../org/apache/calcite/rel/core/CorrelationId.html" title="class in org.apache.calcite.rel.core"><code>CorrelationId</code></a> and a list of fields that are used by correlation.</div>
</li>
</ul>
<a name="join-org.apache.calcite.rel.core.JoinRelType-java.lang.String...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>join</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;join(<a href="../../../../org/apache/calcite/rel/core/JoinRelType.html" title="enum in org.apache.calcite.rel.core">JoinRelType</a>&nbsp;joinType,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;fieldNames)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> using USING syntax.
<p>For each of the field names, both left and right inputs must have a
field of that name. Constructs a join condition that the left and right
fields are equal.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>joinType</code> - Join type</dd>
<dd><code>fieldNames</code> - Field names</dd>
</dl>
</li>
</ul>
<a name="semiJoin-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>semiJoin</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;semiJoin(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;conditions)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> with <a href="../../../../org/apache/calcite/rel/core/JoinRelType.html#SEMI"><code>JoinRelType.SEMI</code></a>.
<p>A semi-join is a form of join that combines two relational expressions
according to some condition, and outputs only rows from the left input for
which at least one row from the right input matches. It only outputs
columns from the left input, and ignores duplicates on the right.
<p>For example, <code>EMP semi-join DEPT</code> finds all <code>EMP</code> records
that do not have a corresponding <code>DEPT</code> record, similar to the
following SQL:
<blockquote><pre>
SELECT * FROM EMP
WHERE EXISTS (SELECT 1 FROM DEPT
WHERE DEPT.DEPTNO = EMP.DEPTNO)</pre>
</blockquote></div>
</li>
</ul>
<a name="semiJoin-org.apache.calcite.rex.RexNode...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>semiJoin</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;semiJoin(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;conditions)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Join.html" title="class in org.apache.calcite.rel.core"><code>Join</code></a> with <a href="../../../../org/apache/calcite/rel/core/JoinRelType.html#SEMI"><code>JoinRelType.SEMI</code></a>.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/apache/calcite/tools/RelBuilder.html#semiJoin-java.lang.Iterable-"><code>semiJoin(Iterable)</code></a></dd>
</dl>
</li>
</ul>
<a name="antiJoin-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>antiJoin</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;antiJoin(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;conditions)</pre>
<div class="block">Creates an anti-join.
<p>An anti-join is a form of join that combines two relational expressions
according to some condition, but outputs only rows from the left input
for which no rows from the right input match.
<p>For example, <code>EMP anti-join DEPT</code> finds all <code>EMP</code> records
that do not have a corresponding <code>DEPT</code> record, similar to the
following SQL:
<blockquote><pre>
SELECT * FROM EMP
WHERE NOT EXISTS (SELECT 1 FROM DEPT
WHERE DEPT.DEPTNO = EMP.DEPTNO)</pre>
</blockquote></div>
</li>
</ul>
<a name="antiJoin-org.apache.calcite.rex.RexNode...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>antiJoin</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;antiJoin(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;conditions)</pre>
<div class="block">Creates an anti-join.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/apache/calcite/tools/RelBuilder.html#antiJoin-java.lang.Iterable-"><code>antiJoin(Iterable)</code></a></dd>
</dl>
</li>
</ul>
<a name="as-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>as</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;as(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;alias)</pre>
<div class="block">Assigns a table alias to the top entry on the stack.</div>
</li>
</ul>
<a name="values-java.lang.String:A-java.lang.Object...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>values</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;values(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;fieldNames,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>...&nbsp;values)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Values.html" title="class in org.apache.calcite.rel.core"><code>Values</code></a>.
<p>The <code>values</code> array must have the same number of entries as
<code>fieldNames</code>, or an integer multiple if you wish to create multiple
rows.
<p>If there are zero rows, or if all values of a any column are
null, this method cannot deduce the type of columns. For these cases,
call <a href="../../../../org/apache/calcite/tools/RelBuilder.html#values-java.lang.Iterable-org.apache.calcite.rel.type.RelDataType-"><code>values(Iterable, RelDataType)</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>fieldNames</code> - Field names</dd>
<dd><code>values</code> - Values</dd>
</dl>
</li>
</ul>
<a name="empty--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>empty</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;empty()</pre>
<div class="block">Creates a relational expression that reads from an input and throws
all of the rows away.
<p>Note that this method always pops one relational expression from the
stack. <code>values</code>, in contrast, does not pop any relational
expressions, and always produces a leaf.
<p>The default implementation creates a <a href="../../../../org/apache/calcite/rel/core/Values.html" title="class in org.apache.calcite.rel.core"><code>Values</code></a> with the same
specified row type and aliases as the input, and ignores the input entirely.
But schema-on-query systems such as Drill might override this method to
create a relation expression that retains the input, just to read its
schema.</div>
</li>
</ul>
<a name="values-org.apache.calcite.rel.type.RelDataType-java.lang.Object...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>values</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;values(<a href="../../../../org/apache/calcite/rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;rowType,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>...&nbsp;columnValues)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Values.html" title="class in org.apache.calcite.rel.core"><code>Values</code></a> with a specified row type.
<p>This method can handle cases that <a href="../../../../org/apache/calcite/tools/RelBuilder.html#values-java.lang.String:A-java.lang.Object...-"><code>values(String[], Object...)</code></a>
cannot, such as all values of a column being null, or there being zero
rows.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rowType</code> - Row type</dd>
<dd><code>columnValues</code> - Values</dd>
</dl>
</li>
</ul>
<a name="values-java.lang.Iterable-org.apache.calcite.rel.type.RelDataType-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>values</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;values(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/calcite/rex/RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a>&gt;&gt;&nbsp;tupleList,
<a href="../../../../org/apache/calcite/rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;rowType)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Values.html" title="class in org.apache.calcite.rel.core"><code>Values</code></a> with a specified row type.
<p>This method can handle cases that <a href="../../../../org/apache/calcite/tools/RelBuilder.html#values-java.lang.String:A-java.lang.Object...-"><code>values(String[], Object...)</code></a>
cannot, such as all values of a column being null, or there being zero
rows.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>tupleList</code> - Tuple list</dd>
<dd><code>rowType</code> - Row type</dd>
</dl>
</li>
</ul>
<a name="values-org.apache.calcite.rel.type.RelDataType-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>values</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;values(<a href="../../../../org/apache/calcite/rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;rowType)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Values.html" title="class in org.apache.calcite.rel.core"><code>Values</code></a> with a specified row type and
zero rows.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rowType</code> - Row type</dd>
</dl>
</li>
</ul>
<a name="limit-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>limit</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;limit(int&nbsp;offset,
int&nbsp;fetch)</pre>
<div class="block">Creates a limit without a sort.</div>
</li>
</ul>
<a name="exchange-org.apache.calcite.rel.RelDistribution-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>exchange</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;exchange(<a href="../../../../org/apache/calcite/rel/RelDistribution.html" title="interface in org.apache.calcite.rel">RelDistribution</a>&nbsp;distribution)</pre>
<div class="block">Creates an Exchange by distribution.</div>
</li>
</ul>
<a name="sortExchange-org.apache.calcite.rel.RelDistribution-org.apache.calcite.rel.RelCollation-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sortExchange</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;sortExchange(<a href="../../../../org/apache/calcite/rel/RelDistribution.html" title="interface in org.apache.calcite.rel">RelDistribution</a>&nbsp;distribution,
<a href="../../../../org/apache/calcite/rel/RelCollation.html" title="interface in org.apache.calcite.rel">RelCollation</a>&nbsp;collation)</pre>
<div class="block">Creates a SortExchange by distribution and collation.</div>
</li>
</ul>
<a name="sort-int...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sort</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;sort(int...&nbsp;fields)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Sort.html" title="class in org.apache.calcite.rel.core"><code>Sort</code></a> by field ordinals.
<p>Negative fields mean descending: -1 means field(0) descending,
-2 means field(1) descending, etc.</div>
</li>
</ul>
<a name="sort-org.apache.calcite.rex.RexNode...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sort</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;sort(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;nodes)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Sort.html" title="class in org.apache.calcite.rel.core"><code>Sort</code></a> by expressions.</div>
</li>
</ul>
<a name="sort-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sort</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;sort(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;nodes)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Sort.html" title="class in org.apache.calcite.rel.core"><code>Sort</code></a> by expressions.</div>
</li>
</ul>
<a name="sortLimit-int-int-org.apache.calcite.rex.RexNode...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sortLimit</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;sortLimit(int&nbsp;offset,
int&nbsp;fetch,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;nodes)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Sort.html" title="class in org.apache.calcite.rel.core"><code>Sort</code></a> by expressions, with limit and offset.</div>
</li>
</ul>
<a name="sort-org.apache.calcite.rel.RelCollation-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sort</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;sort(<a href="../../../../org/apache/calcite/rel/RelCollation.html" title="interface in org.apache.calcite.rel">RelCollation</a>&nbsp;collation)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Sort.html" title="class in org.apache.calcite.rel.core"><code>Sort</code></a> by specifying collations.</div>
</li>
</ul>
<a name="sortLimit-int-int-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sortLimit</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;sortLimit(int&nbsp;offset,
int&nbsp;fetch,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;nodes)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Sort.html" title="class in org.apache.calcite.rel.core"><code>Sort</code></a> by a list of expressions, with limit and offset.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>offset</code> - Number of rows to skip; non-positive means don't skip any</dd>
<dd><code>fetch</code> - Maximum number of rows to fetch; negative means no limit</dd>
<dd><code>nodes</code> - Sort expressions</dd>
</dl>
</li>
</ul>
<a name="convert-org.apache.calcite.rel.type.RelDataType-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>convert</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;convert(<a href="../../../../org/apache/calcite/rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;castRowType,
boolean&nbsp;rename)</pre>
<div class="block">Creates a projection that converts the current relational expression's
output to a desired row type.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>castRowType</code> - row type after cast</dd>
<dd><code>rename</code> - if true, use field names from castRowType; if false,
preserve field names from rel</dd>
</dl>
</li>
</ul>
<a name="permute-org.apache.calcite.util.mapping.Mapping-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>permute</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;permute(<a href="../../../../org/apache/calcite/util/mapping/Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a>&nbsp;mapping)</pre>
</li>
</ul>
<a name="match-org.apache.calcite.rex.RexNode-boolean-boolean-java.util.Map-java.lang.Iterable-org.apache.calcite.rex.RexNode-java.util.Map-boolean-java.lang.Iterable-java.lang.Iterable-org.apache.calcite.rex.RexNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>match</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;match(<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;pattern,
boolean&nbsp;strictStart,
boolean&nbsp;strictEnd,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;patternDefinitions,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;measureList,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;after,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/util/SortedSet.html?is-external=true" title="class or interface in java.util">SortedSet</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&gt;&nbsp;subsets,
boolean&nbsp;allRows,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;partitionKeys,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;orderKeys,
<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;interval)</pre>
<div class="block">Creates a <a href="../../../../org/apache/calcite/rel/core/Match.html" title="class in org.apache.calcite.rel.core"><code>Match</code></a>.</div>
</li>
</ul>
<a name="hints-org.apache.calcite.rel.hint.RelHint...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hints</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;hints(<a href="../../../../org/apache/calcite/rel/hint/RelHint.html" title="class in org.apache.calcite.rel.hint">RelHint</a>...&nbsp;hints)</pre>
<div class="block">Attaches an array of hints to the stack top relational expression.
<p>The redundant hints would be eliminated.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>hints</code> - Hints</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AssertionError.html?is-external=true" title="class or interface in java.lang">AssertionError</a></code> - if the top relational expression does not implement
<a href="../../../../org/apache/calcite/rel/hint/Hintable.html" title="interface in org.apache.calcite.rel.hint"><code>Hintable</code></a></dd>
</dl>
</li>
</ul>
<a name="hints-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hints</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a>&nbsp;hints(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="../../../../org/apache/calcite/rel/hint/RelHint.html" title="class in org.apache.calcite.rel.hint">RelHint</a>&gt;&nbsp;hints)</pre>
<div class="block">Attaches multiple hints to the stack top relational expression.
<p>The redundant hints would be eliminated.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>hints</code> - Hints</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AssertionError.html?is-external=true" title="class or interface in java.lang">AssertionError</a></code> - if the top relational expression does not implement
<a href="../../../../org/apache/calcite/rel/hint/Hintable.html" title="interface in org.apache.calcite.rel.hint"><code>Hintable</code></a></dd>
</dl>
</li>
</ul>
<a name="clear--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>clear</h4>
<pre>public&nbsp;void&nbsp;clear()</pre>
<div class="block">Clears the stack.
<p>The builder's state is now the same as when it was created.</div>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><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">
<li><a href="../../../../org/apache/calcite/tools/Programs.html" title="class in org.apache.calcite.tools"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/apache/calcite/tools/RelBuilder.AggCall.html" title="interface in org.apache.calcite.tools"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/calcite/tools/RelBuilder.html" target="_top">Frames</a></li>
<li><a href="RelBuilder.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.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>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&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><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &copy; 2012-2020 Apache Software Foundation. All Rights Reserved.</small></p>
</body>
</html>