blob: 85c3414b6330181ceed46fd4ab4059c98bec0110 [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>SqlImplementor (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="SqlImplementor (Apache Calcite calcite API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":9,"i4":10,"i5":9,"i6":9,"i7":10,"i8":9,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":42,"i16":10,"i17":6,"i18":10,"i19":10,"i20":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],4:["t3","Abstract 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/rel/rel2sql/RelToSqlConverter.html" title="class in org.apache.calcite.rel.rel2sql"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.AliasContext.html" title="class in org.apache.calcite.rel.rel2sql"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/calcite/rel/rel2sql/SqlImplementor.html" target="_top">Frames</a></li>
<li><a href="SqlImplementor.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.rel.rel2sql</div>
<h2 title="Class SqlImplementor" class="title">Class SqlImplementor</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.rel.rel2sql.SqlImplementor</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/rel/rel2sql/RelToSqlConverter.html" title="class in org.apache.calcite.rel.rel2sql">RelToSqlConverter</a></dd>
</dl>
<hr>
<br>
<pre>public abstract class <span class="typeNameLabel">SqlImplementor</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">State for generating a SQL statement.</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>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.AliasContext.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.AliasContext</a></span></code>
<div class="block">Implementation of Context that precedes field references with their
"table alias" based on the current sub-query's FROM clause.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.BaseContext.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.BaseContext</a></span></code>
<div class="block">Implementation of <a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Context.html" title="class in org.apache.calcite.rel.rel2sql"><code>SqlImplementor.Context</code></a> that has an enclosing
<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.html" title="class in org.apache.calcite.rel.rel2sql"><code>SqlImplementor</code></a> and can therefore do non-trivial expressions.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Builder.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Builder</a></span></code>
<div class="block">Builder.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Clause.html" title="enum in org.apache.calcite.rel.rel2sql">SqlImplementor.Clause</a></span></code>
<div class="block">Clauses in a SQL query.</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/rel/rel2sql/SqlImplementor.Context.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Context</a></span></code>
<div class="block">Context for translating a <a href="../../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex"><code>RexNode</code></a> expression (within a
<a href="../../../../../org/apache/calcite/rel/RelNode.html" title="interface in org.apache.calcite.rel"><code>RelNode</code></a>) into a <a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="class in org.apache.calcite.sql"><code>SqlNode</code></a> expression (within a SQL parse
tree).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.MatchRecognizeContext.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.MatchRecognizeContext</a></span></code>
<div class="block">Context for translating MATCH_RECOGNIZE clause</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Result.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Result</a></span></code>
<div class="block">Result of implementing a node.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.SimpleContext.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.SimpleContext</a></span></code>
<div class="block">Simple implementation of <a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Context.html" title="class in org.apache.calcite.rel.rel2sql"><code>SqlImplementor.Context</code></a> that cannot handle sub-queries
or correlations.</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="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="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;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.html#aliasSet">aliasSet</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <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="../../../../../org/apache/calcite/rel/core/CorrelationId.html" title="class in org.apache.calcite.rel.core">CorrelationId</a>,<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Context.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Context</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.html#correlTableMap">correlTableMap</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/sql/SqlDialect.html" title="class in org.apache.calcite.sql">SqlDialect</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.html#dialect">dialect</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/calcite/sql/parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.html#POS">POS</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/rel/rel2sql/SqlImplementor.html#SqlImplementor-org.apache.calcite.sql.SqlDialect-">SqlImplementor</a></span>(<a href="../../../../../org/apache/calcite/sql/SqlDialect.html" title="class in org.apache.calcite.sql">SqlDialect</a>&nbsp;dialect)</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="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract 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>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.html#addSelect-java.util.List-org.apache.calcite.sql.SqlNode-org.apache.calcite.rel.type.RelDataType-">addSelect</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="../../../../../org/apache/calcite/sql/SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&gt;&nbsp;selectList,
<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;node,
<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;rowType)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Context.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Context</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.html#aliasContext-java.util.Map-boolean-">aliasContext</a></span>(<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/rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&gt;&nbsp;aliases,
boolean&nbsp;qualified)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/calcite/sql/SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.html#as-org.apache.calcite.sql.SqlNode-java.lang.String-java.lang.String...-">as</a></span>(<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</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;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;fieldNames)</code>
<div class="block">Convenience method for creating column and table aliases.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.html#convertConditionToSqlNode-org.apache.calcite.rex.RexNode-org.apache.calcite.rel.rel2sql.SqlImplementor.Context-org.apache.calcite.rel.rel2sql.SqlImplementor.Context-int-org.apache.calcite.sql.SqlDialect-">convertConditionToSqlNode</a></span>(<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;node,
<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Context.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Context</a>&nbsp;leftContext,
<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Context.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Context</a>&nbsp;rightContext,
int&nbsp;leftFieldCount,
<a href="../../../../../org/apache/calcite/sql/SqlDialect.html" title="class in org.apache.calcite.sql">SqlDialect</a>&nbsp;dialect)</code>
<div class="block">Converts a <a href="../../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex"><code>RexNode</code></a> condition into a <a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="class in org.apache.calcite.sql"><code>SqlNode</code></a>.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.html#isAnon--">isAnon</a></span>()</code>
<div class="block">Returns whether to remove trivial aliases such as "EXPR$0"
when converting the current relational expression into a SELECT.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.html#isStar-java.util.List-org.apache.calcite.rel.type.RelDataType-org.apache.calcite.rel.type.RelDataType-">isStar</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="../../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;exps,
<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;inputRowType,
<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;projectRowType)</code>
<div class="block">Returns whether a list of expressions projects all fields, in order,
from the input, with the same names.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.html#isStar-org.apache.calcite.rex.RexProgram-">isStar</a></span>(<a href="../../../../../org/apache/calcite/rex/RexProgram.html" title="class in org.apache.calcite.rex">RexProgram</a>&nbsp;program)</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Context.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Context</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.html#joinContext-org.apache.calcite.rel.rel2sql.SqlImplementor.Context-org.apache.calcite.rel.rel2sql.SqlImplementor.Context-">joinContext</a></span>(<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Context.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Context</a>&nbsp;leftContext,
<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Context.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Context</a>&nbsp;rightContext)</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/calcite/sql/JoinType.html" title="enum in org.apache.calcite.sql">JoinType</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.html#joinType-org.apache.calcite.rel.core.JoinRelType-">joinType</a></span>(<a href="../../../../../org/apache/calcite/rel/core/JoinRelType.html" title="enum in org.apache.calcite.rel.core">JoinRelType</a>&nbsp;joinType)</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Context.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Context</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.html#matchRecognizeContext-org.apache.calcite.rel.rel2sql.SqlImplementor.Context-">matchRecognizeContext</a></span>(<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Context.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Context</a>&nbsp;context)</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Result.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Result</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.html#result-org.apache.calcite.sql.SqlNode-java.util.Collection-org.apache.calcite.rel.RelNode-java.util.Map-">result</a></span>(<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;node,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Clause.html" title="enum in org.apache.calcite.rel.rel2sql">SqlImplementor.Clause</a>&gt;&nbsp;clauses,
<a href="../../../../../org/apache/calcite/rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>&nbsp;rel,
<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/rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&gt;&nbsp;aliases)</code>
<div class="block">Creates a result based on a single relational expression.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Result.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Result</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.html#result-org.apache.calcite.sql.SqlNode-java.util.Collection-java.lang.String-org.apache.calcite.rel.type.RelDataType-java.util.Map-">result</a></span>(<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;node,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Clause.html" title="enum in org.apache.calcite.rel.rel2sql">SqlImplementor.Clause</a>&gt;&nbsp;clauses,
<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;neededAlias,
<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;neededType,
<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/rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&gt;&nbsp;aliases)</code>
<div class="block">Factory method for <a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Result.html" title="class in org.apache.calcite.rel.rel2sql"><code>SqlImplementor.Result</code></a>.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Result.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Result</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.html#result-org.apache.calcite.sql.SqlNode-org.apache.calcite.rel.rel2sql.SqlImplementor.Result-org.apache.calcite.rel.rel2sql.SqlImplementor.Result-">result</a></span>(<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;join,
<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Result.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Result</a>&nbsp;leftResult,
<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Result.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Result</a>&nbsp;rightResult)</code>
<div class="block">Creates a result based on a join.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Result.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Result</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.html#setOpToSql-org.apache.calcite.sql.SqlSetOperator-org.apache.calcite.rel.RelNode-">setOpToSql</a></span>(<a href="../../../../../org/apache/calcite/sql/SqlSetOperator.html" title="class in org.apache.calcite.sql">SqlSetOperator</a>&nbsp;operator,
<a href="../../../../../org/apache/calcite/rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>&nbsp;rel)</code>&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Context.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Context</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.html#tableFunctionScanContext-java.util.List-">tableFunctionScanContext</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="../../../../../org/apache/calcite/sql/SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&gt;&nbsp;inputSqlNodes)</code>&nbsp;</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Result.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Result</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.html#visitChild-int-org.apache.calcite.rel.RelNode-">visitChild</a></span>(int&nbsp;i,
<a href="../../../../../org/apache/calcite/rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>&nbsp;e)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">Use either <a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.html#visitRoot-org.apache.calcite.rel.RelNode-"><code>visitRoot(RelNode)</code></a> or
<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.html#visitInput-org.apache.calcite.rel.RelNode-int-"><code>visitInput(RelNode, int)</code></a>.</span></div>
</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Result.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Result</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.html#visitInput-org.apache.calcite.rel.RelNode-int-">visitInput</a></span>(<a href="../../../../../org/apache/calcite/rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>&nbsp;e,
int&nbsp;i)</code>
<div class="block">Visits an input of the current relational expression,
deducing <code>anon</code> using <a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.html#isAnon--"><code>isAnon()</code></a>.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Result.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Result</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.html#visitInput-org.apache.calcite.rel.RelNode-int-boolean-boolean-java.util.Set-">visitInput</a></span>(<a href="../../../../../org/apache/calcite/rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>&nbsp;e,
int&nbsp;i,
boolean&nbsp;anon,
boolean&nbsp;ignoreClauses,
<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/rel2sql/SqlImplementor.Clause.html" title="enum in org.apache.calcite.rel.rel2sql">SqlImplementor.Clause</a>&gt;&nbsp;expectedClauses)</code>
<div class="block">Visits the <code>i</code>th input of <code>e</code>, the current relational
expression.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Result.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Result</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.html#visitInput-org.apache.calcite.rel.RelNode-int-java.util.Set-">visitInput</a></span>(<a href="../../../../../org/apache/calcite/rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>&nbsp;e,
int&nbsp;i,
<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/rel2sql/SqlImplementor.Clause.html" title="enum in org.apache.calcite.rel.rel2sql">SqlImplementor.Clause</a>&gt;&nbsp;clauses)</code>
<div class="block">Visits an input of the current relational expression,
deducing <code>anon</code> using <a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.html#isAnon--"><code>isAnon()</code></a>.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Result.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Result</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.html#visitInput-org.apache.calcite.rel.RelNode-int-org.apache.calcite.rel.rel2sql.SqlImplementor.Clause...-">visitInput</a></span>(<a href="../../../../../org/apache/calcite/rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>&nbsp;e,
int&nbsp;i,
<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Clause.html" title="enum in org.apache.calcite.rel.rel2sql">SqlImplementor.Clause</a>...&nbsp;clauses)</code>
<div class="block">Visits an input of the current relational expression,
with the given expected clauses.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Result.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Result</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.html#visitRoot-org.apache.calcite.rel.RelNode-">visitRoot</a></span>(<a href="../../../../../org/apache/calcite/rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>&nbsp;e)</code>
<div class="block">Visits a relational expression that has no parent.</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#toString--" title="class or interface in java.lang">toString</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="POS">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>POS</h4>
<pre>public static final&nbsp;<a href="../../../../../org/apache/calcite/sql/parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> POS</pre>
</li>
</ul>
<a name="dialect">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dialect</h4>
<pre>public final&nbsp;<a href="../../../../../org/apache/calcite/sql/SqlDialect.html" title="class in org.apache.calcite.sql">SqlDialect</a> dialect</pre>
</li>
</ul>
<a name="aliasSet">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>aliasSet</h4>
<pre>protected final&nbsp;<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="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; aliasSet</pre>
</li>
</ul>
<a name="correlTableMap">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>correlTableMap</h4>
<pre>protected final&nbsp;<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="../../../../../org/apache/calcite/rel/core/CorrelationId.html" title="class in org.apache.calcite.rel.core">CorrelationId</a>,<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Context.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Context</a>&gt; correlTableMap</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="SqlImplementor-org.apache.calcite.sql.SqlDialect-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>SqlImplementor</h4>
<pre>protected&nbsp;SqlImplementor(<a href="../../../../../org/apache/calcite/sql/SqlDialect.html" title="class in org.apache.calcite.sql">SqlDialect</a>&nbsp;dialect)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="visitRoot-org.apache.calcite.rel.RelNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>visitRoot</h4>
<pre>public final&nbsp;<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Result.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Result</a>&nbsp;visitRoot(<a href="../../../../../org/apache/calcite/rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>&nbsp;e)</pre>
<div class="block">Visits a relational expression that has no parent.</div>
</li>
</ul>
<a name="visitChild-int-org.apache.calcite.rel.RelNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>visitChild</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 final&nbsp;<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Result.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Result</a>&nbsp;visitChild(int&nbsp;i,
<a href="../../../../../org/apache/calcite/rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>&nbsp;e)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">Use either <a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.html#visitRoot-org.apache.calcite.rel.RelNode-"><code>visitRoot(RelNode)</code></a> or
<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.html#visitInput-org.apache.calcite.rel.RelNode-int-"><code>visitInput(RelNode, int)</code></a>.</span></div>
</li>
</ul>
<a name="visitInput-org.apache.calcite.rel.RelNode-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>visitInput</h4>
<pre>public final&nbsp;<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Result.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Result</a>&nbsp;visitInput(<a href="../../../../../org/apache/calcite/rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>&nbsp;e,
int&nbsp;i)</pre>
<div class="block">Visits an input of the current relational expression,
deducing <code>anon</code> using <a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.html#isAnon--"><code>isAnon()</code></a>.</div>
</li>
</ul>
<a name="visitInput-org.apache.calcite.rel.RelNode-int-org.apache.calcite.rel.rel2sql.SqlImplementor.Clause...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>visitInput</h4>
<pre>public final&nbsp;<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Result.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Result</a>&nbsp;visitInput(<a href="../../../../../org/apache/calcite/rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>&nbsp;e,
int&nbsp;i,
<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Clause.html" title="enum in org.apache.calcite.rel.rel2sql">SqlImplementor.Clause</a>...&nbsp;clauses)</pre>
<div class="block">Visits an input of the current relational expression,
with the given expected clauses.</div>
</li>
</ul>
<a name="visitInput-org.apache.calcite.rel.RelNode-int-java.util.Set-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>visitInput</h4>
<pre>public final&nbsp;<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Result.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Result</a>&nbsp;visitInput(<a href="../../../../../org/apache/calcite/rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>&nbsp;e,
int&nbsp;i,
<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/rel2sql/SqlImplementor.Clause.html" title="enum in org.apache.calcite.rel.rel2sql">SqlImplementor.Clause</a>&gt;&nbsp;clauses)</pre>
<div class="block">Visits an input of the current relational expression,
deducing <code>anon</code> using <a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.html#isAnon--"><code>isAnon()</code></a>.</div>
</li>
</ul>
<a name="visitInput-org.apache.calcite.rel.RelNode-int-boolean-boolean-java.util.Set-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>visitInput</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Result.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Result</a>&nbsp;visitInput(<a href="../../../../../org/apache/calcite/rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>&nbsp;e,
int&nbsp;i,
boolean&nbsp;anon,
boolean&nbsp;ignoreClauses,
<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/rel2sql/SqlImplementor.Clause.html" title="enum in org.apache.calcite.rel.rel2sql">SqlImplementor.Clause</a>&gt;&nbsp;expectedClauses)</pre>
<div class="block">Visits the <code>i</code>th input of <code>e</code>, the current relational
expression.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>e</code> - Current relational expression</dd>
<dd><code>i</code> - Ordinal of input within <code>e</code></dd>
<dd><code>anon</code> - Whether to remove trivial aliases such as "EXPR$0"</dd>
<dd><code>ignoreClauses</code> - Whether to ignore the expected clauses when deciding
whether a sub-query is required</dd>
<dd><code>expectedClauses</code> - Set of clauses that we expect the builder that
consumes this result will create</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Result</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.html#isAnon--"><code>isAnon()</code></a></dd>
</dl>
</li>
</ul>
<a name="addSelect-java.util.List-org.apache.calcite.sql.SqlNode-org.apache.calcite.rel.type.RelDataType-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addSelect</h4>
<pre>public&nbsp;void&nbsp;addSelect(<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/sql/SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&gt;&nbsp;selectList,
<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;node,
<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;rowType)</pre>
</li>
</ul>
<a name="as-org.apache.calcite.sql.SqlNode-java.lang.String-java.lang.String...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>as</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/calcite/sql/SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a>&nbsp;as(<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</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;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;fieldNames)</pre>
<div class="block">Convenience method for creating column and table aliases.
<p><code>AS(e, "c")</code> creates "e AS c";
<code>AS(e, "t", "c1", "c2"</code> creates "e AS t (c1, c2)".</div>
</li>
</ul>
<a name="isStar-java.util.List-org.apache.calcite.rel.type.RelDataType-org.apache.calcite.rel.type.RelDataType-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isStar</h4>
<pre>public static&nbsp;boolean&nbsp;isStar(<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/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;exps,
<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;inputRowType,
<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;projectRowType)</pre>
<div class="block">Returns whether a list of expressions projects all fields, in order,
from the input, with the same names.</div>
</li>
</ul>
<a name="isStar-org.apache.calcite.rex.RexProgram-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isStar</h4>
<pre>public static&nbsp;boolean&nbsp;isStar(<a href="../../../../../org/apache/calcite/rex/RexProgram.html" title="class in org.apache.calcite.rex">RexProgram</a>&nbsp;program)</pre>
</li>
</ul>
<a name="setOpToSql-org.apache.calcite.sql.SqlSetOperator-org.apache.calcite.rel.RelNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOpToSql</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Result.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Result</a>&nbsp;setOpToSql(<a href="../../../../../org/apache/calcite/sql/SqlSetOperator.html" title="class in org.apache.calcite.sql">SqlSetOperator</a>&nbsp;operator,
<a href="../../../../../org/apache/calcite/rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>&nbsp;rel)</pre>
</li>
</ul>
<a name="convertConditionToSqlNode-org.apache.calcite.rex.RexNode-org.apache.calcite.rel.rel2sql.SqlImplementor.Context-org.apache.calcite.rel.rel2sql.SqlImplementor.Context-int-org.apache.calcite.sql.SqlDialect-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>convertConditionToSqlNode</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;convertConditionToSqlNode(<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;node,
<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Context.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Context</a>&nbsp;leftContext,
<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Context.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Context</a>&nbsp;rightContext,
int&nbsp;leftFieldCount,
<a href="../../../../../org/apache/calcite/sql/SqlDialect.html" title="class in org.apache.calcite.sql">SqlDialect</a>&nbsp;dialect)</pre>
<div class="block">Converts a <a href="../../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex"><code>RexNode</code></a> condition into a <a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="class in org.apache.calcite.sql"><code>SqlNode</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>node</code> - Join condition</dd>
<dd><code>leftContext</code> - Left context</dd>
<dd><code>rightContext</code> - Right context</dd>
<dd><code>leftFieldCount</code> - Number of fields on left result</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>SqlNode that represents the condition</dd>
</dl>
</li>
</ul>
<a name="joinType-org.apache.calcite.rel.core.JoinRelType-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>joinType</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/calcite/sql/JoinType.html" title="enum in org.apache.calcite.sql">JoinType</a>&nbsp;joinType(<a href="../../../../../org/apache/calcite/rel/core/JoinRelType.html" title="enum in org.apache.calcite.rel.core">JoinRelType</a>&nbsp;joinType)</pre>
</li>
</ul>
<a name="result-org.apache.calcite.sql.SqlNode-java.util.Collection-org.apache.calcite.rel.RelNode-java.util.Map-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>result</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Result.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Result</a>&nbsp;result(<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;node,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Clause.html" title="enum in org.apache.calcite.rel.rel2sql">SqlImplementor.Clause</a>&gt;&nbsp;clauses,
<a href="../../../../../org/apache/calcite/rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>&nbsp;rel,
<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/rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&gt;&nbsp;aliases)</pre>
<div class="block">Creates a result based on a single relational expression.</div>
</li>
</ul>
<a name="result-org.apache.calcite.sql.SqlNode-java.util.Collection-java.lang.String-org.apache.calcite.rel.type.RelDataType-java.util.Map-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>result</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Result.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Result</a>&nbsp;result(<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;node,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Clause.html" title="enum in org.apache.calcite.rel.rel2sql">SqlImplementor.Clause</a>&gt;&nbsp;clauses,
<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;neededAlias,
<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;neededType,
<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/rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&gt;&nbsp;aliases)</pre>
<div class="block">Factory method for <a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Result.html" title="class in org.apache.calcite.rel.rel2sql"><code>SqlImplementor.Result</code></a>.
<p>Call this method rather than creating a <code>Result</code> directly,
because sub-classes may override.</div>
</li>
</ul>
<a name="result-org.apache.calcite.sql.SqlNode-org.apache.calcite.rel.rel2sql.SqlImplementor.Result-org.apache.calcite.rel.rel2sql.SqlImplementor.Result-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>result</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Result.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Result</a>&nbsp;result(<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;join,
<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Result.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Result</a>&nbsp;leftResult,
<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Result.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Result</a>&nbsp;rightResult)</pre>
<div class="block">Creates a result based on a join. (Each join could contain one or more
relational expressions.)</div>
</li>
</ul>
<a name="isAnon--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAnon</h4>
<pre>protected&nbsp;boolean&nbsp;isAnon()</pre>
<div class="block">Returns whether to remove trivial aliases such as "EXPR$0"
when converting the current relational expression into a SELECT.
<p>For example, INSERT does not care about field names;
we would prefer to generate without the "EXPR$0" alias:
<pre><code> INSERT INTO t1 SELECT x, y + 1 FROM t2</code></pre>
rather than with it:
<pre><code> INSERT INTO t1 SELECT x, y + 1 AS EXPR$0 FROM t2</code></pre>
<p>But JOIN does care about field names; we have to generate the "EXPR$0"
alias:
<pre><code> SELECT *
FROM emp AS e
JOIN (SELECT x, y + 1 AS EXPR$0) AS d
ON e.deptno = d.EXPR$0</code>
</pre>
<p>because if we omit "AS EXPR$0" we do not know the field we are joining
to, and the following is invalid:
<pre><code> SELECT *
FROM emp AS e
JOIN (SELECT x, y + 1) AS d
ON e.deptno = d.EXPR$0</code>
</pre></div>
</li>
</ul>
<a name="aliasContext-java.util.Map-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>aliasContext</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Context.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Context</a>&nbsp;aliasContext(<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/rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&gt;&nbsp;aliases,
boolean&nbsp;qualified)</pre>
</li>
</ul>
<a name="joinContext-org.apache.calcite.rel.rel2sql.SqlImplementor.Context-org.apache.calcite.rel.rel2sql.SqlImplementor.Context-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>joinContext</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Context.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Context</a>&nbsp;joinContext(<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Context.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Context</a>&nbsp;leftContext,
<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Context.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Context</a>&nbsp;rightContext)</pre>
</li>
</ul>
<a name="matchRecognizeContext-org.apache.calcite.rel.rel2sql.SqlImplementor.Context-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>matchRecognizeContext</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Context.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Context</a>&nbsp;matchRecognizeContext(<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Context.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Context</a>&nbsp;context)</pre>
</li>
</ul>
<a name="tableFunctionScanContext-java.util.List-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>tableFunctionScanContext</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.Context.html" title="class in org.apache.calcite.rel.rel2sql">SqlImplementor.Context</a>&nbsp;tableFunctionScanContext(<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/sql/SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&gt;&nbsp;inputSqlNodes)</pre>
</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/rel/rel2sql/RelToSqlConverter.html" title="class in org.apache.calcite.rel.rel2sql"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/calcite/rel/rel2sql/SqlImplementor.AliasContext.html" title="class in org.apache.calcite.rel.rel2sql"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/calcite/rel/rel2sql/SqlImplementor.html" target="_top">Frames</a></li>
<li><a href="SqlImplementor.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>