blob: a82b269239f50f390a05a3c1b87c875e4ec94f17 [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>SqlSetOption (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="SqlSetOption (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};
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/SqlSetOperator.html" title="org.apache.calcite.sql中的类"><span class="typeNameLink">上一个类</span></a></li>
<li><a href="../../../../org/apache/calcite/sql/SqlSnapshot.html" title="org.apache.calcite.sql中的类"><span class="typeNameLink">下一个类</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/calcite/sql/SqlSetOption.html" target="_top">框架</a></li>
<li><a href="SqlSetOption.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><a href="#constructor.summary">构造器</a>&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><a href="#constructor.detail">构造器</a>&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</div>
<h2 title="类 SqlSetOption" class="title">类 SqlSetOption</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><a href="../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">org.apache.calcite.sql.SqlNode</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../org/apache/calcite/sql/SqlCall.html" title="org.apache.calcite.sql中的类">org.apache.calcite.sql.SqlCall</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../org/apache/calcite/sql/SqlAlter.html" title="org.apache.calcite.sql中的类">org.apache.calcite.sql.SqlAlter</a></li>
<li>
<ul class="inheritance">
<li>org.apache.calcite.sql.SqlSetOption</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>所有已实现的接口:</dt>
<dd><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html?is-external=true" title="java.lang中的类或接口">Cloneable</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">SqlSetOption</span>
extends <a href="../../../../org/apache/calcite/sql/SqlAlter.html" title="org.apache.calcite.sql中的类">SqlAlter</a></pre>
<div class="block">SQL parse tree node to represent <code>SET</code> and <code>RESET</code> statements,
optionally preceded by <code>ALTER SYSTEM</code> or <code>ALTER SESSION</code>.
<p>Syntax:
<blockquote><code>
ALTER scope SET `option.name` = value;<br>
ALTER scope RESET `option`.`name`;<br>
ALTER scope RESET ALL;<br>
<br>
SET `option.name` = value;<br>
RESET `option`.`name`;<br>
RESET ALL;
</code></blockquote>
<p>If <a href="../../../../org/apache/calcite/sql/SqlAlter.html#scope"><code>SqlAlter.scope</code></a> is null, assume a default scope. (The default scope
is defined by the project using Calcite, but is typically SESSION.)
<p>If <a href="../../../../org/apache/calcite/sql/SqlSetOption.html#value"><code>value</code></a> is null, assume RESET;
if <a href="../../../../org/apache/calcite/sql/SqlSetOption.html#value"><code>value</code></a> is not null, assume SET.
<p>Examples:
<ul>
<li><code>ALTER SYSTEM SET `my`.`param1` = 1</code></li>
<li><code>SET `my.param2` = 1</code></li>
<li><code>SET `my.param3` = ON</code></li>
<li><code>ALTER SYSTEM RESET `my`.`param1`</code></li>
<li><code>RESET `my.param2`</code></li>
<li><code>ALTER SESSION RESET ALL</code></li>
</ul></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>static <a href="../../../../org/apache/calcite/sql/SqlSpecialOperator.html" title="org.apache.calcite.sql中的类">SqlSpecialOperator</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/sql/SqlSetOption.html#OPERATOR">OPERATOR</a></span></code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.apache.calcite.sql.SqlNode">
<!-- -->
</a>
<h3>从类继承的字段&nbsp;org.apache.calcite.sql.<a href="../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a></h3>
<code><a href="../../../../org/apache/calcite/sql/SqlNode.html#EMPTY_ARRAY">EMPTY_ARRAY</a>, <a href="../../../../org/apache/calcite/sql/SqlNode.html#pos">pos</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.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="colOne" scope="col">构造器和说明</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/sql/SqlSetOption.html#SqlSetOption-org.apache.calcite.sql.parser.SqlParserPos-java.lang.String-org.apache.calcite.sql.SqlIdentifier-org.apache.calcite.sql.SqlNode-">SqlSetOption</a></span>(<a href="../../../../org/apache/calcite/sql/parser/SqlParserPos.html" title="org.apache.calcite.sql.parser中的类">SqlParserPos</a>&nbsp;pos,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;scope,
<a href="../../../../org/apache/calcite/sql/SqlIdentifier.html" title="org.apache.calcite.sql中的类">SqlIdentifier</a>&nbsp;name,
<a href="../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a>&nbsp;value)</code>
<div class="block">Creates a node.</div>
</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><a href="../../../../org/apache/calcite/sql/SqlKind.html" title="org.apache.calcite.sql中的枚举">SqlKind</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/sql/SqlSetOption.html#getKind--">getKind</a></span>()</code>
<div class="block">Returns the type of node this is, or
<a href="../../../../org/apache/calcite/sql/SqlKind.html#OTHER"><code>SqlKind.OTHER</code></a> if it's nothing special.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/sql/SqlIdentifier.html" title="org.apache.calcite.sql中的类">SqlIdentifier</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/sql/SqlSetOption.html#getName--">getName</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<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/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/sql/SqlSetOption.html#getOperandList--">getOperandList</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/sql/SqlOperator.html" title="org.apache.calcite.sql中的类">SqlOperator</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/sql/SqlSetOption.html#getOperator--">getOperator</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i4" 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/SqlSetOption.html#getValue--">getValue</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/sql/SqlSetOption.html#setName-org.apache.calcite.sql.SqlIdentifier-">setName</a></span>(<a href="../../../../org/apache/calcite/sql/SqlIdentifier.html" title="org.apache.calcite.sql中的类">SqlIdentifier</a>&nbsp;name)</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/sql/SqlSetOption.html#setOperand-int-org.apache.calcite.sql.SqlNode-">setOperand</a></span>(int&nbsp;i,
<a href="../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a>&nbsp;operand)</code>
<div class="block">Changes the value of an operand.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/sql/SqlSetOption.html#setValue-org.apache.calcite.sql.SqlNode-">setValue</a></span>(<a href="../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a>&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/sql/SqlSetOption.html#unparseAlterOperation-org.apache.calcite.sql.SqlWriter-int-int-">unparseAlterOperation</a></span>(<a href="../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a>&nbsp;writer,
int&nbsp;leftPrec,
int&nbsp;rightPrec)</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/sql/SqlSetOption.html#validate-org.apache.calcite.sql.validate.SqlValidator-org.apache.calcite.sql.validate.SqlValidatorScope-">validate</a></span>(<a href="../../../../org/apache/calcite/sql/validate/SqlValidator.html" title="org.apache.calcite.sql.validate中的接口">SqlValidator</a>&nbsp;validator,
<a href="../../../../org/apache/calcite/sql/validate/SqlValidatorScope.html" title="org.apache.calcite.sql.validate中的接口">SqlValidatorScope</a>&nbsp;scope)</code>
<div class="block">Validates this call.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.calcite.sql.SqlAlter">
<!-- -->
</a>
<h3>从类继承的方法&nbsp;org.apache.calcite.sql.<a href="../../../../org/apache/calcite/sql/SqlAlter.html" title="org.apache.calcite.sql中的类">SqlAlter</a></h3>
<code><a href="../../../../org/apache/calcite/sql/SqlAlter.html#getScope--">getScope</a>, <a href="../../../../org/apache/calcite/sql/SqlAlter.html#setScope-java.lang.String-">setScope</a>, <a href="../../../../org/apache/calcite/sql/SqlAlter.html#unparse-org.apache.calcite.sql.SqlWriter-int-int-">unparse</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.calcite.sql.SqlCall">
<!-- -->
</a>
<h3>从类继承的方法&nbsp;org.apache.calcite.sql.<a href="../../../../org/apache/calcite/sql/SqlCall.html" title="org.apache.calcite.sql中的类">SqlCall</a></h3>
<code><a href="../../../../org/apache/calcite/sql/SqlCall.html#accept-org.apache.calcite.sql.util.SqlVisitor-">accept</a>, <a href="../../../../org/apache/calcite/sql/SqlCall.html#clone-org.apache.calcite.sql.parser.SqlParserPos-">clone</a>, <a href="../../../../org/apache/calcite/sql/SqlCall.html#equalsDeep-org.apache.calcite.sql.SqlNode-org.apache.calcite.util.Litmus-">equalsDeep</a>, <a href="../../../../org/apache/calcite/sql/SqlCall.html#findValidOptions-org.apache.calcite.sql.validate.SqlValidator-org.apache.calcite.sql.validate.SqlValidatorScope-org.apache.calcite.sql.parser.SqlParserPos-java.util.Collection-">findValidOptions</a>, <a href="../../../../org/apache/calcite/sql/SqlCall.html#getCallSignature-org.apache.calcite.sql.validate.SqlValidator-org.apache.calcite.sql.validate.SqlValidatorScope-">getCallSignature</a>, <a href="../../../../org/apache/calcite/sql/SqlCall.html#getFunctionQuantifier--">getFunctionQuantifier</a>, <a href="../../../../org/apache/calcite/sql/SqlCall.html#getMonotonicity-org.apache.calcite.sql.validate.SqlValidatorScope-">getMonotonicity</a>, <a href="../../../../org/apache/calcite/sql/SqlCall.html#isCountStar--">isCountStar</a>, <a href="../../../../org/apache/calcite/sql/SqlCall.html#isExpanded--">isExpanded</a>, <a href="../../../../org/apache/calcite/sql/SqlCall.html#operand-int-">operand</a>, <a href="../../../../org/apache/calcite/sql/SqlCall.html#operandCount--">operandCount</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.calcite.sql.SqlNode">
<!-- -->
</a>
<h3>从类继承的方法&nbsp;org.apache.calcite.sql.<a href="../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a></h3>
<code><a href="../../../../org/apache/calcite/sql/SqlNode.html#clone--">clone</a>, <a href="../../../../org/apache/calcite/sql/SqlNode.html#clone-E-">clone</a>, <a href="../../../../org/apache/calcite/sql/SqlNode.html#cloneArray-org.apache.calcite.sql.SqlNode:A-">cloneArray</a>, <a href="../../../../org/apache/calcite/sql/SqlNode.html#equalDeep-java.util.List-java.util.List-org.apache.calcite.util.Litmus-">equalDeep</a>, <a href="../../../../org/apache/calcite/sql/SqlNode.html#equalDeep-org.apache.calcite.sql.SqlNode-org.apache.calcite.sql.SqlNode-org.apache.calcite.util.Litmus-">equalDeep</a>, <a href="../../../../org/apache/calcite/sql/SqlNode.html#equalsDeep-org.apache.calcite.sql.SqlNode-boolean-">equalsDeep</a>, <a href="../../../../org/apache/calcite/sql/SqlNode.html#getParserPosition--">getParserPosition</a>, <a href="../../../../org/apache/calcite/sql/SqlNode.html#isA-java.util.Set-">isA</a>, <a href="../../../../org/apache/calcite/sql/SqlNode.html#toSqlString-org.apache.calcite.sql.SqlDialect-">toSqlString</a>, <a href="../../../../org/apache/calcite/sql/SqlNode.html#toSqlString-org.apache.calcite.sql.SqlDialect-boolean-">toSqlString</a>, <a href="../../../../org/apache/calcite/sql/SqlNode.html#toSqlString-java.util.function.UnaryOperator-">toSqlString</a>, <a href="../../../../org/apache/calcite/sql/SqlNode.html#toString--">toString</a>, <a href="../../../../org/apache/calcite/sql/SqlNode.html#validateExpr-org.apache.calcite.sql.validate.SqlValidator-org.apache.calcite.sql.validate.SqlValidatorScope-">validateExpr</a></code></li>
</ul>
<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#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#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="OPERATOR">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>OPERATOR</h4>
<pre>public static final&nbsp;<a href="../../../../org/apache/calcite/sql/SqlSpecialOperator.html" title="org.apache.calcite.sql中的类">SqlSpecialOperator</a> OPERATOR</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>构造器详细资料</h3>
<a name="SqlSetOption-org.apache.calcite.sql.parser.SqlParserPos-java.lang.String-org.apache.calcite.sql.SqlIdentifier-org.apache.calcite.sql.SqlNode-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>SqlSetOption</h4>
<pre>public&nbsp;SqlSetOption(<a href="../../../../org/apache/calcite/sql/parser/SqlParserPos.html" title="org.apache.calcite.sql.parser中的类">SqlParserPos</a>&nbsp;pos,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;scope,
<a href="../../../../org/apache/calcite/sql/SqlIdentifier.html" title="org.apache.calcite.sql中的类">SqlIdentifier</a>&nbsp;name,
<a href="../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a>&nbsp;value)</pre>
<div class="block">Creates a node.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>pos</code> - Parser position, must not be null.</dd>
<dd><code>scope</code> - Scope (generally "SYSTEM" or "SESSION"), may be null.</dd>
<dd><code>name</code> - Name of option, as an identifier, must not be null.</dd>
<dd><code>value</code> - Value of option, as an identifier or literal, may be null.
If null, assume RESET command, else assume SET command.</dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>方法详细资料</h3>
<a name="getKind--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getKind</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/sql/SqlKind.html" title="org.apache.calcite.sql中的枚举">SqlKind</a>&nbsp;getKind()</pre>
<div class="block"><span class="descfrmTypeLabel">从类复制的说明:&nbsp;<code><a href="../../../../org/apache/calcite/sql/SqlNode.html#getKind--">SqlNode</a></code></span></div>
<div class="block">Returns the type of node this is, or
<a href="../../../../org/apache/calcite/sql/SqlKind.html#OTHER"><code>SqlKind.OTHER</code></a> if it's nothing special.</div>
<dl>
<dt><span class="overrideSpecifyLabel">覆盖:</span></dt>
<dd><code><a href="../../../../org/apache/calcite/sql/SqlCall.html#getKind--">getKind</a></code>&nbsp;在类中&nbsp;<code><a href="../../../../org/apache/calcite/sql/SqlCall.html" title="org.apache.calcite.sql中的类">SqlCall</a></code></dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>a <a href="../../../../org/apache/calcite/sql/SqlKind.html" title="org.apache.calcite.sql中的枚举"><code>SqlKind</code></a> value, never null</dd>
<dt><span class="seeLabel">另请参阅:</span></dt>
<dd><a href="../../../../org/apache/calcite/sql/SqlNode.html#isA-java.util.Set-"><code>SqlNode.isA(java.util.Set&lt;org.apache.calcite.sql.SqlKind&gt;)</code></a></dd>
</dl>
</li>
</ul>
<a name="getOperator--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOperator</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/sql/SqlOperator.html" title="org.apache.calcite.sql中的类">SqlOperator</a>&nbsp;getOperator()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../org/apache/calcite/sql/SqlCall.html#getOperator--">getOperator</a></code>&nbsp;在类中&nbsp;<code><a href="../../../../org/apache/calcite/sql/SqlCall.html" title="org.apache.calcite.sql中的类">SqlCall</a></code></dd>
</dl>
</li>
</ul>
<a name="getOperandList--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOperandList</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/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a>&gt;&nbsp;getOperandList()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../org/apache/calcite/sql/SqlCall.html#getOperandList--">getOperandList</a></code>&nbsp;在类中&nbsp;<code><a href="../../../../org/apache/calcite/sql/SqlCall.html" title="org.apache.calcite.sql中的类">SqlCall</a></code></dd>
</dl>
</li>
</ul>
<a name="setOperand-int-org.apache.calcite.sql.SqlNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOperand</h4>
<pre>public&nbsp;void&nbsp;setOperand(int&nbsp;i,
<a href="../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a>&nbsp;operand)</pre>
<div class="block"><span class="descfrmTypeLabel">从类复制的说明:&nbsp;<code><a href="../../../../org/apache/calcite/sql/SqlCall.html#setOperand-int-org.apache.calcite.sql.SqlNode-">SqlCall</a></code></span></div>
<div class="block">Changes the value of an operand. Allows some rewrite by
<a href="../../../../org/apache/calcite/sql/validate/SqlValidator.html" title="org.apache.calcite.sql.validate中的接口"><code>SqlValidator</code></a>; use sparingly.</div>
<dl>
<dt><span class="overrideSpecifyLabel">覆盖:</span></dt>
<dd><code><a href="../../../../org/apache/calcite/sql/SqlCall.html#setOperand-int-org.apache.calcite.sql.SqlNode-">setOperand</a></code>&nbsp;在类中&nbsp;<code><a href="../../../../org/apache/calcite/sql/SqlCall.html" title="org.apache.calcite.sql中的类">SqlCall</a></code></dd>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>i</code> - Operand index</dd>
<dd><code>operand</code> - Operand value</dd>
</dl>
</li>
</ul>
<a name="unparseAlterOperation-org.apache.calcite.sql.SqlWriter-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unparseAlterOperation</h4>
<pre>protected&nbsp;void&nbsp;unparseAlterOperation(<a href="../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a>&nbsp;writer,
int&nbsp;leftPrec,
int&nbsp;rightPrec)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../org/apache/calcite/sql/SqlAlter.html#unparseAlterOperation-org.apache.calcite.sql.SqlWriter-int-int-">unparseAlterOperation</a></code>&nbsp;在类中&nbsp;<code><a href="../../../../org/apache/calcite/sql/SqlAlter.html" title="org.apache.calcite.sql中的类">SqlAlter</a></code></dd>
</dl>
</li>
</ul>
<a name="validate-org.apache.calcite.sql.validate.SqlValidator-org.apache.calcite.sql.validate.SqlValidatorScope-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>validate</h4>
<pre>public&nbsp;void&nbsp;validate(<a href="../../../../org/apache/calcite/sql/validate/SqlValidator.html" title="org.apache.calcite.sql.validate中的接口">SqlValidator</a>&nbsp;validator,
<a href="../../../../org/apache/calcite/sql/validate/SqlValidatorScope.html" title="org.apache.calcite.sql.validate中的接口">SqlValidatorScope</a>&nbsp;scope)</pre>
<div class="block"><span class="descfrmTypeLabel">从类复制的说明:&nbsp;<code><a href="../../../../org/apache/calcite/sql/SqlCall.html#validate-org.apache.calcite.sql.validate.SqlValidator-org.apache.calcite.sql.validate.SqlValidatorScope-">SqlCall</a></code></span></div>
<div class="block">Validates this call.
<p>The default implementation delegates the validation to the operator's
<a href="../../../../org/apache/calcite/sql/SqlOperator.html#validateCall-org.apache.calcite.sql.SqlCall-org.apache.calcite.sql.validate.SqlValidator-org.apache.calcite.sql.validate.SqlValidatorScope-org.apache.calcite.sql.validate.SqlValidatorScope-"><code>SqlOperator.validateCall(org.apache.calcite.sql.SqlCall, org.apache.calcite.sql.validate.SqlValidator, org.apache.calcite.sql.validate.SqlValidatorScope, org.apache.calcite.sql.validate.SqlValidatorScope)</code></a>. Derived classes may override (as do,
for example <a href="../../../../org/apache/calcite/sql/SqlSelect.html" title="org.apache.calcite.sql中的类"><code>SqlSelect</code></a> and <a href="../../../../org/apache/calcite/sql/SqlUpdate.html" title="org.apache.calcite.sql中的类"><code>SqlUpdate</code></a>).</div>
<dl>
<dt><span class="overrideSpecifyLabel">覆盖:</span></dt>
<dd><code><a href="../../../../org/apache/calcite/sql/SqlCall.html#validate-org.apache.calcite.sql.validate.SqlValidator-org.apache.calcite.sql.validate.SqlValidatorScope-">validate</a></code>&nbsp;在类中&nbsp;<code><a href="../../../../org/apache/calcite/sql/SqlCall.html" title="org.apache.calcite.sql中的类">SqlCall</a></code></dd>
<dd><code>scope</code> - Validator</dd>
</dl>
</li>
</ul>
<a name="getName--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getName</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/sql/SqlIdentifier.html" title="org.apache.calcite.sql中的类">SqlIdentifier</a>&nbsp;getName()</pre>
</li>
</ul>
<a name="setName-org.apache.calcite.sql.SqlIdentifier-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setName</h4>
<pre>public&nbsp;void&nbsp;setName(<a href="../../../../org/apache/calcite/sql/SqlIdentifier.html" title="org.apache.calcite.sql中的类">SqlIdentifier</a>&nbsp;name)</pre>
</li>
</ul>
<a name="getValue--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getValue</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a>&nbsp;getValue()</pre>
</li>
</ul>
<a name="setValue-org.apache.calcite.sql.SqlNode-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>setValue</h4>
<pre>public&nbsp;void&nbsp;setValue(<a href="../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a>&nbsp;value)</pre>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</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/SqlSetOperator.html" title="org.apache.calcite.sql中的类"><span class="typeNameLink">上一个类</span></a></li>
<li><a href="../../../../org/apache/calcite/sql/SqlSnapshot.html" title="org.apache.calcite.sql中的类"><span class="typeNameLink">下一个类</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/calcite/sql/SqlSetOption.html" target="_top">框架</a></li>
<li><a href="SqlSetOption.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><a href="#constructor.summary">构造器</a>&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><a href="#constructor.detail">构造器</a>&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>