blob: a99373e6afc0b1755bdac1e77deac449e9aa488a [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="zh">
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>WithNamespace (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="WithNamespace (Apache Calcite calcite API)";
}
}
catch(err) {
}
//-->
var methods = {"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,"i21":10};
var tabs = {65535:["t0","所有方法"],2:["t2","实例方法"],8:["t4","具体方法"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>您的浏览器已禁用 JavaScript。</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="导航">
<li><a href="../../../../../overview-summary.html">概览</a></li>
<li><a href="package-summary.html">程序包</a></li>
<li class="navBarCell1Rev"></li>
<li><a href="package-tree.html"></a></li>
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
<li><a href="../../../../../index-all.html">索引</a></li>
<li><a href="../../../../../help-doc.html">帮助</a></li>
</ul>
<div class="aboutLanguage"><b>Apache Calcite</b></div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/calcite/sql/validate/TableConstructorNamespace.html" title="org.apache.calcite.sql.validate中的类"><span class="typeNameLink">上一个类</span></a></li>
<li>下一个类</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/calcite/sql/validate/WithNamespace.html" target="_top">框架</a></li>
<li><a href="WithNamespace.html" target="_top">无框架</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">所有类</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>概要:&nbsp;</li>
<li>嵌套&nbsp;|&nbsp;</li>
<li><a href="#field.summary">字段</a>&nbsp;|&nbsp;</li>
<li>构造器&nbsp;|&nbsp;</li>
<li><a href="#method.summary">方法</a></li>
</ul>
<ul class="subNavList">
<li>详细资料:&nbsp;</li>
<li><a href="#field.detail">字段</a>&nbsp;|&nbsp;</li>
<li>构造器&nbsp;|&nbsp;</li>
<li><a href="#method.detail">方法</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.sql.validate</div>
<h2 title="类 WithNamespace" class="title">类 WithNamespace</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="java.lang中的类或接口">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.calcite.sql.validate.WithNamespace</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>所有已实现的接口:</dt>
<dd><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html" title="org.apache.calcite.sql.validate中的接口">SqlValidatorNamespace</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">WithNamespace</span>
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a></pre>
<div class="block">Namespace for <code>WITH</code> clause.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>字段概要</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="字段概要表, 列表字段和解释">
<caption><span>字段</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">限定符和类型</th>
<th class="colLast" scope="col">字段和说明</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/WithNamespace.html#enclosingNode">enclosingNode</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/WithNamespace.html#rowType">rowType</a></span></code>
<div class="block">Type of the output row, which comprises the name and type of each output
column.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/WithNamespace.html#type">type</a></span></code>
<div class="block">As <a href="../../../../../org/apache/calcite/sql/validate/WithNamespace.html#rowType"><code>rowType</code></a>, but not necessarily a struct.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorImpl.html" title="org.apache.calcite.sql.validate中的类">SqlValidatorImpl</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/WithNamespace.html#validator">validator</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>方法概要</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="方法概要表, 列表方法和解释">
<caption><span id="t0" class="activeTableTab"><span>所有方法</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">实例方法</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">具体方法</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">限定符和类型</th>
<th class="colLast" scope="col">方法和说明</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/WithNamespace.html#convertToStruct-org.apache.calcite.rel.type.RelDataType-">convertToStruct</a></span>(<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a>&nbsp;type)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/WithNamespace.html#fieldExists-java.lang.String-">fieldExists</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;name)</code>
<div class="block">Returns whether this namespace has a field of a given name.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/WithNamespace.html#getEnclosingNode--">getEnclosingNode</a></span>()</code>
<div class="block">Returns the parse tree node that at is at the root of this namespace and
includes all decorations.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;<a href="../../../../../org/apache/calcite/util/Pair.html" title="org.apache.calcite.util中的类">Pair</a>&lt;<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a>,<a href="../../../../../org/apache/calcite/sql/validate/SqlMonotonicity.html" title="org.apache.calcite.sql.validate中的枚举">SqlMonotonicity</a>&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/WithNamespace.html#getMonotonicExprs--">getMonotonicExprs</a></span>()</code>
<div class="block">Returns a list of expressions which are monotonic in this namespace.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/sql/validate/SqlMonotonicity.html" title="org.apache.calcite.sql.validate中的枚举">SqlMonotonicity</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/WithNamespace.html#getMonotonicity-java.lang.String-">getMonotonicity</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;columnName)</code>
<div class="block">Returns whether and how a given column is sorted.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/WithNamespace.html#getNode--">getNode</a></span>()</code>
<div class="block">Returns the parse tree node at the root of this namespace.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/WithNamespace.html#getRowType--">getRowType</a></span>()</code>
<div class="block">Returns the row type of this namespace, which comprises a list of names
and types of the output columns.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/WithNamespace.html#getRowTypeSansSystemColumns--">getRowTypeSansSystemColumns</a></span>()</code>
<div class="block">Returns the row type of this namespace, sans any system columns.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorTable.html" title="org.apache.calcite.sql.validate中的接口">SqlValidatorTable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/WithNamespace.html#getTable--">getTable</a></span>()</code>
<div class="block">Returns the underlying table, or null if there is none.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/WithNamespace.html#getType--">getType</a></span>()</code>
<div class="block">Returns the type of this namespace.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidator.html" title="org.apache.calcite.sql.validate中的接口">SqlValidator</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/WithNamespace.html#getValidator--">getValidator</a></span>()</code>
<div class="block">Returns the validator.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/WithNamespace.html#isWrapperFor-java.lang.Class-">isWrapperFor</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="java.lang中的类或接口">Class</a>&lt;?&gt;&nbsp;clazz)</code>
<div class="block">Returns whether this namespace implements a given interface, or wraps a
class which does.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html" title="org.apache.calcite.sql.validate中的接口">SqlValidatorNamespace</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/WithNamespace.html#lookupChild-java.lang.String-">lookupChild</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;name)</code>
<div class="block">Looks up a child namespace of a given name.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/WithNamespace.html#makeNullable--">makeNullable</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html" title="org.apache.calcite.sql.validate中的接口">SqlValidatorNamespace</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/WithNamespace.html#resolve--">resolve</a></span>()</code>
<div class="block">If this namespace resolves to another namespace, returns that namespace,
following links to the end of the chain.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/WithNamespace.html#setType-org.apache.calcite.rel.type.RelDataType-">setType</a></span>(<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a>&nbsp;type)</code>
<div class="block">Sets the type of this namespace.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/WithNamespace.html#supportsModality-org.apache.calcite.sql.validate.SqlModality-">supportsModality</a></span>(<a href="../../../../../org/apache/calcite/sql/validate/SqlModality.html" title="org.apache.calcite.sql.validate中的枚举">SqlModality</a>&nbsp;modality)</code>
<div class="block">Returns whether this namespace is capable of giving results of the desired
modality.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/WithNamespace.html#toStruct-org.apache.calcite.rel.type.RelDataType-org.apache.calcite.sql.SqlNode-">toStruct</a></span>(<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a>&nbsp;type,
<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a>&nbsp;unnest)</code>
<div class="block">Converts a type to a struct if it is not already.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/WithNamespace.html#translate-java.lang.String-">translate</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;name)</code>&nbsp;</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/WithNamespace.html#unwrap-java.lang.Class-">unwrap</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="java.lang中的类或接口">Class</a>&lt;T&gt;&nbsp;clazz)</code>
<div class="block">Returns this namespace, or a wrapped namespace, cast to a particular
class.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/WithNamespace.html#validate-org.apache.calcite.rel.type.RelDataType-">validate</a></span>(<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a>&nbsp;targetRowType)</code>
<div class="block">Validates this namespace.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/WithNamespace.html#validateImpl-org.apache.calcite.rel.type.RelDataType-">validateImpl</a></span>(<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a>&nbsp;targetRowType)</code>
<div class="block">Validates this scope and returns the type of the records it returns.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>从类继承的方法&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="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="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="java.lang中的类或接口">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="java.lang中的类或接口">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="java.lang中的类或接口">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="java.lang中的类或接口">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="java.lang中的类或接口">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="java.lang中的类或接口">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="java.lang中的类或接口">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="java.lang中的类或接口">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="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="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>字段详细资料</h3>
<a name="validator">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>validator</h4>
<pre>protected final&nbsp;<a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorImpl.html" title="org.apache.calcite.sql.validate中的类">SqlValidatorImpl</a> validator</pre>
</li>
</ul>
<a name="rowType">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rowType</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a> rowType</pre>
<div class="block">Type of the output row, which comprises the name and type of each output
column. Set on validate.</div>
</li>
</ul>
<a name="type">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>type</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a> type</pre>
<div class="block">As <a href="../../../../../org/apache/calcite/sql/validate/WithNamespace.html#rowType"><code>rowType</code></a>, but not necessarily a struct.</div>
</li>
</ul>
<a name="enclosingNode">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>enclosingNode</h4>
<pre>protected final&nbsp;<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a> enclosingNode</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>方法详细资料</h3>
<a name="validateImpl-org.apache.calcite.rel.type.RelDataType-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>validateImpl</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a>&nbsp;validateImpl(<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a>&nbsp;targetRowType)</pre>
<div class="block">Validates this scope and returns the type of the records it returns.
External users should call <a href="../../../../../org/apache/calcite/sql/validate/WithNamespace.html#validate-org.apache.calcite.rel.type.RelDataType-"><code>validate(org.apache.calcite.rel.type.RelDataType)</code></a>, which uses the
<a href="../../../../../org/apache/calcite/sql/validate/WithNamespace.html#status"><code>status</code></a> field to protect against cycles.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>targetRowType</code> - Desired row type, must not be null, may be the data
type 'unknown'.</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>record data type, never null</dd>
</dl>
</li>
</ul>
<a name="getNode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNode</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a>&nbsp;getNode()</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html#getNode--">SqlValidatorNamespace</a></code></span></div>
<div class="block">Returns the parse tree node at the root of this namespace.</div>
<dl>
<dt><span class="returnLabel">返回:</span></dt>
<dd>parse tree node; null for <code>TableNamespace</code></dd>
</dl>
</li>
</ul>
<a name="getValidator--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getValidator</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/calcite/sql/validate/SqlValidator.html" title="org.apache.calcite.sql.validate中的接口">SqlValidator</a>&nbsp;getValidator()</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html#getValidator--">SqlValidatorNamespace</a></code></span></div>
<div class="block">Returns the validator.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html#getValidator--">getValidator</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html" title="org.apache.calcite.sql.validate中的接口">SqlValidatorNamespace</a></code></dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>validator</dd>
</dl>
</li>
</ul>
<a name="validate-org.apache.calcite.rel.type.RelDataType-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>validate</h4>
<pre>public final&nbsp;void&nbsp;validate(<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a>&nbsp;targetRowType)</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html#validate-org.apache.calcite.rel.type.RelDataType-">SqlValidatorNamespace</a></code></span></div>
<div class="block">Validates this namespace.
<p>If the scope has already been validated, does nothing.</p>
<p>Please call <a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorImpl.html#validateNamespace-org.apache.calcite.sql.validate.SqlValidatorNamespace-org.apache.calcite.rel.type.RelDataType-"><code>SqlValidatorImpl.validateNamespace(org.apache.calcite.sql.validate.SqlValidatorNamespace, org.apache.calcite.rel.type.RelDataType)</code></a> rather than
calling this method directly.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html#validate-org.apache.calcite.rel.type.RelDataType-">validate</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html" title="org.apache.calcite.sql.validate中的接口">SqlValidatorNamespace</a></code></dd>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>targetRowType</code> - Desired row type, must not be null, may be the data
type 'unknown'.</dd>
</dl>
</li>
</ul>
<a name="getRowType--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRowType</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a>&nbsp;getRowType()</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html#getRowType--">SqlValidatorNamespace</a></code></span></div>
<div class="block">Returns the row type of this namespace, which comprises a list of names
and types of the output columns. If the scope's type has not yet been
derived, derives it.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html#getRowType--">getRowType</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html" title="org.apache.calcite.sql.validate中的接口">SqlValidatorNamespace</a></code></dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>Row type of this namespace, never null, always a struct</dd>
</dl>
</li>
</ul>
<a name="getRowTypeSansSystemColumns--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRowTypeSansSystemColumns</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a>&nbsp;getRowTypeSansSystemColumns()</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html#getRowTypeSansSystemColumns--">SqlValidatorNamespace</a></code></span></div>
<div class="block">Returns the row type of this namespace, sans any system columns.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html#getRowTypeSansSystemColumns--">getRowTypeSansSystemColumns</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html" title="org.apache.calcite.sql.validate中的接口">SqlValidatorNamespace</a></code></dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>Row type sans system columns</dd>
</dl>
</li>
</ul>
<a name="getType--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getType</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a>&nbsp;getType()</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html#getType--">SqlValidatorNamespace</a></code></span></div>
<div class="block">Returns the type of this namespace.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html#getType--">getType</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html" title="org.apache.calcite.sql.validate中的接口">SqlValidatorNamespace</a></code></dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>Row type converted to struct</dd>
</dl>
</li>
</ul>
<a name="setType-org.apache.calcite.rel.type.RelDataType-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setType</h4>
<pre>public&nbsp;void&nbsp;setType(<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a>&nbsp;type)</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html#setType-org.apache.calcite.rel.type.RelDataType-">SqlValidatorNamespace</a></code></span></div>
<div class="block">Sets the type of this namespace.
<p>Allows the type for the namespace to be explicitly set, but usually is
called during <a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html#validate-org.apache.calcite.rel.type.RelDataType-"><code>SqlValidatorNamespace.validate(RelDataType)</code></a>.</p>
<p>Implicitly also sets the row type. If the type is not a struct, then
the row type is the type wrapped as a struct with a single column,
otherwise the type and row type are the same.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html#setType-org.apache.calcite.rel.type.RelDataType-">setType</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html" title="org.apache.calcite.sql.validate中的接口">SqlValidatorNamespace</a></code></dd>
</dl>
</li>
</ul>
<a name="getEnclosingNode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEnclosingNode</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a>&nbsp;getEnclosingNode()</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html#getEnclosingNode--">SqlValidatorNamespace</a></code></span></div>
<div class="block">Returns the parse tree node that at is at the root of this namespace and
includes all decorations. If there are no decorations, returns the same
as <a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html#getNode--"><code>SqlValidatorNamespace.getNode()</code></a>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html#getEnclosingNode--">getEnclosingNode</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html" title="org.apache.calcite.sql.validate中的接口">SqlValidatorNamespace</a></code></dd>
</dl>
</li>
</ul>
<a name="getTable--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTable</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorTable.html" title="org.apache.calcite.sql.validate中的接口">SqlValidatorTable</a>&nbsp;getTable()</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html#getTable--">SqlValidatorNamespace</a></code></span></div>
<div class="block">Returns the underlying table, or null if there is none.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html#getTable--">getTable</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html" title="org.apache.calcite.sql.validate中的接口">SqlValidatorNamespace</a></code></dd>
</dl>
</li>
</ul>
<a name="lookupChild-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lookupChild</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html" title="org.apache.calcite.sql.validate中的接口">SqlValidatorNamespace</a>&nbsp;lookupChild(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;name)</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html#lookupChild-java.lang.String-">SqlValidatorNamespace</a></code></span></div>
<div class="block">Looks up a child namespace of a given name.
<p>For example, in the query <code>select e.name from emps as e</code>,
<code>e</code> is an <a href="../../../../../org/apache/calcite/sql/validate/IdentifierNamespace.html" title="org.apache.calcite.sql.validate中的类"><code>IdentifierNamespace</code></a> which has a child <code>
name</code> which is a <code>FieldNamespace</code>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html#lookupChild-java.lang.String-">lookupChild</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html" title="org.apache.calcite.sql.validate中的接口">SqlValidatorNamespace</a></code></dd>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>name</code> - Name of namespace</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>Namespace</dd>
</dl>
</li>
</ul>
<a name="fieldExists-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fieldExists</h4>
<pre>public&nbsp;boolean&nbsp;fieldExists(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;name)</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html#fieldExists-java.lang.String-">SqlValidatorNamespace</a></code></span></div>
<div class="block">Returns whether this namespace has a field of a given name.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html#fieldExists-java.lang.String-">fieldExists</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html" title="org.apache.calcite.sql.validate中的接口">SqlValidatorNamespace</a></code></dd>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>name</code> - Field name</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>Whether field exists</dd>
</dl>
</li>
</ul>
<a name="getMonotonicExprs--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMonotonicExprs</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;<a href="../../../../../org/apache/calcite/util/Pair.html" title="org.apache.calcite.util中的类">Pair</a>&lt;<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a>,<a href="../../../../../org/apache/calcite/sql/validate/SqlMonotonicity.html" title="org.apache.calcite.sql.validate中的枚举">SqlMonotonicity</a>&gt;&gt;&nbsp;getMonotonicExprs()</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html#getMonotonicExprs--">SqlValidatorNamespace</a></code></span></div>
<div class="block">Returns a list of expressions which are monotonic in this namespace. For
example, if the namespace represents a relation ordered by a column
called "TIMESTAMP", then the list would contain a
<a href="../../../../../org/apache/calcite/sql/SqlIdentifier.html" title="org.apache.calcite.sql中的类"><code>SqlIdentifier</code></a> called "TIMESTAMP".</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html#getMonotonicExprs--">getMonotonicExprs</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html" title="org.apache.calcite.sql.validate中的接口">SqlValidatorNamespace</a></code></dd>
</dl>
</li>
</ul>
<a name="getMonotonicity-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMonotonicity</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/calcite/sql/validate/SqlMonotonicity.html" title="org.apache.calcite.sql.validate中的枚举">SqlMonotonicity</a>&nbsp;getMonotonicity(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;columnName)</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html#getMonotonicity-java.lang.String-">SqlValidatorNamespace</a></code></span></div>
<div class="block">Returns whether and how a given column is sorted.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html#getMonotonicity-java.lang.String-">getMonotonicity</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html" title="org.apache.calcite.sql.validate中的接口">SqlValidatorNamespace</a></code></dd>
</dl>
</li>
</ul>
<a name="makeNullable--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>makeNullable</h4>
<pre>public&nbsp;void&nbsp;makeNullable()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html#makeNullable--">makeNullable</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html" title="org.apache.calcite.sql.validate中的接口">SqlValidatorNamespace</a></code></dd>
</dl>
</li>
</ul>
<a name="translate-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>translate</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;translate(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;name)</pre>
</li>
</ul>
<a name="resolve--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resolve</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html" title="org.apache.calcite.sql.validate中的接口">SqlValidatorNamespace</a>&nbsp;resolve()</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html#resolve--">SqlValidatorNamespace</a></code></span></div>
<div class="block">If this namespace resolves to another namespace, returns that namespace,
following links to the end of the chain.
<p>A <code>WITH</code>) clause defines table names that resolve to queries
(the body of the with-item). An <a href="../../../../../org/apache/calcite/sql/validate/IdentifierNamespace.html" title="org.apache.calcite.sql.validate中的类"><code>IdentifierNamespace</code></a> typically
resolves to a <code>TableNamespace</code>.</p>
<p>You must not call this method before <a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html#validate-org.apache.calcite.rel.type.RelDataType-"><code>SqlValidatorNamespace.validate(RelDataType)</code></a> has
completed.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html#resolve--">resolve</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html" title="org.apache.calcite.sql.validate中的接口">SqlValidatorNamespace</a></code></dd>
</dl>
</li>
</ul>
<a name="supportsModality-org.apache.calcite.sql.validate.SqlModality-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>supportsModality</h4>
<pre>public&nbsp;boolean&nbsp;supportsModality(<a href="../../../../../org/apache/calcite/sql/validate/SqlModality.html" title="org.apache.calcite.sql.validate中的枚举">SqlModality</a>&nbsp;modality)</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html#supportsModality-org.apache.calcite.sql.validate.SqlModality-">SqlValidatorNamespace</a></code></span></div>
<div class="block">Returns whether this namespace is capable of giving results of the desired
modality. <code>true</code> means streaming, <code>false</code> means relational.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html#supportsModality-org.apache.calcite.sql.validate.SqlModality-">supportsModality</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html" title="org.apache.calcite.sql.validate中的接口">SqlValidatorNamespace</a></code></dd>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>modality</code> - Modality</dd>
</dl>
</li>
</ul>
<a name="unwrap-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unwrap</h4>
<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;unwrap(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="java.lang中的类或接口">Class</a>&lt;T&gt;&nbsp;clazz)</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html#unwrap-java.lang.Class-">SqlValidatorNamespace</a></code></span></div>
<div class="block">Returns this namespace, or a wrapped namespace, cast to a particular
class.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html#unwrap-java.lang.Class-">unwrap</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html" title="org.apache.calcite.sql.validate中的接口">SqlValidatorNamespace</a></code></dd>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>clazz</code> - Desired type</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>This namespace cast to desired type</dd>
</dl>
</li>
</ul>
<a name="isWrapperFor-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isWrapperFor</h4>
<pre>public&nbsp;boolean&nbsp;isWrapperFor(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="java.lang中的类或接口">Class</a>&lt;?&gt;&nbsp;clazz)</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html#isWrapperFor-java.lang.Class-">SqlValidatorNamespace</a></code></span></div>
<div class="block">Returns whether this namespace implements a given interface, or wraps a
class which does.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html#isWrapperFor-java.lang.Class-">isWrapperFor</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html" title="org.apache.calcite.sql.validate中的接口">SqlValidatorNamespace</a></code></dd>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>clazz</code> - Interface</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>Whether namespace implements given interface</dd>
</dl>
</li>
</ul>
<a name="convertToStruct-org.apache.calcite.rel.type.RelDataType-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>convertToStruct</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a>&nbsp;convertToStruct(<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a>&nbsp;type)</pre>
</li>
</ul>
<a name="toStruct-org.apache.calcite.rel.type.RelDataType-org.apache.calcite.sql.SqlNode-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toStruct</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a>&nbsp;toStruct(<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a>&nbsp;type,
<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a>&nbsp;unnest)</pre>
<div class="block">Converts a type to a struct if it is not already.</div>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="导航">
<li><a href="../../../../../overview-summary.html">概览</a></li>
<li><a href="package-summary.html">程序包</a></li>
<li class="navBarCell1Rev"></li>
<li><a href="package-tree.html"></a></li>
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
<li><a href="../../../../../index-all.html">索引</a></li>
<li><a href="../../../../../help-doc.html">帮助</a></li>
</ul>
<div class="aboutLanguage"><b>Apache Calcite</b></div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/calcite/sql/validate/TableConstructorNamespace.html" title="org.apache.calcite.sql.validate中的类"><span class="typeNameLink">上一个类</span></a></li>
<li>下一个类</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/calcite/sql/validate/WithNamespace.html" target="_top">框架</a></li>
<li><a href="WithNamespace.html" target="_top">无框架</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">所有类</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>概要:&nbsp;</li>
<li>嵌套&nbsp;|&nbsp;</li>
<li><a href="#field.summary">字段</a>&nbsp;|&nbsp;</li>
<li>构造器&nbsp;|&nbsp;</li>
<li><a href="#method.summary">方法</a></li>
</ul>
<ul class="subNavList">
<li>详细资料:&nbsp;</li>
<li><a href="#field.detail">字段</a>&nbsp;|&nbsp;</li>
<li>构造器&nbsp;|&nbsp;</li>
<li><a href="#method.detail">方法</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>