| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>RexInputRef (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="RexInputRef (Apache Calcite calcite API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":9,"i3":10,"i4":10,"i5":10,"i6":9,"i7":9,"i8":9}; |
| var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage"><b>Apache Calcite</b></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/calcite/rex/RexFieldCollation.html" title="class in org.apache.calcite.rex"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/calcite/rex/RexInterpreter.html" title="class in org.apache.calcite.rex"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/calcite/rex/RexInputRef.html" target="_top">Frames</a></li> |
| <li><a href="RexInputRef.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</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>Summary: </li> |
| <li><a href="#nested.classes.inherited.from.class.org.apache.calcite.rex.RexSlot">Nested</a> | </li> |
| <li><a href="#fields.inherited.from.class.org.apache.calcite.rex.RexSlot">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</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="Class RexInputRef" class="title">Class RexInputRef</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="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">org.apache.calcite.rex.RexNode</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../org/apache/calcite/rex/RexVariable.html" title="class in org.apache.calcite.rex">org.apache.calcite.rex.RexVariable</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../org/apache/calcite/rex/RexSlot.html" title="class in org.apache.calcite.rex">org.apache.calcite.rex.RexSlot</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.calcite.rex.RexInputRef</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>Direct Known Subclasses:</dt> |
| <dd><a href="../../../../org/apache/calcite/rex/RexPatternFieldRef.html" title="class in org.apache.calcite.rex">RexPatternFieldRef</a>, <a href="../../../../org/apache/calcite/rex/RexTableInputRef.html" title="class in org.apache.calcite.rex">RexTableInputRef</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <span class="typeNameLabel">RexInputRef</span> |
| extends <a href="../../../../org/apache/calcite/rex/RexSlot.html" title="class in org.apache.calcite.rex">RexSlot</a></pre> |
| <div class="block">Variable which references a field of an input relational expression. |
| |
| <p>Fields of the input are 0-based. If there is more than one input, they are |
| numbered consecutively. For example, if the inputs to a join are</p> |
| |
| <ul> |
| <li>Input #0: EMP(EMPNO, ENAME, DEPTNO) and</li> |
| <li>Input #1: DEPT(DEPTNO AS DEPTNO2, DNAME)</li> |
| </ul> |
| |
| <p>then the fields are:</p> |
| |
| <ul> |
| <li>Field #0: EMPNO</li> |
| <li>Field #1: ENAME</li> |
| <li>Field #2: DEPTNO (from EMP)</li> |
| <li>Field #3: DEPTNO2 (from DEPT)</li> |
| <li>Field #4: DNAME</li> |
| </ul> |
| |
| <p>So <code>RexInputRef(3, Integer)</code> is the correct reference for the |
| field DEPTNO2.</p></div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.classes.inherited.from.class.org.apache.calcite.rex.RexSlot"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from class org.apache.calcite.rex.<a href="../../../../org/apache/calcite/rex/RexSlot.html" title="class in org.apache.calcite.rex">RexSlot</a></h3> |
| <code><a href="../../../../org/apache/calcite/rex/RexSlot.SelfPopulatingList.html" title="class in org.apache.calcite.rex">RexSlot.SelfPopulatingList</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.classes.inherited.from.class.org.apache.calcite.rex.RexNode"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from class org.apache.calcite.rex.<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></h3> |
| <code><a href="../../../../org/apache/calcite/rex/RexNode.Closeable.html" title="interface in org.apache.calcite.rex">RexNode.Closeable</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields.inherited.from.class.org.apache.calcite.rex.RexSlot"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class org.apache.calcite.rex.<a href="../../../../org/apache/calcite/rex/RexSlot.html" title="class in org.apache.calcite.rex">RexSlot</a></h3> |
| <code><a href="../../../../org/apache/calcite/rex/RexSlot.html#index">index</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields.inherited.from.class.org.apache.calcite.rex.RexVariable"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class org.apache.calcite.rex.<a href="../../../../org/apache/calcite/rex/RexVariable.html" title="class in org.apache.calcite.rex">RexVariable</a></h3> |
| <code><a href="../../../../org/apache/calcite/rex/RexVariable.html#name">name</a>, <a href="../../../../org/apache/calcite/rex/RexVariable.html#type">type</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields.inherited.from.class.org.apache.calcite.rex.RexNode"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class org.apache.calcite.rex.<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></h3> |
| <code><a href="../../../../org/apache/calcite/rex/RexNode.html#digest">digest</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/rex/RexInputRef.html#RexInputRef-int-org.apache.calcite.rel.type.RelDataType-">RexInputRef</a></span>(int index, |
| <a href="../../../../org/apache/calcite/rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a> type)</code> |
| <div class="block">Creates an input variable.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code><R,P> R</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/rex/RexInputRef.html#accept-org.apache.calcite.rex.RexBiVisitor-P-">accept</a></span>(<a href="../../../../org/apache/calcite/rex/RexBiVisitor.html" title="interface in org.apache.calcite.rex">RexBiVisitor</a><R,P> visitor, |
| P arg)</code> |
| <div class="block">Accepts a visitor with a payload, dispatching to the right overloaded |
| <a href="../../../../org/apache/calcite/rex/RexBiVisitor.html#visitInputRef-org.apache.calcite.rex.RexInputRef-P-"><code>RexBiVisitor.visitInputRef(RexInputRef, Object)</code></a> visitXxx} method.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code><R> R</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/rex/RexInputRef.html#accept-org.apache.calcite.rex.RexVisitor-">accept</a></span>(<a href="../../../../org/apache/calcite/rex/RexVisitor.html" title="interface in org.apache.calcite.rex">RexVisitor</a><R> visitor)</code> |
| <div class="block">Accepts a visitor, dispatching to the right overloaded |
| <a href="../../../../org/apache/calcite/rex/RexVisitor.html#visitInputRef-org.apache.calcite.rex.RexInputRef-"><code>visitXxx</code></a> method.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/rex/RexInputRef.html#createName-int-">createName</a></span>(int index)</code> |
| <div class="block">Creates a name for an input reference, of the form "$index".</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/rex/RexInputRef.html#equals-java.lang.Object-">equals</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> obj)</code></td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/calcite/sql/SqlKind.html" title="enum in org.apache.calcite.sql">SqlKind</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/rex/RexInputRef.html#getKind--">getKind</a></span>()</code> |
| <div class="block">Returns the kind of node this is.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/rex/RexInputRef.html#hashCode--">hashCode</a></span>()</code></td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/calcite/rex/RexInputRef.html" title="class in org.apache.calcite.rex">RexInputRef</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/rex/RexInputRef.html#of-int-java.util.List-">of</a></span>(int index, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/apache/calcite/rel/type/RelDataTypeField.html" title="interface in org.apache.calcite.rel.type">RelDataTypeField</a>> fields)</code> |
| <div class="block">Creates a reference to a given field in a list of fields.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/calcite/rex/RexInputRef.html" title="class in org.apache.calcite.rex">RexInputRef</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/rex/RexInputRef.html#of-int-org.apache.calcite.rel.type.RelDataType-">of</a></span>(int index, |
| <a href="../../../../org/apache/calcite/rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a> rowType)</code> |
| <div class="block">Creates a reference to a given field in a row type.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/calcite/util/Pair.html" title="class in org.apache.calcite.util">Pair</a><<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/rex/RexInputRef.html#of2-int-java.util.List-">of2</a></span>(int index, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/apache/calcite/rel/type/RelDataTypeField.html" title="interface in org.apache.calcite.rel.type">RelDataTypeField</a>> fields)</code> |
| <div class="block">Creates a reference to a given field in a list of fields.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.calcite.rex.RexSlot"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.apache.calcite.rex.<a href="../../../../org/apache/calcite/rex/RexSlot.html" title="class in org.apache.calcite.rex">RexSlot</a></h3> |
| <code><a href="../../../../org/apache/calcite/rex/RexSlot.html#getIndex--">getIndex</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.calcite.rex.RexVariable"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.apache.calcite.rex.<a href="../../../../org/apache/calcite/rex/RexVariable.html" title="class in org.apache.calcite.rex">RexVariable</a></h3> |
| <code><a href="../../../../org/apache/calcite/rex/RexVariable.html#getName--">getName</a>, <a href="../../../../org/apache/calcite/rex/RexVariable.html#getType--">getType</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.calcite.rex.RexNode"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.apache.calcite.rex.<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></h3> |
| <code><a href="../../../../org/apache/calcite/rex/RexNode.html#isA-java.util.Collection-">isA</a>, <a href="../../../../org/apache/calcite/rex/RexNode.html#isA-org.apache.calcite.sql.SqlKind-">isA</a>, <a href="../../../../org/apache/calcite/rex/RexNode.html#isAlwaysFalse--">isAlwaysFalse</a>, <a href="../../../../org/apache/calcite/rex/RexNode.html#isAlwaysTrue--">isAlwaysTrue</a>, <a href="../../../../org/apache/calcite/rex/RexNode.html#needNormalize--">needNormalize</a>, <a href="../../../../org/apache/calcite/rex/RexNode.html#nodeCount--">nodeCount</a>, <a href="../../../../org/apache/calcite/rex/RexNode.html#skipNormalize--">skipNormalize</a>, <a href="../../../../org/apache/calcite/rex/RexNode.html#toString--">toString</a>, <a href="../../../../org/apache/calcite/rex/RexNode.html#toStringRaw--">toStringRaw</a>, <a href="../../../../org/apache/calcite/rex/RexNode.html#withNormalize-boolean-">withNormalize</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in 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="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in 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="class or interface in 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>Constructor Detail</h3> |
| <a name="RexInputRef-int-org.apache.calcite.rel.type.RelDataType-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>RexInputRef</h4> |
| <pre>public RexInputRef(int index, |
| <a href="../../../../org/apache/calcite/rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a> type)</pre> |
| <div class="block">Creates an input variable.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - Index of the field in the underlying row-type</dd> |
| <dd><code>type</code> - Type of the column</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="equals-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>equals</h4> |
| <pre>public boolean equals(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> obj)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/calcite/rex/RexNode.html#equals-java.lang.Object-">RexNode</a></code></span></div> |
| <div class="block"> |
| |
| <p>Every node must implement <a href="../../../../org/apache/calcite/rex/RexNode.html#equals-java.lang.Object-"><code>RexNode.equals(java.lang.Object)</code></a> based on its content</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/calcite/rex/RexNode.html#equals-java.lang.Object-">equals</a></code> in class <code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="hashCode--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hashCode</h4> |
| <pre>public int hashCode()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/calcite/rex/RexNode.html#hashCode--">RexNode</a></code></span></div> |
| <div class="block"> |
| |
| <p>Every node must implement <a href="../../../../org/apache/calcite/rex/RexNode.html#hashCode--"><code>RexNode.hashCode()</code></a> consistent with |
| <a href="../../../../org/apache/calcite/rex/RexNode.html#equals-java.lang.Object-"><code>RexNode.equals(java.lang.Object)</code></a></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/calcite/rex/RexNode.html#hashCode--">hashCode</a></code> in class <code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="of-int-org.apache.calcite.rel.type.RelDataType-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>of</h4> |
| <pre>public static <a href="../../../../org/apache/calcite/rex/RexInputRef.html" title="class in org.apache.calcite.rex">RexInputRef</a> of(int index, |
| <a href="../../../../org/apache/calcite/rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a> rowType)</pre> |
| <div class="block">Creates a reference to a given field in a row type.</div> |
| </li> |
| </ul> |
| <a name="of-int-java.util.List-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>of</h4> |
| <pre>public static <a href="../../../../org/apache/calcite/rex/RexInputRef.html" title="class in org.apache.calcite.rex">RexInputRef</a> of(int index, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/apache/calcite/rel/type/RelDataTypeField.html" title="interface in org.apache.calcite.rel.type">RelDataTypeField</a>> fields)</pre> |
| <div class="block">Creates a reference to a given field in a list of fields.</div> |
| </li> |
| </ul> |
| <a name="of2-int-java.util.List-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>of2</h4> |
| <pre>public static <a href="../../../../org/apache/calcite/util/Pair.html" title="class in org.apache.calcite.util">Pair</a><<a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> of2(int index, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/apache/calcite/rel/type/RelDataTypeField.html" title="interface in org.apache.calcite.rel.type">RelDataTypeField</a>> fields)</pre> |
| <div class="block">Creates a reference to a given field in a list of fields.</div> |
| </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="enum in org.apache.calcite.sql">SqlKind</a> getKind()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/calcite/rex/RexNode.html#getKind--">RexNode</a></code></span></div> |
| <div class="block">Returns the kind of node this is.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../org/apache/calcite/rex/RexNode.html#getKind--">getKind</a></code> in class <code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Node kind, never null</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="accept-org.apache.calcite.rex.RexVisitor-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>accept</h4> |
| <pre>public <R> R accept(<a href="../../../../org/apache/calcite/rex/RexVisitor.html" title="interface in org.apache.calcite.rex">RexVisitor</a><R> visitor)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/calcite/rex/RexNode.html#accept-org.apache.calcite.rex.RexVisitor-">RexNode</a></code></span></div> |
| <div class="block">Accepts a visitor, dispatching to the right overloaded |
| <a href="../../../../org/apache/calcite/rex/RexVisitor.html#visitInputRef-org.apache.calcite.rex.RexInputRef-"><code>visitXxx</code></a> method. |
| |
| <p>Also see <a href="../../../../org/apache/calcite/rex/RexUtil.html#apply-org.apache.calcite.rex.RexVisitor-java.util.List-org.apache.calcite.rex.RexNode-"><code>RexUtil.apply(RexVisitor, java.util.List, RexNode)</code></a>, |
| which applies a visitor to several expressions simultaneously.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/calcite/rex/RexNode.html#accept-org.apache.calcite.rex.RexVisitor-">accept</a></code> in class <code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="accept-org.apache.calcite.rex.RexBiVisitor-java.lang.Object-"> |
| <!-- --> |
| </a><a name="accept-org.apache.calcite.rex.RexBiVisitor-P-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>accept</h4> |
| <pre>public <R,P> R accept(<a href="../../../../org/apache/calcite/rex/RexBiVisitor.html" title="interface in org.apache.calcite.rex">RexBiVisitor</a><R,P> visitor, |
| P arg)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/calcite/rex/RexNode.html#accept-org.apache.calcite.rex.RexBiVisitor-P-">RexNode</a></code></span></div> |
| <div class="block">Accepts a visitor with a payload, dispatching to the right overloaded |
| <a href="../../../../org/apache/calcite/rex/RexBiVisitor.html#visitInputRef-org.apache.calcite.rex.RexInputRef-P-"><code>RexBiVisitor.visitInputRef(RexInputRef, Object)</code></a> visitXxx} method.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/calcite/rex/RexNode.html#accept-org.apache.calcite.rex.RexBiVisitor-P-">accept</a></code> in class <code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createName-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>createName</h4> |
| <pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> createName(int index)</pre> |
| <div class="block">Creates a name for an input reference, of the form "$index". If the index |
| is low, uses a cache of common names, to reduce gc.</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage"><b>Apache Calcite</b></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/calcite/rex/RexFieldCollation.html" title="class in org.apache.calcite.rex"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/calcite/rex/RexInterpreter.html" title="class in org.apache.calcite.rex"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/calcite/rex/RexInputRef.html" target="_top">Frames</a></li> |
| <li><a href="RexInputRef.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.classes.inherited.from.class.org.apache.calcite.rex.RexSlot">Nested</a> | </li> |
| <li><a href="#fields.inherited.from.class.org.apache.calcite.rex.RexSlot">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</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> |