blob: d4795886106e014fc1154247e10373dbce76b0a1 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>DelegatingScope (Apache Calcite API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../../jquery/jquery-3.3.1.js"></script>
<script type="text/javascript" src="../../../../../jquery/jquery-migrate-3.0.1.js"></script>
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="DelegatingScope (Apache Calcite API)";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/DelegatingScope.html">Use</a></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>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><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 id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.apache.calcite.sql.validate</a></div>
<h2 title="Class DelegatingScope" class="title">Class DelegatingScope</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.apache.calcite.sql.validate.DelegatingScope</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code><a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><code><a href="AggregatingSelectScope.html" title="class in org.apache.calcite.sql.validate">AggregatingSelectScope</a></code>, <code><a href="CatalogScope.html" title="class in org.apache.calcite.sql.validate">CatalogScope</a></code>, <code><a href="GroupByScope.html" title="class in org.apache.calcite.sql.validate">GroupByScope</a></code>, <code><a href="ListScope.html" title="class in org.apache.calcite.sql.validate">ListScope</a></code>, <code><a href="OrderByScope.html" title="class in org.apache.calcite.sql.validate">OrderByScope</a></code></dd>
</dl>
<hr>
<pre>public abstract class <span class="typeNameLabel">DelegatingScope</span>
extends java.lang.Object
implements <a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></pre>
<div class="block">A scope which delegates all requests to its parent scope. Use this as a base
class for defining nested scopes.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<ul class="blockList">
<li class="blockList"><a id="nested.classes.inherited.from.class.org.apache.calcite.sql.validate.SqlValidatorScope">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface&nbsp;org.apache.calcite.sql.validate.<a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></h3>
<code><a href="SqlValidatorScope.EmptyPath.html" title="class in org.apache.calcite.sql.validate">SqlValidatorScope.EmptyPath</a>, <a href="SqlValidatorScope.Path.html" title="class in org.apache.calcite.sql.validate">SqlValidatorScope.Path</a>, <a href="SqlValidatorScope.Resolve.html" title="class in org.apache.calcite.sql.validate">SqlValidatorScope.Resolve</a>, <a href="SqlValidatorScope.Resolved.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope.Resolved</a>, <a href="SqlValidatorScope.ResolvedImpl.html" title="class in org.apache.calcite.sql.validate">SqlValidatorScope.ResolvedImpl</a>, <a href="SqlValidatorScope.Step.html" title="class in org.apache.calcite.sql.validate">SqlValidatorScope.Step</a></code></li>
</ul>
</li>
</ul>
</section>
<!-- =========== FIELD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Field</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#parent">parent</a></span></code></th>
<td class="colLast">
<div class="block">Parent scope.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="SqlValidatorImpl.html" title="class in org.apache.calcite.sql.validate">SqlValidatorImpl</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#validator">validator</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.apache.calcite.sql.validate.SqlValidatorScope)">DelegatingScope</a></span>&#8203;(<a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a>&nbsp;parent)</code></th>
<td class="colLast">
<div class="block">Creates a <code>DelegatingScope</code>.</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</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></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addChild(org.apache.calcite.sql.validate.SqlValidatorNamespace,java.lang.String,boolean)">addChild</a></span>&#8203;(<a href="SqlValidatorNamespace.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorNamespace</a>&nbsp;ns,
java.lang.String&nbsp;alias,
boolean&nbsp;nullable)</code></th>
<td class="colLast">
<div class="block">Registers a relation in this scope.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addColumnNames(org.apache.calcite.sql.validate.SqlValidatorNamespace,java.util.List)">addColumnNames</a></span>&#8203;(<a href="SqlValidatorNamespace.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorNamespace</a>&nbsp;ns,
java.util.List&lt;<a href="SqlMoniker.html" title="interface in org.apache.calcite.sql.validate">SqlMoniker</a>&gt;&nbsp;colNames)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#findAliases(java.util.Collection)">findAliases</a></span>&#8203;(java.util.Collection&lt;<a href="SqlMoniker.html" title="interface in org.apache.calcite.sql.validate">SqlMoniker</a>&gt;&nbsp;result)</code></th>
<td class="colLast">
<div class="block">Collects the <a href="SqlMoniker.html" title="interface in org.apache.calcite.sql.validate"><code>SqlMoniker</code></a>s of all table aliases (uses of tables in
query FROM clauses) available in this scope.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#findAllColumnNames(java.util.List)">findAllColumnNames</a></span>&#8203;(java.util.List&lt;<a href="SqlMoniker.html" title="interface in org.apache.calcite.sql.validate">SqlMoniker</a>&gt;&nbsp;result)</code></th>
<td class="colLast">
<div class="block">Collects the <a href="SqlMoniker.html" title="interface in org.apache.calcite.sql.validate"><code>SqlMoniker</code></a>s of all possible columns in this scope.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../util/Pair.html" title="class in org.apache.calcite.util">Pair</a>&lt;java.lang.String,&#8203;<a href="SqlValidatorNamespace.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorNamespace</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#findQualifyingTableName(java.lang.String,org.apache.calcite.sql.SqlNode)">findQualifyingTableName</a></span>&#8203;(java.lang.String&nbsp;columnName,
<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;ctx)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>java.util.Map&lt;java.lang.String,&#8203;<a href="ScopeChild.html" title="class in org.apache.calcite.sql.validate">ScopeChild</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#findQualifyingTableNames(java.lang.String,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.validate.SqlNameMatcher)">findQualifyingTableNames</a></span>&#8203;(java.lang.String&nbsp;columnName,
<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;ctx,
<a href="SqlNameMatcher.html" title="interface in org.apache.calcite.sql.validate">SqlNameMatcher</a>&nbsp;nameMatcher)</code></th>
<td class="colLast">
<div class="block">Finds all table aliases which are implicitly qualifying an unqualified
column name.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="SqlQualified.html" title="class in org.apache.calcite.sql.validate">SqlQualified</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#fullyQualify(org.apache.calcite.sql.SqlIdentifier)">fullyQualify</a></span>&#8203;(<a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a>&nbsp;identifier)</code></th>
<td class="colLast">
<div class="block">Converts an identifier into a fully-qualified identifier.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="SqlMonotonicity.html" title="enum in org.apache.calcite.sql.validate">SqlMonotonicity</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMonotonicity(org.apache.calcite.sql.SqlNode)">getMonotonicity</a></span>&#8203;(<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;expr)</code></th>
<td class="colLast">
<div class="block">Returns whether an expression is monotonic in this scope.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getOperandScope(org.apache.calcite.sql.SqlCall)">getOperandScope</a></span>&#8203;(<a href="../SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a>&nbsp;call)</code></th>
<td class="colLast">
<div class="block">Returns the scope within which operands to a call are to be validated.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getOrderList()">getOrderList</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the expressions by which the rows in this scope are sorted.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getParent()">getParent</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the parent scope of this <code>DelegatingScope</code>.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="SqlValidatorNamespace.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorNamespace</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTableNamespace(java.util.List)">getTableNamespace</a></span>&#8203;(java.util.List&lt;java.lang.String&gt;&nbsp;names)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="SqlValidator.html" title="interface in org.apache.calcite.sql.validate">SqlValidator</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getValidator()">getValidator</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the validator which created this scope.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>private boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasAmbiguousField(org.apache.calcite.rel.type.RelDataType,org.apache.calcite.rel.type.RelDataTypeField,java.lang.String,org.apache.calcite.sql.validate.SqlNameMatcher)">hasAmbiguousField</a></span>&#8203;(<a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;rowType,
<a href="../../rel/type/RelDataTypeField.html" title="interface in org.apache.calcite.rel.type">RelDataTypeField</a>&nbsp;field,
java.lang.String&nbsp;columnName,
<a href="SqlNameMatcher.html" title="interface in org.apache.calcite.sql.validate">SqlNameMatcher</a>&nbsp;nameMatcher)</code></th>
<td class="colLast">
<div class="block">Returns whether <code>rowType</code> contains more than one star column or
fields with the same name, which implies ambiguous column.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="../SqlWindow.html" title="class in org.apache.calcite.sql">SqlWindow</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#lookupWindow(java.lang.String)">lookupWindow</a></span>&#8203;(java.lang.String&nbsp;name)</code></th>
<td class="colLast">
<div class="block">Finds a window with a given name.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#nullifyType(org.apache.calcite.sql.SqlNode,org.apache.calcite.rel.type.RelDataType)">nullifyType</a></span>&#8203;(<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;node,
<a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type)</code></th>
<td class="colLast">
<div class="block">Converts the type of an expression to nullable, if the context
warrants it.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#resolve(java.util.List,org.apache.calcite.sql.validate.SqlNameMatcher,boolean,org.apache.calcite.sql.validate.SqlValidatorScope.Resolved)">resolve</a></span>&#8203;(java.util.List&lt;java.lang.String&gt;&nbsp;names,
<a href="SqlNameMatcher.html" title="interface in org.apache.calcite.sql.validate">SqlNameMatcher</a>&nbsp;nameMatcher,
boolean&nbsp;deep,
<a href="SqlValidatorScope.Resolved.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope.Resolved</a>&nbsp;resolved)</code></th>
<td class="colLast">
<div class="block">Looks up a node with a given name.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#resolveColumn(java.lang.String,org.apache.calcite.sql.SqlNode)">resolveColumn</a></span>&#8203;(java.lang.String&nbsp;name,
<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;ctx)</code></th>
<td class="colLast">
<div class="block">Resolves a single identifier to a column, and returns the datatype of
that column.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>(package private) void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#resolveInNamespace(org.apache.calcite.sql.validate.SqlValidatorNamespace,boolean,java.util.List,org.apache.calcite.sql.validate.SqlNameMatcher,org.apache.calcite.sql.validate.SqlValidatorScope.Path,org.apache.calcite.sql.validate.SqlValidatorScope.Resolved)">resolveInNamespace</a></span>&#8203;(<a href="SqlValidatorNamespace.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorNamespace</a>&nbsp;ns,
boolean&nbsp;nullable,
java.util.List&lt;java.lang.String&gt;&nbsp;names,
<a href="SqlNameMatcher.html" title="interface in org.apache.calcite.sql.validate">SqlNameMatcher</a>&nbsp;nameMatcher,
<a href="SqlValidatorScope.Path.html" title="class in org.apache.calcite.sql.validate">SqlValidatorScope.Path</a>&nbsp;path,
<a href="SqlValidatorScope.Resolved.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope.Resolved</a>&nbsp;resolved)</code></th>
<td class="colLast">
<div class="block">If a record type allows implicit references to fields, recursively looks
into the fields.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#resolveTable(java.util.List,org.apache.calcite.sql.validate.SqlNameMatcher,org.apache.calcite.sql.validate.SqlValidatorScope.Path,org.apache.calcite.sql.validate.SqlValidatorScope.Resolved)">resolveTable</a></span>&#8203;(java.util.List&lt;java.lang.String&gt;&nbsp;names,
<a href="SqlNameMatcher.html" title="interface in org.apache.calcite.sql.validate">SqlNameMatcher</a>&nbsp;nameMatcher,
<a href="SqlValidatorScope.Path.html" title="class in org.apache.calcite.sql.validate">SqlValidatorScope.Path</a>&nbsp;path,
<a href="SqlValidatorScope.Resolved.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope.Resolved</a>&nbsp;resolved)</code></th>
<td class="colLast">
<div class="block">Looks up a table in this scope from its name.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#validateExpr(org.apache.calcite.sql.SqlNode)">validateExpr</a></span>&#8203;(<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;expr)</code></th>
<td class="colLast">
<div class="block">Performs any scope-specific validation of an expression.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.apache.calcite.sql.validate.SqlValidatorScope">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.apache.calcite.sql.validate.<a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></h3>
<code><a href="SqlValidatorScope.html#getNode()">getNode</a>, <a href="SqlValidatorScope.html#isWithin(org.apache.calcite.sql.validate.SqlValidatorScope)">isWithin</a></code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a id="parent">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parent</h4>
<pre>protected final&nbsp;<a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a> parent</pre>
<div class="block">Parent scope. This is where to look next to resolve an identifier; it is
not always the parent object in the parse tree.
<p>This is never null: at the top of the tree, it is an
<a href="EmptyScope.html" title="class in org.apache.calcite.sql.validate"><code>EmptyScope</code></a>.</div>
</li>
</ul>
<a id="validator">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>validator</h4>
<pre>protected final&nbsp;<a href="SqlValidatorImpl.html" title="class in org.apache.calcite.sql.validate">SqlValidatorImpl</a> validator</pre>
</li>
</ul>
</li>
</ul>
</section>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;(org.apache.calcite.sql.validate.SqlValidatorScope)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>DelegatingScope</h4>
<pre>DelegatingScope&#8203;(<a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a>&nbsp;parent)</pre>
<div class="block">Creates a <code>DelegatingScope</code>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parent</code> - Parent scope</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="addChild(org.apache.calcite.sql.validate.SqlValidatorNamespace,java.lang.String,boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addChild</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;addChild&#8203;(<a href="SqlValidatorNamespace.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorNamespace</a>&nbsp;ns,
java.lang.String&nbsp;alias,
boolean&nbsp;nullable)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="SqlValidatorScope.html#addChild(org.apache.calcite.sql.validate.SqlValidatorNamespace,java.lang.String,boolean)">SqlValidatorScope</a></code></span></div>
<div class="block">Registers a relation in this scope.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="SqlValidatorScope.html#addChild(org.apache.calcite.sql.validate.SqlValidatorNamespace,java.lang.String,boolean)">addChild</a></code>&nbsp;in interface&nbsp;<code><a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>ns</code> - Namespace representing the result-columns of the relation</dd>
<dd><code>alias</code> - Alias with which to reference the relation, must not be null</dd>
<dd><code>nullable</code> - Whether this is a null-generating side of a join</dd>
</dl>
</li>
</ul>
<a id="resolve(java.util.List,org.apache.calcite.sql.validate.SqlNameMatcher,boolean,org.apache.calcite.sql.validate.SqlValidatorScope.Resolved)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resolve</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;resolve&#8203;(java.util.List&lt;java.lang.String&gt;&nbsp;names,
<a href="SqlNameMatcher.html" title="interface in org.apache.calcite.sql.validate">SqlNameMatcher</a>&nbsp;nameMatcher,
boolean&nbsp;deep,
<a href="SqlValidatorScope.Resolved.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope.Resolved</a>&nbsp;resolved)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="SqlValidatorScope.html#resolve(java.util.List,org.apache.calcite.sql.validate.SqlNameMatcher,boolean,org.apache.calcite.sql.validate.SqlValidatorScope.Resolved)">SqlValidatorScope</a></code></span></div>
<div class="block">Looks up a node with a given name. Returns null if none is found.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="SqlValidatorScope.html#resolve(java.util.List,org.apache.calcite.sql.validate.SqlNameMatcher,boolean,org.apache.calcite.sql.validate.SqlValidatorScope.Resolved)">resolve</a></code>&nbsp;in interface&nbsp;<code><a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>names</code> - Name of node to find, maybe partially or fully qualified</dd>
<dd><code>nameMatcher</code> - Name matcher</dd>
<dd><code>deep</code> - Whether to look more than one level deep</dd>
<dd><code>resolved</code> - Callback wherein to write the match(es) we find</dd>
</dl>
</li>
</ul>
<a id="resolveInNamespace(org.apache.calcite.sql.validate.SqlValidatorNamespace,boolean,java.util.List,org.apache.calcite.sql.validate.SqlNameMatcher,org.apache.calcite.sql.validate.SqlValidatorScope.Path,org.apache.calcite.sql.validate.SqlValidatorScope.Resolved)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resolveInNamespace</h4>
<pre class="methodSignature">void&nbsp;resolveInNamespace&#8203;(<a href="SqlValidatorNamespace.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorNamespace</a>&nbsp;ns,
boolean&nbsp;nullable,
java.util.List&lt;java.lang.String&gt;&nbsp;names,
<a href="SqlNameMatcher.html" title="interface in org.apache.calcite.sql.validate">SqlNameMatcher</a>&nbsp;nameMatcher,
<a href="SqlValidatorScope.Path.html" title="class in org.apache.calcite.sql.validate">SqlValidatorScope.Path</a>&nbsp;path,
<a href="SqlValidatorScope.Resolved.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope.Resolved</a>&nbsp;resolved)</pre>
<div class="block">If a record type allows implicit references to fields, recursively looks
into the fields. Otherwise returns immediately.</div>
</li>
</ul>
<a id="addColumnNames(org.apache.calcite.sql.validate.SqlValidatorNamespace,java.util.List)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addColumnNames</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;addColumnNames&#8203;(<a href="SqlValidatorNamespace.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorNamespace</a>&nbsp;ns,
java.util.List&lt;<a href="SqlMoniker.html" title="interface in org.apache.calcite.sql.validate">SqlMoniker</a>&gt;&nbsp;colNames)</pre>
</li>
</ul>
<a id="findAllColumnNames(java.util.List)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>findAllColumnNames</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;findAllColumnNames&#8203;(java.util.List&lt;<a href="SqlMoniker.html" title="interface in org.apache.calcite.sql.validate">SqlMoniker</a>&gt;&nbsp;result)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="SqlValidatorScope.html#findAllColumnNames(java.util.List)">SqlValidatorScope</a></code></span></div>
<div class="block">Collects the <a href="SqlMoniker.html" title="interface in org.apache.calcite.sql.validate"><code>SqlMoniker</code></a>s of all possible columns in this scope.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="SqlValidatorScope.html#findAllColumnNames(java.util.List)">findAllColumnNames</a></code>&nbsp;in interface&nbsp;<code><a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>result</code> - an array list of strings to add the result to</dd>
</dl>
</li>
</ul>
<a id="findAliases(java.util.Collection)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>findAliases</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;findAliases&#8203;(java.util.Collection&lt;<a href="SqlMoniker.html" title="interface in org.apache.calcite.sql.validate">SqlMoniker</a>&gt;&nbsp;result)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="SqlValidatorScope.html#findAliases(java.util.Collection)">SqlValidatorScope</a></code></span></div>
<div class="block">Collects the <a href="SqlMoniker.html" title="interface in org.apache.calcite.sql.validate"><code>SqlMoniker</code></a>s of all table aliases (uses of tables in
query FROM clauses) available in this scope.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="SqlValidatorScope.html#findAliases(java.util.Collection)">findAliases</a></code>&nbsp;in interface&nbsp;<code><a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>result</code> - a list of monikers to add the result to</dd>
</dl>
</li>
</ul>
<a id="findQualifyingTableName(java.lang.String,org.apache.calcite.sql.SqlNode)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>findQualifyingTableName</h4>
<pre class="methodSignature">public&nbsp;<a href="../../util/Pair.html" title="class in org.apache.calcite.util">Pair</a>&lt;java.lang.String,&#8203;<a href="SqlValidatorNamespace.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorNamespace</a>&gt;&nbsp;findQualifyingTableName&#8203;(java.lang.String&nbsp;columnName,
<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;ctx)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="SqlValidatorScope.html#findQualifyingTableName(java.lang.String,org.apache.calcite.sql.SqlNode)">findQualifyingTableName</a></code>&nbsp;in interface&nbsp;<code><a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></dd>
</dl>
</li>
</ul>
<a id="findQualifyingTableNames(java.lang.String,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.validate.SqlNameMatcher)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>findQualifyingTableNames</h4>
<pre class="methodSignature">public&nbsp;java.util.Map&lt;java.lang.String,&#8203;<a href="ScopeChild.html" title="class in org.apache.calcite.sql.validate">ScopeChild</a>&gt;&nbsp;findQualifyingTableNames&#8203;(java.lang.String&nbsp;columnName,
<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;ctx,
<a href="SqlNameMatcher.html" title="interface in org.apache.calcite.sql.validate">SqlNameMatcher</a>&nbsp;nameMatcher)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="SqlValidatorScope.html#findQualifyingTableNames(java.lang.String,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.validate.SqlNameMatcher)">SqlValidatorScope</a></code></span></div>
<div class="block">Finds all table aliases which are implicitly qualifying an unqualified
column name.
<p>This method is only implemented in scopes (such as
<a href="SelectScope.html" title="class in org.apache.calcite.sql.validate"><code>SelectScope</code></a>) which can be the
context for name-resolution. In scopes such as
<a href="IdentifierNamespace.html" title="class in org.apache.calcite.sql.validate"><code>IdentifierNamespace</code></a>, it throws
<code>UnsupportedOperationException</code>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="SqlValidatorScope.html#findQualifyingTableNames(java.lang.String,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.validate.SqlNameMatcher)">findQualifyingTableNames</a></code>&nbsp;in interface&nbsp;<code><a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>columnName</code> - Column name</dd>
<dd><code>ctx</code> - Validation context, to appear in any error thrown</dd>
<dd><code>nameMatcher</code> - Name matcher</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Map of applicable table alias and namespaces, never null, empty
if no aliases found</dd>
</dl>
</li>
</ul>
<a id="resolveColumn(java.lang.String,org.apache.calcite.sql.SqlNode)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resolveColumn</h4>
<pre class="methodSignature">public&nbsp;<a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;resolveColumn&#8203;(java.lang.String&nbsp;name,
<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;ctx)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="SqlValidatorScope.html#resolveColumn(java.lang.String,org.apache.calcite.sql.SqlNode)">SqlValidatorScope</a></code></span></div>
<div class="block">Resolves a single identifier to a column, and returns the datatype of
that column.
<p>If it cannot find the column, returns null. If the column is
ambiguous, throws an error with context <code>ctx</code>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="SqlValidatorScope.html#resolveColumn(java.lang.String,org.apache.calcite.sql.SqlNode)">resolveColumn</a></code>&nbsp;in interface&nbsp;<code><a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - Name of column</dd>
<dd><code>ctx</code> - Context for exception</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Type of column, if found and unambiguous; null if not found</dd>
</dl>
</li>
</ul>
<a id="nullifyType(org.apache.calcite.sql.SqlNode,org.apache.calcite.rel.type.RelDataType)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nullifyType</h4>
<pre class="methodSignature">public&nbsp;<a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;nullifyType&#8203;(<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;node,
<a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="SqlValidatorScope.html#nullifyType(org.apache.calcite.sql.SqlNode,org.apache.calcite.rel.type.RelDataType)">SqlValidatorScope</a></code></span></div>
<div class="block">Converts the type of an expression to nullable, if the context
warrants it.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="SqlValidatorScope.html#nullifyType(org.apache.calcite.sql.SqlNode,org.apache.calcite.rel.type.RelDataType)">nullifyType</a></code>&nbsp;in interface&nbsp;<code><a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></dd>
</dl>
</li>
</ul>
<a id="getTableNamespace(java.util.List)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTableNamespace</h4>
<pre class="methodSignature">public&nbsp;<a href="SqlValidatorNamespace.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorNamespace</a>&nbsp;getTableNamespace&#8203;(java.util.List&lt;java.lang.String&gt;&nbsp;names)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="SqlValidatorScope.html#getTableNamespace(java.util.List)">getTableNamespace</a></code>&nbsp;in interface&nbsp;<code><a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></dd>
</dl>
</li>
</ul>
<a id="resolveTable(java.util.List,org.apache.calcite.sql.validate.SqlNameMatcher,org.apache.calcite.sql.validate.SqlValidatorScope.Path,org.apache.calcite.sql.validate.SqlValidatorScope.Resolved)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resolveTable</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;resolveTable&#8203;(java.util.List&lt;java.lang.String&gt;&nbsp;names,
<a href="SqlNameMatcher.html" title="interface in org.apache.calcite.sql.validate">SqlNameMatcher</a>&nbsp;nameMatcher,
<a href="SqlValidatorScope.Path.html" title="class in org.apache.calcite.sql.validate">SqlValidatorScope.Path</a>&nbsp;path,
<a href="SqlValidatorScope.Resolved.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope.Resolved</a>&nbsp;resolved)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="SqlValidatorScope.html#resolveTable(java.util.List,org.apache.calcite.sql.validate.SqlNameMatcher,org.apache.calcite.sql.validate.SqlValidatorScope.Path,org.apache.calcite.sql.validate.SqlValidatorScope.Resolved)">SqlValidatorScope</a></code></span></div>
<div class="block">Looks up a table in this scope from its name. If found, calls
<a href="SqlValidatorScope.html#resolve(java.util.List,org.apache.calcite.sql.validate.SqlNameMatcher,boolean,org.apache.calcite.sql.validate.SqlValidatorScope.Resolved)"><code>SqlValidatorScope.resolve(List, SqlNameMatcher, boolean, Resolved)</code></a>.
<a href="TableNamespace.html" title="class in org.apache.calcite.sql.validate"><code>TableNamespace</code></a> that wraps it. If the "table" is defined in a
<code>WITH</code> clause it may be a query, not a table after all.
<p>The name matcher is not null, and one typically uses
<a href="SqlValidatorCatalogReader.html#nameMatcher()"><code>SqlValidatorCatalogReader.nameMatcher()</code></a>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="SqlValidatorScope.html#resolveTable(java.util.List,org.apache.calcite.sql.validate.SqlNameMatcher,org.apache.calcite.sql.validate.SqlValidatorScope.Path,org.apache.calcite.sql.validate.SqlValidatorScope.Resolved)">resolveTable</a></code>&nbsp;in interface&nbsp;<code><a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>names</code> - Name of table, may be qualified or fully-qualified</dd>
<dd><code>nameMatcher</code> - Name matcher</dd>
<dd><code>path</code> - List of names that we have traversed through so far</dd>
</dl>
</li>
</ul>
<a id="getOperandScope(org.apache.calcite.sql.SqlCall)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOperandScope</h4>
<pre class="methodSignature">public&nbsp;<a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a>&nbsp;getOperandScope&#8203;(<a href="../SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a>&nbsp;call)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="SqlValidatorScope.html#getOperandScope(org.apache.calcite.sql.SqlCall)">SqlValidatorScope</a></code></span></div>
<div class="block">Returns the scope within which operands to a call are to be validated.
Usually it is this scope, but when the call is to an aggregate function
and this is an aggregating scope, it will be a a different scope.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="SqlValidatorScope.html#getOperandScope(org.apache.calcite.sql.SqlCall)">getOperandScope</a></code>&nbsp;in interface&nbsp;<code><a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>call</code> - Call</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Scope within which to validate arguments to call.</dd>
</dl>
</li>
</ul>
<a id="getValidator()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getValidator</h4>
<pre class="methodSignature">public&nbsp;<a href="SqlValidator.html" title="interface in org.apache.calcite.sql.validate">SqlValidator</a>&nbsp;getValidator()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="SqlValidatorScope.html#getValidator()">SqlValidatorScope</a></code></span></div>
<div class="block">Returns the validator which created this scope.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="SqlValidatorScope.html#getValidator()">getValidator</a></code>&nbsp;in interface&nbsp;<code><a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></dd>
</dl>
</li>
</ul>
<a id="fullyQualify(org.apache.calcite.sql.SqlIdentifier)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fullyQualify</h4>
<pre class="methodSignature">public&nbsp;<a href="SqlQualified.html" title="class in org.apache.calcite.sql.validate">SqlQualified</a>&nbsp;fullyQualify&#8203;(<a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a>&nbsp;identifier)</pre>
<div class="block">Converts an identifier into a fully-qualified identifier. For example,
the "empno" in "select empno from emp natural join dept" becomes
"emp.empno".
<p>If the identifier cannot be resolved, throws. Never returns null.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="SqlValidatorScope.html#fullyQualify(org.apache.calcite.sql.SqlIdentifier)">fullyQualify</a></code>&nbsp;in interface&nbsp;<code><a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A qualified identifier, never null</dd>
</dl>
</li>
</ul>
<a id="validateExpr(org.apache.calcite.sql.SqlNode)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>validateExpr</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;validateExpr&#8203;(<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;expr)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="SqlValidatorScope.html#validateExpr(org.apache.calcite.sql.SqlNode)">SqlValidatorScope</a></code></span></div>
<div class="block">Performs any scope-specific validation of an expression. For example, an
aggregating scope requires that expressions are valid aggregations. The
expression has already been validated.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="SqlValidatorScope.html#validateExpr(org.apache.calcite.sql.SqlNode)">validateExpr</a></code>&nbsp;in interface&nbsp;<code><a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></dd>
</dl>
</li>
</ul>
<a id="lookupWindow(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lookupWindow</h4>
<pre class="methodSignature">public&nbsp;<a href="../SqlWindow.html" title="class in org.apache.calcite.sql">SqlWindow</a>&nbsp;lookupWindow&#8203;(java.lang.String&nbsp;name)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="SqlValidatorScope.html#lookupWindow(java.lang.String)">SqlValidatorScope</a></code></span></div>
<div class="block">Finds a window with a given name. Returns null if not found.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="SqlValidatorScope.html#lookupWindow(java.lang.String)">lookupWindow</a></code>&nbsp;in interface&nbsp;<code><a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></dd>
</dl>
</li>
</ul>
<a id="getMonotonicity(org.apache.calcite.sql.SqlNode)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMonotonicity</h4>
<pre class="methodSignature">public&nbsp;<a href="SqlMonotonicity.html" title="enum in org.apache.calcite.sql.validate">SqlMonotonicity</a>&nbsp;getMonotonicity&#8203;(<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;expr)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="SqlValidatorScope.html#getMonotonicity(org.apache.calcite.sql.SqlNode)">SqlValidatorScope</a></code></span></div>
<div class="block">Returns whether an expression is monotonic in this scope. For example, if
the scope has previously been sorted by columns X, Y, then X is monotonic
in this scope, but Y is not.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="SqlValidatorScope.html#getMonotonicity(org.apache.calcite.sql.SqlNode)">getMonotonicity</a></code>&nbsp;in interface&nbsp;<code><a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></dd>
</dl>
</li>
</ul>
<a id="getOrderList()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOrderList</h4>
<pre class="methodSignature">public&nbsp;<a href="../SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a>&nbsp;getOrderList()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="SqlValidatorScope.html#getOrderList()">SqlValidatorScope</a></code></span></div>
<div class="block">Returns the expressions by which the rows in this scope are sorted. If
the rows are unsorted, returns null.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="SqlValidatorScope.html#getOrderList()">getOrderList</a></code>&nbsp;in interface&nbsp;<code><a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></dd>
</dl>
</li>
</ul>
<a id="hasAmbiguousField(org.apache.calcite.rel.type.RelDataType,org.apache.calcite.rel.type.RelDataTypeField,java.lang.String,org.apache.calcite.sql.validate.SqlNameMatcher)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasAmbiguousField</h4>
<pre class="methodSignature">private&nbsp;boolean&nbsp;hasAmbiguousField&#8203;(<a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;rowType,
<a href="../../rel/type/RelDataTypeField.html" title="interface in org.apache.calcite.rel.type">RelDataTypeField</a>&nbsp;field,
java.lang.String&nbsp;columnName,
<a href="SqlNameMatcher.html" title="interface in org.apache.calcite.sql.validate">SqlNameMatcher</a>&nbsp;nameMatcher)</pre>
<div class="block">Returns whether <code>rowType</code> contains more than one star column or
fields with the same name, which implies ambiguous column.</div>
</li>
</ul>
<a id="getParent()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getParent</h4>
<pre class="methodSignature">public&nbsp;<a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a>&nbsp;getParent()</pre>
<div class="block">Returns the parent scope of this <code>DelegatingScope</code>.</div>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/DelegatingScope.html">Use</a></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>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><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 id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 2012&#x2013;2019 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</footer>
</body>
</html>