| <!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>SqlDynamicParam (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="SqlDynamicParam (Apache Calcite calcite API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":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/SqlDrop.html" title="org.apache.calcite.sql中的类"><span class="typeNameLink">上一个类</span></a></li> |
| <li><a href="../../../../org/apache/calcite/sql/SqlExecutableStatement.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/SqlDynamicParam.html" target="_top">框架</a></li> |
| <li><a href="SqlDynamicParam.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>概要: </li> |
| <li>嵌套 | </li> |
| <li><a href="#fields.inherited.from.class.org.apache.calcite.sql.SqlNode">字段</a> | </li> |
| <li><a href="#constructor.summary">构造器</a> | </li> |
| <li><a href="#method.summary">方法</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>详细资料: </li> |
| <li>字段 | </li> |
| <li><a href="#constructor.detail">构造器</a> | </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="类 SqlDynamicParam" class="title">类 SqlDynamicParam</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>org.apache.calcite.sql.SqlDynamicParam</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">SqlDynamicParam</span> |
| extends <a href="../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a></pre> |
| <div class="block">A <code>SqlDynamicParam</code> represents a dynamic parameter marker in an |
| SQL statement. The textual order in which dynamic parameters appear within an |
| SQL statement is the only property which distinguishes them, so this 0-based |
| index is recorded as soon as the parameter is encountered.</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> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields.inherited.from.class.org.apache.calcite.sql.SqlNode"> |
| <!-- --> |
| </a> |
| <h3>从类继承的字段 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"> </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/SqlDynamicParam.html#SqlDynamicParam-int-org.apache.calcite.sql.parser.SqlParserPos-">SqlDynamicParam</a></span>(int index, |
| <a href="../../../../org/apache/calcite/sql/parser/SqlParserPos.html" title="org.apache.calcite.sql.parser中的类">SqlParserPos</a> pos)</code> </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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">实例方法</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">具体方法</a></span><span class="tabEnd"> </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><R> R</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/sql/SqlDynamicParam.html#accept-org.apache.calcite.sql.util.SqlVisitor-">accept</a></span>(<a href="../../../../org/apache/calcite/sql/util/SqlVisitor.html" title="org.apache.calcite.sql.util中的接口">SqlVisitor</a><R> visitor)</code> |
| <div class="block">Accepts a generic visitor.</div> |
| </td> |
| </tr> |
| <tr id="i1" 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/SqlDynamicParam.html#clone-org.apache.calcite.sql.parser.SqlParserPos-">clone</a></span>(<a href="../../../../org/apache/calcite/sql/parser/SqlParserPos.html" title="org.apache.calcite.sql.parser中的类">SqlParserPos</a> pos)</code> |
| <div class="block">Clones a SqlNode with a different position.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/sql/SqlDynamicParam.html#equalsDeep-org.apache.calcite.sql.SqlNode-org.apache.calcite.util.Litmus-">equalsDeep</a></span>(<a href="../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a> node, |
| <a href="../../../../org/apache/calcite/util/Litmus.html" title="org.apache.calcite.util中的接口">Litmus</a> litmus)</code> |
| <div class="block">Returns whether this node is structurally equivalent to another node.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/sql/SqlDynamicParam.html#getIndex--">getIndex</a></span>()</code> </td> |
| </tr> |
| <tr id="i4" 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/SqlDynamicParam.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="i5" class="rowColor"> |
| <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/SqlDynamicParam.html#getMonotonicity-org.apache.calcite.sql.validate.SqlValidatorScope-">getMonotonicity</a></span>(<a href="../../../../org/apache/calcite/sql/validate/SqlValidatorScope.html" title="org.apache.calcite.sql.validate中的接口">SqlValidatorScope</a> scope)</code> |
| <div class="block">Returns whether expression is always ascending, descending or constant.</div> |
| </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/SqlDynamicParam.html#unparse-org.apache.calcite.sql.SqlWriter-int-int-">unparse</a></span>(<a href="../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a> writer, |
| int leftPrec, |
| int rightPrec)</code> |
| <div class="block">Writes a SQL representation of this node to a writer.</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/SqlDynamicParam.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> validator, |
| <a href="../../../../org/apache/calcite/sql/validate/SqlValidatorScope.html" title="org.apache.calcite.sql.validate中的接口">SqlValidatorScope</a> scope)</code> |
| <div class="block">Validates this node.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.calcite.sql.SqlNode"> |
| <!-- --> |
| </a> |
| <h3>从类继承的方法 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#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/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>从类继承的方法 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"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>构造器详细资料</h3> |
| <a name="SqlDynamicParam-int-org.apache.calcite.sql.parser.SqlParserPos-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>SqlDynamicParam</h4> |
| <pre>public SqlDynamicParam(int index, |
| <a href="../../../../org/apache/calcite/sql/parser/SqlParserPos.html" title="org.apache.calcite.sql.parser中的类">SqlParserPos</a> pos)</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>方法详细资料</h3> |
| <a name="clone-org.apache.calcite.sql.parser.SqlParserPos-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clone</h4> |
| <pre>public <a href="../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a> clone(<a href="../../../../org/apache/calcite/sql/parser/SqlParserPos.html" title="org.apache.calcite.sql.parser中的类">SqlParserPos</a> pos)</pre> |
| <div class="block"><span class="descfrmTypeLabel">从类复制的说明: <code><a href="../../../../org/apache/calcite/sql/SqlNode.html#clone-org.apache.calcite.sql.parser.SqlParserPos-">SqlNode</a></code></span></div> |
| <div class="block">Clones a SqlNode with a different position.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../org/apache/calcite/sql/SqlNode.html#clone-org.apache.calcite.sql.parser.SqlParserPos-">clone</a></code> 在类中 <code><a href="../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getKind--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getKind</h4> |
| <pre>public <a href="../../../../org/apache/calcite/sql/SqlKind.html" title="org.apache.calcite.sql中的枚举">SqlKind</a> getKind()</pre> |
| <div class="block"><span class="descfrmTypeLabel">从类复制的说明: <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/SqlNode.html#getKind--">getKind</a></code> 在类中 <code><a href="../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</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<org.apache.calcite.sql.SqlKind>)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getIndex--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getIndex</h4> |
| <pre>public int getIndex()</pre> |
| </li> |
| </ul> |
| <a name="unparse-org.apache.calcite.sql.SqlWriter-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>unparse</h4> |
| <pre>public void unparse(<a href="../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a> writer, |
| int leftPrec, |
| int rightPrec)</pre> |
| <div class="block"><span class="descfrmTypeLabel">从类复制的说明: <code><a href="../../../../org/apache/calcite/sql/SqlNode.html#unparse-org.apache.calcite.sql.SqlWriter-int-int-">SqlNode</a></code></span></div> |
| <div class="block">Writes a SQL representation of this node to a writer. |
| |
| <p>The <code>leftPrec</code> and <code>rightPrec</code> parameters give |
| us enough context to decide whether we need to enclose the expression in |
| parentheses. For example, we need parentheses around "2 + 3" if preceded |
| by "5 *". This is because the precedence of the "*" operator is greater |
| than the precedence of the "+" operator. |
| |
| <p>The algorithm handles left- and right-associative operators by giving |
| them slightly different left- and right-precedence. |
| |
| <p>If <a href="../../../../org/apache/calcite/sql/SqlWriter.html#isAlwaysUseParentheses--"><code>SqlWriter.isAlwaysUseParentheses()</code></a> is true, we use |
| parentheses even when they are not required by the precedence rules. |
| |
| <p>For the details of this algorithm, see <a href="../../../../org/apache/calcite/sql/SqlCall.html#unparse-org.apache.calcite.sql.SqlWriter-int-int-"><code>SqlCall.unparse(org.apache.calcite.sql.SqlWriter, int, int)</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../org/apache/calcite/sql/SqlNode.html#unparse-org.apache.calcite.sql.SqlWriter-int-int-">unparse</a></code> 在类中 <code><a href="../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a></code></dd> |
| <dt><span class="paramLabel">参数:</span></dt> |
| <dd><code>writer</code> - Target writer</dd> |
| <dd><code>leftPrec</code> - The precedence of the <a href="../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类"><code>SqlNode</code></a> immediately |
| preceding this node in a depth-first scan of the parse |
| tree</dd> |
| <dd><code>rightPrec</code> - The precedence of the <a href="../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类"><code>SqlNode</code></a> immediately</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 void validate(<a href="../../../../org/apache/calcite/sql/validate/SqlValidator.html" title="org.apache.calcite.sql.validate中的接口">SqlValidator</a> validator, |
| <a href="../../../../org/apache/calcite/sql/validate/SqlValidatorScope.html" title="org.apache.calcite.sql.validate中的接口">SqlValidatorScope</a> scope)</pre> |
| <div class="block"><span class="descfrmTypeLabel">从类复制的说明: <code><a href="../../../../org/apache/calcite/sql/SqlNode.html#validate-org.apache.calcite.sql.validate.SqlValidator-org.apache.calcite.sql.validate.SqlValidatorScope-">SqlNode</a></code></span></div> |
| <div class="block">Validates this node. |
| |
| <p>The typical implementation of this method will make a callback to the |
| validator appropriate to the node type and context. The validator has |
| methods such as <a href="../../../../org/apache/calcite/sql/validate/SqlValidator.html#validateLiteral-org.apache.calcite.sql.SqlLiteral-"><code>SqlValidator.validateLiteral(org.apache.calcite.sql.SqlLiteral)</code></a> for these purposes.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../org/apache/calcite/sql/SqlNode.html#validate-org.apache.calcite.sql.validate.SqlValidator-org.apache.calcite.sql.validate.SqlValidatorScope-">validate</a></code> 在类中 <code><a href="../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a></code></dd> |
| <dd><code>scope</code> - Validator</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMonotonicity-org.apache.calcite.sql.validate.SqlValidatorScope-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMonotonicity</h4> |
| <pre>public <a href="../../../../org/apache/calcite/sql/validate/SqlMonotonicity.html" title="org.apache.calcite.sql.validate中的枚举">SqlMonotonicity</a> getMonotonicity(<a href="../../../../org/apache/calcite/sql/validate/SqlValidatorScope.html" title="org.apache.calcite.sql.validate中的接口">SqlValidatorScope</a> scope)</pre> |
| <div class="block"><span class="descfrmTypeLabel">从类复制的说明: <code><a href="../../../../org/apache/calcite/sql/SqlNode.html#getMonotonicity-org.apache.calcite.sql.validate.SqlValidatorScope-">SqlNode</a></code></span></div> |
| <div class="block">Returns whether expression is always ascending, descending or constant. |
| This property is useful because it allows to safely aggregate infinite |
| streams of values. |
| |
| <p>The default implementation returns |
| <a href="../../../../org/apache/calcite/sql/validate/SqlMonotonicity.html#NOT_MONOTONIC"><code>SqlMonotonicity.NOT_MONOTONIC</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">覆盖:</span></dt> |
| <dd><code><a href="../../../../org/apache/calcite/sql/SqlNode.html#getMonotonicity-org.apache.calcite.sql.validate.SqlValidatorScope-">getMonotonicity</a></code> 在类中 <code><a href="../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a></code></dd> |
| <dt><span class="paramLabel">参数:</span></dt> |
| <dd><code>scope</code> - Scope</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="accept-org.apache.calcite.sql.util.SqlVisitor-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>accept</h4> |
| <pre>public <R> R accept(<a href="../../../../org/apache/calcite/sql/util/SqlVisitor.html" title="org.apache.calcite.sql.util中的接口">SqlVisitor</a><R> visitor)</pre> |
| <div class="block"><span class="descfrmTypeLabel">从类复制的说明: <code><a href="../../../../org/apache/calcite/sql/SqlNode.html#accept-org.apache.calcite.sql.util.SqlVisitor-">SqlNode</a></code></span></div> |
| <div class="block">Accepts a generic visitor. |
| |
| <p>Implementations of this method in subtypes simply call the appropriate |
| <code>visit</code> method on the |
| <a href="../../../../org/apache/calcite/sql/util/SqlVisitor.html" title="org.apache.calcite.sql.util中的接口"><code>visitor object</code></a>. |
| |
| <p>The type parameter <code>R</code> must be consistent with the type |
| parameter of the visitor.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../org/apache/calcite/sql/SqlNode.html#accept-org.apache.calcite.sql.util.SqlVisitor-">accept</a></code> 在类中 <code><a href="../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="equalsDeep-org.apache.calcite.sql.SqlNode-org.apache.calcite.util.Litmus-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>equalsDeep</h4> |
| <pre>public boolean equalsDeep(<a href="../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a> node, |
| <a href="../../../../org/apache/calcite/util/Litmus.html" title="org.apache.calcite.util中的接口">Litmus</a> litmus)</pre> |
| <div class="block"><span class="descfrmTypeLabel">从类复制的说明: <code><a href="../../../../org/apache/calcite/sql/SqlNode.html#equalsDeep-org.apache.calcite.sql.SqlNode-org.apache.calcite.util.Litmus-">SqlNode</a></code></span></div> |
| <div class="block">Returns whether this node is structurally equivalent to another node. |
| Some examples: |
| |
| <ul> |
| <li>1 + 2 is structurally equivalent to 1 + 2</li> |
| <li>1 + 2 + 3 is structurally equivalent to (1 + 2) + 3, but not to 1 + |
| (2 + 3), because the '+' operator is left-associative</li> |
| </ul></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../org/apache/calcite/sql/SqlNode.html#equalsDeep-org.apache.calcite.sql.SqlNode-org.apache.calcite.util.Litmus-">equalsDeep</a></code> 在类中 <code><a href="../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a></code></dd> |
| </dl> |
| </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/SqlDrop.html" title="org.apache.calcite.sql中的类"><span class="typeNameLink">上一个类</span></a></li> |
| <li><a href="../../../../org/apache/calcite/sql/SqlExecutableStatement.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/SqlDynamicParam.html" target="_top">框架</a></li> |
| <li><a href="SqlDynamicParam.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>概要: </li> |
| <li>嵌套 | </li> |
| <li><a href="#fields.inherited.from.class.org.apache.calcite.sql.SqlNode">字段</a> | </li> |
| <li><a href="#constructor.summary">构造器</a> | </li> |
| <li><a href="#method.summary">方法</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>详细资料: </li> |
| <li>字段 | </li> |
| <li><a href="#constructor.detail">构造器</a> | </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 © 2012-2020 Apache Software Foundation. All Rights Reserved.</small></p> |
| </body> |
| </html> |