| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>Uses of Class org.apache.calcite.rex.RexLocalRef (Apache Calcite API)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style"> |
| <script type="text/javascript" src="../../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="../../../../../jquery/jquery-3.3.1.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jquery-migrate-3.0.1.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="Uses of Class org.apache.calcite.rex.RexLocalRef (Apache Calcite API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var pathtoroot = "../../../../../"; |
| var useModuleDirectories = true; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../index.html">Overview</a></li> |
| <li><a href="../package-summary.html">Package</a></li> |
| <li><a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">Class</a></li> |
| <li class="navBarCell1Rev">Use</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> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <ul class="navListSearch"> |
| <li><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </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> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <main role="main"> |
| <div class="header"> |
| <h2 title="Uses of Class org.apache.calcite.rex.RexLocalRef" class="title">Uses of Class<br>org.apache.calcite.rex.RexLocalRef</h2> |
| </div> |
| <div class="classUseContainer"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <table class="useSummary"> |
| <caption><span>Packages that use <a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Package</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="#org.apache.calcite.rel.rules">org.apache.calcite.rel.rules</a></th> |
| <td class="colLast"> |
| <div class="block">Provides a core set of planner rules.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="#org.apache.calcite.rex">org.apache.calcite.rex</a></th> |
| <td class="colLast"> |
| <div class="block">Provides a language for representing row-expressions.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <section role="region"><a id="org.apache.calcite.rel.rules"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a> in <a href="../../rel/rules/package-summary.html">org.apache.calcite.rel.rules</a></h3> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../../rel/rules/package-summary.html">org.apache.calcite.rel.rules</a> with parameters of type <a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>java.lang.Void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">CalcRelSplitter.HighestUsageFinder.</span><code><span class="memberNameLink"><a href="../../rel/rules/CalcRelSplitter.HighestUsageFinder.html#visitLocalRef(org.apache.calcite.rex.RexLocalRef)">visitLocalRef</a></span>​(<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a> ref)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">CalcRelSplitter.InputToCommonExprConverter.</span><code><span class="memberNameLink"><a href="../../rel/rules/CalcRelSplitter.InputToCommonExprConverter.html#visitLocalRef(org.apache.calcite.rex.RexLocalRef)">visitLocalRef</a></span>​(<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a> local)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>java.lang.Void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">CalcRelSplitter.MaxInputFinder.</span><code><span class="memberNameLink"><a href="../../rel/rules/CalcRelSplitter.MaxInputFinder.html#visitLocalRef(org.apache.calcite.rex.RexLocalRef)">visitLocalRef</a></span>​(<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a> localRef)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section role="region"><a id="org.apache.calcite.rex"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a> in <a href="../package-summary.html">org.apache.calcite.rex</a></h3> |
| <table class="useSummary"> |
| <caption><span>Fields in <a href="../package-summary.html">org.apache.calcite.rex</a> declared as <a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Field</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexProgram.</span><code><span class="memberNameLink"><a href="../RexProgram.html#condition">condition</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The optional condition.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexProgramBuilder.</span><code><span class="memberNameLink"><a href="../RexProgramBuilder.html#conditionRef">conditionRef</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Fields in <a href="../package-summary.html">org.apache.calcite.rex</a> with type parameters of type <a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Field</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private java.util.Map<<a href="../../util/Pair.html" title="class in org.apache.calcite.util">Pair</a><<a href="../RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>,​java.lang.String>,​<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexProgramBuilder.</span><code><span class="memberNameLink"><a href="../RexProgramBuilder.html#exprMap">exprMap</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private java.util.List<<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexProgramBuilder.</span><code><span class="memberNameLink"><a href="../RexProgramBuilder.html#localRefList">localRefList</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private java.util.List<<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexProgramBuilder.UpdateRefShuttle.</span><code><span class="memberNameLink"><a href="../RexProgramBuilder.UpdateRefShuttle.html#newRefs">newRefs</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private java.util.List<<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexProgramBuilder.</span><code><span class="memberNameLink"><a href="../RexProgramBuilder.html#projectRefList">projectRefList</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private java.util.List<<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexProgram.</span><code><span class="memberNameLink"><a href="../RexProgram.html#projects">projects</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">With <a href="../RexProgram.html#condition"><code>RexProgram.condition</code></a>, the second stage of expression evaluation.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../package-summary.html">org.apache.calcite.rex</a> that return <a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexProgramBuilder.</span><code><span class="memberNameLink"><a href="../RexProgramBuilder.html#addExpr(org.apache.calcite.rex.RexNode)">addExpr</a></span>​(<a href="../RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> expr)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds an expression to the list of common expressions, and returns a |
| reference to the expression.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexProgramBuilder.</span><code><span class="memberNameLink"><a href="../RexProgramBuilder.html#addProject(int,int,java.lang.String)">addProject</a></span>​(int at, |
| int ordinal, |
| java.lang.String name)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds a projection based upon the <code>index</code>th expression at a |
| given position.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexProgramBuilder.</span><code><span class="memberNameLink"><a href="../RexProgramBuilder.html#addProject(int,java.lang.String)">addProject</a></span>​(int ordinal, |
| java.lang.String name)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds a projection based upon the <code>index</code>th expression.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexProgramBuilder.</span><code><span class="memberNameLink"><a href="../RexProgramBuilder.html#addProject(int,org.apache.calcite.rex.RexNode,java.lang.String)">addProject</a></span>​(int at, |
| <a href="../RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> expr, |
| java.lang.String name)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds a project expression to the program at a given position.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexProgramBuilder.</span><code><span class="memberNameLink"><a href="../RexProgramBuilder.html#addProject(org.apache.calcite.rex.RexNode,java.lang.String)">addProject</a></span>​(<a href="../RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> expr, |
| java.lang.String name)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds a project expression to the program.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexProgram.</span><code><span class="memberNameLink"><a href="../RexProgram.html#getCondition()">getCondition</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the field reference of this program's filter condition, or null |
| if there is no condition.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexProgramBuilder.</span><code><span class="memberNameLink"><a href="../RexProgramBuilder.html#makeInputRef(int)">makeInputRef</a></span>​(int index)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a reference to a given input field.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexProgramBuilder.</span><code><span class="memberNameLink"><a href="../RexProgramBuilder.html#registerInput(org.apache.calcite.rex.RexNode)">registerInput</a></span>​(<a href="../RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> expr)</code></th> |
| <td class="colLast"> |
| <div class="block">Registers an expression in the list of common sub-expressions, and |
| returns a reference to that expression.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexProgramBuilder.</span><code><span class="memberNameLink"><a href="../RexProgramBuilder.html#registerInternal(org.apache.calcite.rex.RexNode,boolean)">registerInternal</a></span>​(<a href="../RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> expr, |
| boolean force)</code></th> |
| <td class="colLast"> |
| <div class="block">Registers an expression in the list of common sub-expressions, and |
| returns a reference to that expression.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexProgramBuilder.</span><code><span class="memberNameLink"><a href="../RexProgramBuilder.html#registerOutput(org.apache.calcite.rex.RexNode)">registerOutput</a></span>​(<a href="../RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> expr)</code></th> |
| <td class="colLast"> |
| <div class="block">Converts an expression expressed in terms of the <em>outputs</em> of this |
| program into an expression expressed in terms of the <em>inputs</em>, |
| registers it in the list of common sub-expressions, and returns a |
| reference to that expression.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../package-summary.html">org.apache.calcite.rex</a> that return types with arguments of type <a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>java.util.List<<a href="../../util/Pair.html" title="class in org.apache.calcite.util">Pair</a><<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a>,​java.lang.String>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexProgram.</span><code><span class="memberNameLink"><a href="../RexProgram.html#getNamedProjects()">getNamedProjects</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a list of project expressions and their field names.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>java.util.List<<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexProgram.</span><code><span class="memberNameLink"><a href="../RexProgram.html#getProjectList()">getProjectList</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns an array of references to the expressions which this program is |
| to project.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>java.util.List<<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexProgramBuilder.</span><code><span class="memberNameLink"><a href="../RexProgramBuilder.html#getProjectList()">getProjectList</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the list of project expressions.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private java.util.List<<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexProgramBuilder.</span><code><span class="memberNameLink"><a href="../RexProgramBuilder.html#registerProjectsAndCondition(org.apache.calcite.rex.RexProgram)">registerProjectsAndCondition</a></span>​(<a href="../RexProgram.html" title="class in org.apache.calcite.rex">RexProgram</a> program)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../package-summary.html">org.apache.calcite.rex</a> with parameters of type <a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexProgramBuilder.</span><code><span class="memberNameLink"><a href="../RexProgramBuilder.html#add(java.util.List,java.util.List,org.apache.calcite.rex.RexLocalRef,org.apache.calcite.rel.type.RelDataType,org.apache.calcite.rex.RexShuttle,boolean)">add</a></span>​(java.util.List<<a href="../RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> exprList, |
| java.util.List<<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a>> projectRefList, |
| <a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a> conditionRef, |
| <a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a> outputRowType, |
| <a href="../RexShuttle.html" title="class in org.apache.calcite.rex">RexShuttle</a> shuttle, |
| boolean updateRefs)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds a set of expressions, projections and filters, applying a shuttle |
| first.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../RexProgramBuilder.html" title="class in org.apache.calcite.rex">RexProgramBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexProgramBuilder.</span><code><span class="memberNameLink"><a href="../RexProgramBuilder.html#create(org.apache.calcite.rex.RexBuilder,org.apache.calcite.rel.type.RelDataType,java.util.List,java.util.List,org.apache.calcite.rex.RexLocalRef,org.apache.calcite.rel.type.RelDataType,org.apache.calcite.rex.RexShuttle,boolean)">create</a></span>​(<a href="../RexBuilder.html" title="class in org.apache.calcite.rex">RexBuilder</a> rexBuilder, |
| <a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a> inputRowType, |
| java.util.List<<a href="../RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> exprList, |
| java.util.List<<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a>> projectRefList, |
| <a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a> conditionRef, |
| <a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a> outputRowType, |
| <a href="../RexShuttle.html" title="class in org.apache.calcite.rex">RexShuttle</a> shuttle, |
| boolean updateRefs)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a program builder with the same contents as a program, applying a |
| shuttle first.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexProgram.</span><code><span class="memberNameLink"><a href="../RexProgram.html#expandLocalRef(org.apache.calcite.rex.RexLocalRef)">expandLocalRef</a></span>​(<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a> ref)</code></th> |
| <td class="colLast"> |
| <div class="block">Fully expands a RexLocalRef back into a pure RexNode tree containing no |
| RexLocalRefs (reversing the effect of common subexpression elimination).</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../plan/RelOptUtil.Logic.html" title="enum in org.apache.calcite.plan">RelOptUtil.Logic</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LogicVisitor.</span><code><span class="memberNameLink"><a href="../LogicVisitor.html#visitLocalRef(org.apache.calcite.rex.RexLocalRef,org.apache.calcite.plan.RelOptUtil.Logic)">visitLocalRef</a></span>​(<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a> localRef, |
| <a href="../../plan/RelOptUtil.Logic.html" title="enum in org.apache.calcite.plan">RelOptUtil.Logic</a> arg)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RexBiVisitor.html" title="type parameter in RexBiVisitor">R</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexBiVisitor.</span><code><span class="memberNameLink"><a href="../RexBiVisitor.html#visitLocalRef(org.apache.calcite.rex.RexLocalRef,P)">visitLocalRef</a></span>​(<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a> localRef, |
| <a href="../RexBiVisitor.html" title="type parameter in RexBiVisitor">P</a> arg)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>java.lang.Boolean</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexChecker.</span><code><span class="memberNameLink"><a href="../RexChecker.html#visitLocalRef(org.apache.calcite.rex.RexLocalRef)">visitLocalRef</a></span>​(<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a> ref)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexCopier.</span><code><span class="memberNameLink"><a href="../RexCopier.html#visitLocalRef(org.apache.calcite.rex.RexLocalRef)">visitLocalRef</a></span>​(<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a> localRef)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>java.lang.Comparable</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexInterpreter.</span><code><span class="memberNameLink"><a href="../RexInterpreter.html#visitLocalRef(org.apache.calcite.rex.RexLocalRef)">visitLocalRef</a></span>​(<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a> localRef)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexPermutationShuttle.</span><code><span class="memberNameLink"><a href="../RexPermutationShuttle.html#visitLocalRef(org.apache.calcite.rex.RexLocalRef)">visitLocalRef</a></span>​(<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a> local)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>java.lang.Boolean</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexProgram.Checker.</span><code><span class="memberNameLink"><a href="../RexProgram.Checker.html#visitLocalRef(org.apache.calcite.rex.RexLocalRef)">visitLocalRef</a></span>​(<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a> localRef)</code></th> |
| <td class="colLast"> |
| <div class="block">Overrides <a href="../RexChecker.html" title="class in org.apache.calcite.rex"><code>RexChecker</code></a> method, because <a href="../RexLocalRef.html" title="class in org.apache.calcite.rex"><code>RexLocalRef</code></a> is |
| is illegal in most rex expressions, but legal in a program.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>java.lang.Boolean</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexProgram.ConstantFinder.</span><code><span class="memberNameLink"><a href="../RexProgram.ConstantFinder.html#visitLocalRef(org.apache.calcite.rex.RexLocalRef)">visitLocalRef</a></span>​(<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a> localRef)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexProgram.ExpansionShuttle.</span><code><span class="memberNameLink"><a href="../RexProgram.ExpansionShuttle.html#visitLocalRef(org.apache.calcite.rex.RexLocalRef)">visitLocalRef</a></span>​(<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a> localRef)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexProgram.Marshaller.</span><code><span class="memberNameLink"><a href="../RexProgram.Marshaller.html#visitLocalRef(org.apache.calcite.rex.RexLocalRef)">visitLocalRef</a></span>​(<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a> localRef)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>java.lang.Void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexProgram.ReferenceCounter.</span><code><span class="memberNameLink"><a href="../RexProgram.ReferenceCounter.html#visitLocalRef(org.apache.calcite.rex.RexLocalRef)">visitLocalRef</a></span>​(<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a> localRef)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexProgramBuilder.RegisterInputShuttle.</span><code><span class="memberNameLink"><a href="../RexProgramBuilder.RegisterInputShuttle.html#visitLocalRef(org.apache.calcite.rex.RexLocalRef)">visitLocalRef</a></span>​(<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a> local)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexProgramBuilder.RegisterMidputShuttle.</span><code><span class="memberNameLink"><a href="../RexProgramBuilder.RegisterMidputShuttle.html#visitLocalRef(org.apache.calcite.rex.RexLocalRef)">visitLocalRef</a></span>​(<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a> local)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexProgramBuilder.RegisterOutputShuttle.</span><code><span class="memberNameLink"><a href="../RexProgramBuilder.RegisterOutputShuttle.html#visitLocalRef(org.apache.calcite.rex.RexLocalRef)">visitLocalRef</a></span>​(<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a> local)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexProgramBuilder.UpdateRefShuttle.</span><code><span class="memberNameLink"><a href="../RexProgramBuilder.UpdateRefShuttle.html#visitLocalRef(org.apache.calcite.rex.RexLocalRef)">visitLocalRef</a></span>​(<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a> localRef)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexShuttle.</span><code><span class="memberNameLink"><a href="../RexShuttle.html#visitLocalRef(org.apache.calcite.rex.RexLocalRef)">visitLocalRef</a></span>​(<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a> localRef)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>java.lang.Boolean</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexSimplify.SafeRexVisitor.</span><code><span class="memberNameLink"><a href="../RexSimplify.SafeRexVisitor.html#visitLocalRef(org.apache.calcite.rex.RexLocalRef)">visitLocalRef</a></span>​(<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a> localRef)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>java.lang.Boolean</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexUtil.ConstantFinder.</span><code><span class="memberNameLink"><a href="../RexUtil.ConstantFinder.html#visitLocalRef(org.apache.calcite.rex.RexLocalRef)">visitLocalRef</a></span>​(<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a> localRef)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>java.lang.Void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexUtil.ForwardRefFinder.</span><code><span class="memberNameLink"><a href="../RexUtil.ForwardRefFinder.html#visitLocalRef(org.apache.calcite.rex.RexLocalRef)">visitLocalRef</a></span>​(<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a> inputRef)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../RexVisitor.html" title="type parameter in RexVisitor">R</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexVisitor.</span><code><span class="memberNameLink"><a href="../RexVisitor.html#visitLocalRef(org.apache.calcite.rex.RexLocalRef)">visitLocalRef</a></span>​(<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a> localRef)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../RexVisitorImpl.html" title="type parameter in RexVisitorImpl">R</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexVisitorImpl.</span><code><span class="memberNameLink"><a href="../RexVisitorImpl.html#visitLocalRef(org.apache.calcite.rex.RexLocalRef)">visitLocalRef</a></span>​(<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a> localRef)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Method parameters in <a href="../package-summary.html">org.apache.calcite.rex</a> with type arguments of type <a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private static int</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RexProgram.</span><code><span class="memberNameLink"><a href="../RexProgram.html#countTrivial(java.util.List)">countTrivial</a></span>​(java.util.List<<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a>> refs)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the number of expressions at the front of an array which are |
| simply projections of the same field.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Constructors in <a href="../package-summary.html">org.apache.calcite.rex</a> with parameters of type <a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../RexProgram.html#%3Cinit%3E(org.apache.calcite.rel.type.RelDataType,java.util.List,java.util.List,org.apache.calcite.rex.RexLocalRef,org.apache.calcite.rel.type.RelDataType)">RexProgram</a></span>​(<a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a> inputRowType, |
| java.util.List<? extends <a href="../RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> exprs, |
| java.util.List<<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a>> projects, |
| <a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a> condition, |
| <a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a> outputRowType)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a program.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Constructor parameters in <a href="../package-summary.html">org.apache.calcite.rex</a> with type arguments of type <a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../RexProgramBuilder.UpdateRefShuttle.html#%3Cinit%3E(java.util.List)">UpdateRefShuttle</a></span>​(java.util.List<<a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a>> newRefs)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </main> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a id="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../index.html">Overview</a></li> |
| <li><a href="../package-summary.html">Package</a></li> |
| <li><a href="../RexLocalRef.html" title="class in org.apache.calcite.rex">Class</a></li> |
| <li class="navBarCell1Rev">Use</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> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses.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> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 2012–2019 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |