| <!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>RexCallBinding (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="RexCallBinding (Apache Calcite calcite API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":9,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10}; |
| var tabs = {65535:["t0","所有方法"],1:["t1","静态方法"],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/rex/RexCall.html" title="org.apache.calcite.rex中的类"><span class="typeNameLink">上一个类</span></a></li> |
| <li><a href="../../../../org/apache/calcite/rex/RexChecker.html" title="org.apache.calcite.rex中的类"><span class="typeNameLink">下一个类</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/calcite/rex/RexCallBinding.html" target="_top">框架</a></li> |
| <li><a href="RexCallBinding.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.SqlOperatorBinding">字段</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.rex</div> |
| <h2 title="类 RexCallBinding" class="title">类 RexCallBinding</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/SqlOperatorBinding.html" title="org.apache.calcite.sql中的类">org.apache.calcite.sql.SqlOperatorBinding</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.calcite.rex.RexCallBinding</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <br> |
| <pre>public class <span class="typeNameLabel">RexCallBinding</span> |
| extends <a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html" title="org.apache.calcite.sql中的类">SqlOperatorBinding</a></pre> |
| <div class="block"><code>RexCallBinding</code> implements <a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html" title="org.apache.calcite.sql中的类"><code>SqlOperatorBinding</code></a> by |
| referring to an underlying collection of <a href="../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类"><code>RexNode</code></a> operands.</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.SqlOperatorBinding"> |
| <!-- --> |
| </a> |
| <h3>从类继承的字段 org.apache.calcite.sql.<a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html" title="org.apache.calcite.sql中的类">SqlOperatorBinding</a></h3> |
| <code><a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html#typeFactory">typeFactory</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/rex/RexCallBinding.html#RexCallBinding-org.apache.calcite.rel.type.RelDataTypeFactory-org.apache.calcite.sql.SqlOperator-java.util.List-java.util.List-">RexCallBinding</a></span>(<a href="../../../../org/apache/calcite/rel/type/RelDataTypeFactory.html" title="org.apache.calcite.rel.type中的接口">RelDataTypeFactory</a> typeFactory, |
| <a href="../../../../org/apache/calcite/sql/SqlOperator.html" title="org.apache.calcite.sql中的类">SqlOperator</a> sqlOperator, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a><? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>> operands, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a><<a href="../../../../org/apache/calcite/rel/RelCollation.html" title="org.apache.calcite.rel中的接口">RelCollation</a>> inputCollations)</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="t1" class="tableTab"><span><a href="javascript:show(1);">静态方法</a></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>static <a href="../../../../org/apache/calcite/rex/RexCallBinding.html" title="org.apache.calcite.rex中的类">RexCallBinding</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/rex/RexCallBinding.html#create-org.apache.calcite.rel.type.RelDataTypeFactory-org.apache.calcite.rex.RexCall-java.util.List-">create</a></span>(<a href="../../../../org/apache/calcite/rel/type/RelDataTypeFactory.html" title="org.apache.calcite.rel.type中的接口">RelDataTypeFactory</a> typeFactory, |
| <a href="../../../../org/apache/calcite/rex/RexCall.html" title="org.apache.calcite.rex中的类">RexCall</a> call, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a><<a href="../../../../org/apache/calcite/rel/RelCollation.html" title="org.apache.calcite.rel中的接口">RelCollation</a>> inputCollations)</code> |
| <div class="block">Creates a binding of the appropriate type.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/rex/RexCallBinding.html#getIntLiteralOperand-int-">getIntLiteralOperand</a></span>(int ordinal)</code> |
| <div class="block">Gets the integer value of a numeric literal operand.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/rex/RexCallBinding.html#getOperandCount--">getOperandCount</a></span>()</code> </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><T> T</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/rex/RexCallBinding.html#getOperandLiteralValue-int-java.lang.Class-">getOperandLiteralValue</a></span>(int ordinal, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="java.lang中的类或接口">Class</a><T> clazz)</code> |
| <div class="block">Gets the value of a literal operand.</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/rex/RexCallBinding.html#getOperandMonotonicity-int-">getOperandMonotonicity</a></span>(int ordinal)</code> |
| <div class="block">Gets the monotonicity of a bound operand.</div> |
| </td> |
| </tr> |
| <tr id="i5" 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/rex/RexCallBinding.html#getOperandType-int-">getOperandType</a></span>(int ordinal)</code> |
| <div class="block">Gets the type of a bound operand.</div> |
| </td> |
| </tr> |
| <tr id="i6" 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/rex/RexCallBinding.html#getStringLiteralOperand-int-">getStringLiteralOperand</a></span>(int ordinal)</code> |
| <div class="block">Gets the string value of a string literal operand.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/rex/RexCallBinding.html#isOperandLiteral-int-boolean-">isOperandLiteral</a></span>(int ordinal, |
| boolean allowCast)</code> |
| <div class="block">Determines whether an operand is a literal.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/rex/RexCallBinding.html#isOperandNull-int-boolean-">isOperandNull</a></span>(int ordinal, |
| boolean allowCast)</code> |
| <div class="block">Determines whether a bound operand is NULL.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/calcite/runtime/CalciteException.html" title="org.apache.calcite.runtime中的类">CalciteException</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/rex/RexCallBinding.html#newError-org.apache.calcite.runtime.Resources.ExInst-">newError</a></span>(org.apache.calcite.runtime.Resources.ExInst<<a href="../../../../org/apache/calcite/sql/validate/SqlValidatorException.html" title="org.apache.calcite.sql.validate中的类">SqlValidatorException</a>> e)</code> |
| <div class="block">Wraps a validation error with context appropriate to this operator call.</div> |
| </td> |
| </tr> |
| <tr id="i10" 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><<a href="../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/rex/RexCallBinding.html#operands--">operands</a></span>()</code> </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.calcite.sql.SqlOperatorBinding"> |
| <!-- --> |
| </a> |
| <h3>从类继承的方法 org.apache.calcite.sql.<a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html" title="org.apache.calcite.sql中的类">SqlOperatorBinding</a></h3> |
| <code><a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html#collectOperandTypes--">collectOperandTypes</a>, <a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html#getColumnListParamInfo-int-java.lang.String-java.util.List-">getColumnListParamInfo</a>, <a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html#getCursorOperand-int-">getCursorOperand</a>, <a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html#getGroupCount--">getGroupCount</a>, <a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html#getOperandLiteralValue-int-">getOperandLiteralValue</a>, <a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html#getOperator--">getOperator</a>, <a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html#getTypeFactory--">getTypeFactory</a>, <a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html#hasFilter--">hasFilter</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#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"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>构造器详细资料</h3> |
| <a name="RexCallBinding-org.apache.calcite.rel.type.RelDataTypeFactory-org.apache.calcite.sql.SqlOperator-java.util.List-java.util.List-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>RexCallBinding</h4> |
| <pre>public RexCallBinding(<a href="../../../../org/apache/calcite/rel/type/RelDataTypeFactory.html" title="org.apache.calcite.rel.type中的接口">RelDataTypeFactory</a> typeFactory, |
| <a href="../../../../org/apache/calcite/sql/SqlOperator.html" title="org.apache.calcite.sql中的类">SqlOperator</a> sqlOperator, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a><? extends <a href="../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>> operands, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a><<a href="../../../../org/apache/calcite/rel/RelCollation.html" title="org.apache.calcite.rel中的接口">RelCollation</a>> inputCollations)</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>方法详细资料</h3> |
| <a name="create-org.apache.calcite.rel.type.RelDataTypeFactory-org.apache.calcite.rex.RexCall-java.util.List-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>create</h4> |
| <pre>public static <a href="../../../../org/apache/calcite/rex/RexCallBinding.html" title="org.apache.calcite.rex中的类">RexCallBinding</a> create(<a href="../../../../org/apache/calcite/rel/type/RelDataTypeFactory.html" title="org.apache.calcite.rel.type中的接口">RelDataTypeFactory</a> typeFactory, |
| <a href="../../../../org/apache/calcite/rex/RexCall.html" title="org.apache.calcite.rex中的类">RexCall</a> call, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a><<a href="../../../../org/apache/calcite/rel/RelCollation.html" title="org.apache.calcite.rel中的接口">RelCollation</a>> inputCollations)</pre> |
| <div class="block">Creates a binding of the appropriate type.</div> |
| </li> |
| </ul> |
| <a name="getStringLiteralOperand-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getStringLiteralOperand</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a> getStringLiteralOperand(int ordinal)</pre> |
| <div class="block"><span class="descfrmTypeLabel">从类复制的说明: <code><a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html#getStringLiteralOperand-int-">SqlOperatorBinding</a></code></span></div> |
| <div class="block">Gets the string value of a string literal operand.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">覆盖:</span></dt> |
| <dd><code><a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html#getStringLiteralOperand-int-">getStringLiteralOperand</a></code> 在类中 <code><a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html" title="org.apache.calcite.sql中的类">SqlOperatorBinding</a></code></dd> |
| <dt><span class="paramLabel">参数:</span></dt> |
| <dd><code>ordinal</code> - zero-based ordinal of operand of interest</dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>string value</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getIntLiteralOperand-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getIntLiteralOperand</h4> |
| <pre>public int getIntLiteralOperand(int ordinal)</pre> |
| <div class="block"><span class="descfrmTypeLabel">从类复制的说明: <code><a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html#getIntLiteralOperand-int-">SqlOperatorBinding</a></code></span></div> |
| <div class="block">Gets the integer value of a numeric literal operand.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">覆盖:</span></dt> |
| <dd><code><a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html#getIntLiteralOperand-int-">getIntLiteralOperand</a></code> 在类中 <code><a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html" title="org.apache.calcite.sql中的类">SqlOperatorBinding</a></code></dd> |
| <dt><span class="paramLabel">参数:</span></dt> |
| <dd><code>ordinal</code> - zero-based ordinal of operand of interest</dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>integer value</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getOperandLiteralValue-int-java.lang.Class-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getOperandLiteralValue</h4> |
| <pre>public <T> T getOperandLiteralValue(int ordinal, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="java.lang中的类或接口">Class</a><T> clazz)</pre> |
| <div class="block"><span class="descfrmTypeLabel">从类复制的说明: <code><a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html#getOperandLiteralValue-int-java.lang.Class-">SqlOperatorBinding</a></code></span></div> |
| <div class="block">Gets the value of a literal operand. |
| |
| <p>Cases: |
| <ul> |
| <li>If the operand is not a literal, the value is null. |
| |
| <li>If the operand is a string literal, |
| the value will be of type <a href="../../../../org/apache/calcite/util/NlsString.html" title="org.apache.calcite.util中的类"><code>NlsString</code></a>. |
| |
| <li>If the operand is a numeric literal, |
| the value will be of type <a href="https://docs.oracle.com/javase/8/docs/api/java/math/BigDecimal.html?is-external=true" title="java.math中的类或接口"><code>BigDecimal</code></a>. |
| |
| <li>If the operand is an interval qualifier, |
| the value will be of type <a href="../../../../org/apache/calcite/sql/SqlIntervalQualifier.html" title="org.apache.calcite.sql中的类"><code>SqlIntervalQualifier</code></a></li> |
| |
| <li>Otherwise the type is undefined, and the value may be null. |
| </ul></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">覆盖:</span></dt> |
| <dd><code><a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html#getOperandLiteralValue-int-java.lang.Class-">getOperandLiteralValue</a></code> 在类中 <code><a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html" title="org.apache.calcite.sql中的类">SqlOperatorBinding</a></code></dd> |
| <dt><span class="paramLabel">参数:</span></dt> |
| <dd><code>ordinal</code> - zero-based ordinal of operand of interest</dd> |
| <dd><code>clazz</code> - Desired valued type</dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>value of operand</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getOperandMonotonicity-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getOperandMonotonicity</h4> |
| <pre>public <a href="../../../../org/apache/calcite/sql/validate/SqlMonotonicity.html" title="org.apache.calcite.sql.validate中的枚举">SqlMonotonicity</a> getOperandMonotonicity(int ordinal)</pre> |
| <div class="block"><span class="descfrmTypeLabel">从类复制的说明: <code><a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html#getOperandMonotonicity-int-">SqlOperatorBinding</a></code></span></div> |
| <div class="block">Gets the monotonicity of a bound operand.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">覆盖:</span></dt> |
| <dd><code><a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html#getOperandMonotonicity-int-">getOperandMonotonicity</a></code> 在类中 <code><a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html" title="org.apache.calcite.sql中的类">SqlOperatorBinding</a></code></dd> |
| <dt><span class="paramLabel">参数:</span></dt> |
| <dd><code>ordinal</code> - zero-based ordinal of operand of interest</dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>monotonicity of operand</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isOperandNull-int-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isOperandNull</h4> |
| <pre>public boolean isOperandNull(int ordinal, |
| boolean allowCast)</pre> |
| <div class="block"><span class="descfrmTypeLabel">从类复制的说明: <code><a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html#isOperandNull-int-boolean-">SqlOperatorBinding</a></code></span></div> |
| <div class="block">Determines whether a bound operand is NULL. |
| |
| <p>This is only relevant for SQL validation.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">覆盖:</span></dt> |
| <dd><code><a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html#isOperandNull-int-boolean-">isOperandNull</a></code> 在类中 <code><a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html" title="org.apache.calcite.sql中的类">SqlOperatorBinding</a></code></dd> |
| <dt><span class="paramLabel">参数:</span></dt> |
| <dd><code>ordinal</code> - zero-based ordinal of operand of interest</dd> |
| <dd><code>allowCast</code> - whether to regard CAST(constant) as a constant</dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>whether operand is null; false for everything except SQL |
| validation</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isOperandLiteral-int-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isOperandLiteral</h4> |
| <pre>public boolean isOperandLiteral(int ordinal, |
| boolean allowCast)</pre> |
| <div class="block"><span class="descfrmTypeLabel">从类复制的说明: <code><a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html#isOperandLiteral-int-boolean-">SqlOperatorBinding</a></code></span></div> |
| <div class="block">Determines whether an operand is a literal.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">覆盖:</span></dt> |
| <dd><code><a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html#isOperandLiteral-int-boolean-">isOperandLiteral</a></code> 在类中 <code><a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html" title="org.apache.calcite.sql中的类">SqlOperatorBinding</a></code></dd> |
| <dt><span class="paramLabel">参数:</span></dt> |
| <dd><code>ordinal</code> - zero-based ordinal of operand of interest</dd> |
| <dd><code>allowCast</code> - whether to regard CAST(literal) as a literal</dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>whether operand is literal</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="operands--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>operands</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a><<a href="../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>> operands()</pre> |
| </li> |
| </ul> |
| <a name="getOperandCount--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getOperandCount</h4> |
| <pre>public int getOperandCount()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html#getOperandCount--">getOperandCount</a></code> 在类中 <code><a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html" title="org.apache.calcite.sql中的类">SqlOperatorBinding</a></code></dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>the number of bound operands</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getOperandType-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getOperandType</h4> |
| <pre>public <a href="../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a> getOperandType(int ordinal)</pre> |
| <div class="block"><span class="descfrmTypeLabel">从类复制的说明: <code><a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html#getOperandType-int-">SqlOperatorBinding</a></code></span></div> |
| <div class="block">Gets the type of a bound operand.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html#getOperandType-int-">getOperandType</a></code> 在类中 <code><a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html" title="org.apache.calcite.sql中的类">SqlOperatorBinding</a></code></dd> |
| <dt><span class="paramLabel">参数:</span></dt> |
| <dd><code>ordinal</code> - zero-based ordinal of operand of interest</dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>bound operand type</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="newError-org.apache.calcite.runtime.Resources.ExInst-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>newError</h4> |
| <pre>public <a href="../../../../org/apache/calcite/runtime/CalciteException.html" title="org.apache.calcite.runtime中的类">CalciteException</a> newError(org.apache.calcite.runtime.Resources.ExInst<<a href="../../../../org/apache/calcite/sql/validate/SqlValidatorException.html" title="org.apache.calcite.sql.validate中的类">SqlValidatorException</a>> e)</pre> |
| <div class="block"><span class="descfrmTypeLabel">从类复制的说明: <code><a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html#newError-org.apache.calcite.runtime.Resources.ExInst-">SqlOperatorBinding</a></code></span></div> |
| <div class="block">Wraps a validation error with context appropriate to this operator call.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html#newError-org.apache.calcite.runtime.Resources.ExInst-">newError</a></code> 在类中 <code><a href="../../../../org/apache/calcite/sql/SqlOperatorBinding.html" title="org.apache.calcite.sql中的类">SqlOperatorBinding</a></code></dd> |
| <dt><span class="paramLabel">参数:</span></dt> |
| <dd><code>e</code> - Validation error, not null</dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>Error wrapped, if possible, with positional information</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/rex/RexCall.html" title="org.apache.calcite.rex中的类"><span class="typeNameLink">上一个类</span></a></li> |
| <li><a href="../../../../org/apache/calcite/rex/RexChecker.html" title="org.apache.calcite.rex中的类"><span class="typeNameLink">下一个类</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/calcite/rex/RexCallBinding.html" target="_top">框架</a></li> |
| <li><a href="RexCallBinding.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.SqlOperatorBinding">字段</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> |