| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>RexShuttle (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="RexShuttle (Apache Calcite API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| 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 class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/RexShuttle.html">Use</a></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> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </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 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> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <main role="main"> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.apache.calcite.rex</a></div> |
| <h2 title="Class RexShuttle" class="title">Class RexShuttle</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.calcite.rex.RexShuttle</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code><a href="RexVisitor.html" title="interface in org.apache.calcite.rex">RexVisitor</a><<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>></code></dd> |
| </dl> |
| <dl> |
| <dt>Direct Known Subclasses:</dt> |
| <dd><code><a href="../rel/rules/CalcRelSplitter.InputToCommonExprConverter.html" title="class in org.apache.calcite.rel.rules">CalcRelSplitter.InputToCommonExprConverter</a></code>, <code><a href="../sql2rel/CorrelationReferenceFinder.MyRexVisitor.html" title="class in org.apache.calcite.sql2rel">CorrelationReferenceFinder.MyRexVisitor</a></code>, <code><a href="../rel/rules/DateRangeRules.ExtractShuttle.html" title="class in org.apache.calcite.rel.rules">DateRangeRules.ExtractShuttle</a></code>, <code><a href="../sql2rel/DeduplicateCorrelateVariables.DeduplicateCorrelateVariablesShuttle.html" title="class in org.apache.calcite.sql2rel">DeduplicateCorrelateVariables.DeduplicateCorrelateVariablesShuttle</a></code>, <code><a href="../rel/rules/FilterRemoveIsNotDistinctFromRule.RemoveIsNotDistinctFromRexShuttle.html" title="class in org.apache.calcite.rel.rules">FilterRemoveIsNotDistinctFromRule.RemoveIsNotDistinctFromRexShuttle</a></code>, <code><a href="../piglet/PigToSqlAggregateRule.RexCallReplacer.html" title="class in org.apache.calcite.piglet">PigToSqlAggregateRule.RexCallReplacer</a></code>, <code><a href="../adapter/elasticsearch/PredicateAnalyzer.NotLikeConverter.html" title="class in org.apache.calcite.adapter.elasticsearch">PredicateAnalyzer.NotLikeConverter</a></code>, <code><a href="../rel/rules/ProjectCorrelateTransposeRule.RexFieldAccessReplacer.html" title="class in org.apache.calcite.rel.rules">ProjectCorrelateTransposeRule.RexFieldAccessReplacer</a></code>, <code><a href="../rel/rules/ReduceDecimalsRule.DecimalShuttle.html" title="class in org.apache.calcite.rel.rules">ReduceDecimalsRule.DecimalShuttle</a></code>, <code><a href="../rel/rules/ReduceExpressionsRule.CaseShuttle.html" title="class in org.apache.calcite.rel.rules">ReduceExpressionsRule.CaseShuttle</a></code>, <code><a href="../rel/rules/ReduceExpressionsRule.RexReplacer.html" title="class in org.apache.calcite.rel.rules">ReduceExpressionsRule.RexReplacer</a></code>, <code><a href="../tools/RelBuilder.Shifter.html" title="class in org.apache.calcite.tools">RelBuilder.Shifter</a></code>, <code><a href="../sql2rel/RelDecorrelator.DecorrelateRexShuttle.html" title="class in org.apache.calcite.sql2rel">RelDecorrelator.DecorrelateRexShuttle</a></code>, <code><a href="../sql2rel/RelDecorrelator.RemoveCorrelationRexShuttle.html" title="class in org.apache.calcite.sql2rel">RelDecorrelator.RemoveCorrelationRexShuttle</a></code>, <code><a href="../rel/metadata/RelMdExpressionLineage.RexReplacer.html" title="class in org.apache.calcite.rel.metadata">RelMdExpressionLineage.RexReplacer</a></code>, <code><a href="../plan/RelOptUtil.InputReferencedVisitor.html" title="class in org.apache.calcite.plan">RelOptUtil.InputReferencedVisitor</a></code>, <code><a href="../plan/RelOptUtil.RexInputConverter.html" title="class in org.apache.calcite.plan">RelOptUtil.RexInputConverter</a></code>, <code><a href="../plan/RelOptUtil.VariableUsedVisitor.html" title="class in org.apache.calcite.plan">RelOptUtil.VariableUsedVisitor</a></code>, <code><a href="../sql2rel/RelStructuredTypeFlattener.RewriteRexShuttle.html" title="class in org.apache.calcite.sql2rel">RelStructuredTypeFlattener.RewriteRexShuttle</a></code>, <code><a href="RexCopier.html" title="class in org.apache.calcite.rex">RexCopier</a></code>, <code><a href="RexPermutationShuttle.html" title="class in org.apache.calcite.rex">RexPermutationShuttle</a></code>, <code><a href="RexPermuteInputsShuttle.html" title="class in org.apache.calcite.rex">RexPermuteInputsShuttle</a></code>, <code><a href="RexProgram.ExpansionShuttle.html" title="class in org.apache.calcite.rex">RexProgram.ExpansionShuttle</a></code>, <code><a href="RexProgramBuilder.RegisterShuttle.html" title="class in org.apache.calcite.rex">RexProgramBuilder.RegisterShuttle</a></code>, <code><a href="RexProgramBuilder.UpdateRefShuttle.html" title="class in org.apache.calcite.rex">RexProgramBuilder.UpdateRefShuttle</a></code>, <code><a href="RexUtil.ExprSimplifier.html" title="class in org.apache.calcite.rex">RexUtil.ExprSimplifier</a></code>, <code><a href="RexUtil.FixNullabilityShuttle.html" title="class in org.apache.calcite.rex">RexUtil.FixNullabilityShuttle</a></code>, <code><a href="RexUtil.RexShiftShuttle.html" title="class in org.apache.calcite.rex">RexUtil.RexShiftShuttle</a></code>, <code><a href="../sql2rel/SqlToRelConverter.HistogramShuttle.html" title="class in org.apache.calcite.sql2rel">SqlToRelConverter.HistogramShuttle</a></code>, <code><a href="../sql2rel/SqlToRelConverter.RexAccessShuttle.html" title="class in org.apache.calcite.sql2rel">SqlToRelConverter.RexAccessShuttle</a></code>, <code><a href="../rel/rules/SubQueryRemoveRule.ReplaceSubQueryShuttle.html" title="class in org.apache.calcite.rel.rules">SubQueryRemoveRule.ReplaceSubQueryShuttle</a></code>, <code><a href="../rel/rules/ValuesReduceRule.MyRexShuttle.html" title="class in org.apache.calcite.rel.rules">ValuesReduceRule.MyRexShuttle</a></code></dd> |
| </dl> |
| <hr> |
| <pre>public class <span class="typeNameLabel">RexShuttle</span> |
| extends java.lang.Object |
| implements <a href="RexVisitor.html" title="interface in org.apache.calcite.rex">RexVisitor</a><<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>></pre> |
| <div class="block">Passes over a row-expression, calling a handler method for each node, |
| appropriate to the type of the node. |
| |
| <p>Like <a href="RexVisitor.html" title="interface in org.apache.calcite.rex"><code>RexVisitor</code></a>, this is an instance of the |
| <a href="../util/Glossary.html#VISITOR_PATTERN"><code>Visitor Pattern</code></a>. Use |
| <code> RexShuttle</code> if you would like your methods to return a |
| value.</p></div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">RexShuttle</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</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="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>java.lang.Iterable<<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#apply(java.lang.Iterable)">apply</a></span>​(java.lang.Iterable<? extends <a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> iterable)</code></th> |
| <td class="colLast"> |
| <div class="block">Applies this shuttle to each expression in an iterable.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code><T extends <a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>><br>java.util.List<T></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#apply(java.util.List)">apply</a></span>​(java.util.List<T> exprList)</code></th> |
| <td class="colLast"> |
| <div class="block">Applies this shuttle to each expression in a list and returns the |
| resulting list.</div> |
| </td> |
| </tr> |
| <tr id="i2" 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"><code><span class="memberNameLink"><a href="#apply(org.apache.calcite.rex.RexNode)">apply</a></span>​(<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> expr)</code></th> |
| <td class="colLast"> |
| <div class="block">Applies this shuttle to an expression, or returns null if the expression |
| is null.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><T extends <a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>><br>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#mutate(java.util.List)">mutate</a></span>​(java.util.List<T> exprList)</code></th> |
| <td class="colLast"> |
| <div class="block">Applies this shuttle to each expression in a list.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>protected <a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>[]</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#visitArray(org.apache.calcite.rex.RexNode%5B%5D,boolean%5B%5D)">visitArray</a></span>​(<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>[] exprs, |
| boolean[] update)</code></th> |
| <td class="colLast"> |
| <div class="block">Visits each of an array of expressions and returns an array of the |
| results.</div> |
| </td> |
| </tr> |
| <tr id="i5" 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"><code><span class="memberNameLink"><a href="#visitCall(org.apache.calcite.rex.RexCall)">visitCall</a></span>​(<a href="RexCall.html" title="class in org.apache.calcite.rex">RexCall</a> call)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i6" 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"><code><span class="memberNameLink"><a href="#visitCorrelVariable(org.apache.calcite.rex.RexCorrelVariable)">visitCorrelVariable</a></span>​(<a href="RexCorrelVariable.html" title="class in org.apache.calcite.rex">RexCorrelVariable</a> variable)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i7" 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"><code><span class="memberNameLink"><a href="#visitDynamicParam(org.apache.calcite.rex.RexDynamicParam)">visitDynamicParam</a></span>​(<a href="RexDynamicParam.html" title="class in org.apache.calcite.rex">RexDynamicParam</a> dynamicParam)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i8" 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"><code><span class="memberNameLink"><a href="#visitFieldAccess(org.apache.calcite.rex.RexFieldAccess)">visitFieldAccess</a></span>​(<a href="RexFieldAccess.html" title="class in org.apache.calcite.rex">RexFieldAccess</a> fieldAccess)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>protected java.util.List<<a href="RexFieldCollation.html" title="class in org.apache.calcite.rex">RexFieldCollation</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#visitFieldCollations(java.util.List,boolean%5B%5D)">visitFieldCollations</a></span>​(java.util.List<<a href="RexFieldCollation.html" title="class in org.apache.calcite.rex">RexFieldCollation</a>> collations, |
| boolean[] update)</code></th> |
| <td class="colLast"> |
| <div class="block">Visits each of a list of field collations and returns a list of the |
| results.</div> |
| </td> |
| </tr> |
| <tr id="i10" 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"><code><span class="memberNameLink"><a href="#visitInputRef(org.apache.calcite.rex.RexInputRef)">visitInputRef</a></span>​(<a href="RexInputRef.html" title="class in org.apache.calcite.rex">RexInputRef</a> inputRef)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>protected java.util.List<<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#visitList(java.util.List,boolean%5B%5D)">visitList</a></span>​(java.util.List<? extends <a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> exprs, |
| boolean[] update)</code></th> |
| <td class="colLast"> |
| <div class="block">Visits each of a list of expressions and returns a list of the |
| results.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#visitList(java.util.List,java.util.List)">visitList</a></span>​(java.util.List<? extends <a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> exprs, |
| java.util.List<<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> outExprs)</code></th> |
| <td class="colLast"> |
| <div class="block">Visits a list and writes the results to another list.</div> |
| </td> |
| </tr> |
| <tr id="i13" 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"><code><span class="memberNameLink"><a href="#visitLiteral(org.apache.calcite.rex.RexLiteral)">visitLiteral</a></span>​(<a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a> literal)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i14" 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"><code><span class="memberNameLink"><a href="#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 id="i15" 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"><code><span class="memberNameLink"><a href="#visitOver(org.apache.calcite.rex.RexOver)">visitOver</a></span>​(<a href="RexOver.html" title="class in org.apache.calcite.rex">RexOver</a> over)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i16" 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"><code><span class="memberNameLink"><a href="#visitPatternFieldRef(org.apache.calcite.rex.RexPatternFieldRef)">visitPatternFieldRef</a></span>​(<a href="RexPatternFieldRef.html" title="class in org.apache.calcite.rex">RexPatternFieldRef</a> fieldRef)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i17" 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"><code><span class="memberNameLink"><a href="#visitRangeRef(org.apache.calcite.rex.RexRangeRef)">visitRangeRef</a></span>​(<a href="RexRangeRef.html" title="class in org.apache.calcite.rex">RexRangeRef</a> rangeRef)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i18" 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"><code><span class="memberNameLink"><a href="#visitSubQuery(org.apache.calcite.rex.RexSubQuery)">visitSubQuery</a></span>​(<a href="RexSubQuery.html" title="class in org.apache.calcite.rex">RexSubQuery</a> subQuery)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i19" 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"><code><span class="memberNameLink"><a href="#visitTableInputRef(org.apache.calcite.rex.RexTableInputRef)">visitTableInputRef</a></span>​(<a href="RexTableInputRef.html" title="class in org.apache.calcite.rex">RexTableInputRef</a> ref)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code><a href="RexWindow.html" title="class in org.apache.calcite.rex">RexWindow</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#visitWindow(org.apache.calcite.rex.RexWindow)">visitWindow</a></span>​(<a href="RexWindow.html" title="class in org.apache.calcite.rex">RexWindow</a> window)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.Object</h3> |
| <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a id="<init>()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>RexShuttle</h4> |
| <pre>public RexShuttle()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ============ METHOD DETAIL ========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a id="visitOver(org.apache.calcite.rex.RexOver)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>visitOver</h4> |
| <pre class="methodSignature">public <a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> visitOver​(<a href="RexOver.html" title="class in org.apache.calcite.rex">RexOver</a> over)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="RexVisitor.html#visitOver(org.apache.calcite.rex.RexOver)">visitOver</a></code> in interface <code><a href="RexVisitor.html" title="interface in org.apache.calcite.rex">RexVisitor</a><<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="visitWindow(org.apache.calcite.rex.RexWindow)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>visitWindow</h4> |
| <pre class="methodSignature">public <a href="RexWindow.html" title="class in org.apache.calcite.rex">RexWindow</a> visitWindow​(<a href="RexWindow.html" title="class in org.apache.calcite.rex">RexWindow</a> window)</pre> |
| </li> |
| </ul> |
| <a id="visitSubQuery(org.apache.calcite.rex.RexSubQuery)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>visitSubQuery</h4> |
| <pre class="methodSignature">public <a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> visitSubQuery​(<a href="RexSubQuery.html" title="class in org.apache.calcite.rex">RexSubQuery</a> subQuery)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="RexVisitor.html#visitSubQuery(org.apache.calcite.rex.RexSubQuery)">visitSubQuery</a></code> in interface <code><a href="RexVisitor.html" title="interface in org.apache.calcite.rex">RexVisitor</a><<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="visitTableInputRef(org.apache.calcite.rex.RexTableInputRef)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>visitTableInputRef</h4> |
| <pre class="methodSignature">public <a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> visitTableInputRef​(<a href="RexTableInputRef.html" title="class in org.apache.calcite.rex">RexTableInputRef</a> ref)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="RexVisitor.html#visitTableInputRef(org.apache.calcite.rex.RexTableInputRef)">visitTableInputRef</a></code> in interface <code><a href="RexVisitor.html" title="interface in org.apache.calcite.rex">RexVisitor</a><<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="visitPatternFieldRef(org.apache.calcite.rex.RexPatternFieldRef)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>visitPatternFieldRef</h4> |
| <pre class="methodSignature">public <a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> visitPatternFieldRef​(<a href="RexPatternFieldRef.html" title="class in org.apache.calcite.rex">RexPatternFieldRef</a> fieldRef)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="RexVisitor.html#visitPatternFieldRef(org.apache.calcite.rex.RexPatternFieldRef)">visitPatternFieldRef</a></code> in interface <code><a href="RexVisitor.html" title="interface in org.apache.calcite.rex">RexVisitor</a><<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="visitCall(org.apache.calcite.rex.RexCall)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>visitCall</h4> |
| <pre class="methodSignature">public <a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> visitCall​(<a href="RexCall.html" title="class in org.apache.calcite.rex">RexCall</a> call)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="RexVisitor.html#visitCall(org.apache.calcite.rex.RexCall)">visitCall</a></code> in interface <code><a href="RexVisitor.html" title="interface in org.apache.calcite.rex">RexVisitor</a><<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="visitArray(org.apache.calcite.rex.RexNode[],boolean[])"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>visitArray</h4> |
| <pre class="methodSignature">protected <a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>[] visitArray​(<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>[] exprs, |
| boolean[] update)</pre> |
| <div class="block">Visits each of an array of expressions and returns an array of the |
| results.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>exprs</code> - Array of expressions</dd> |
| <dd><code>update</code> - If not null, sets this to true if any of the expressions |
| was modified</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Array of visited expressions</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="visitList(java.util.List,boolean[])"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>visitList</h4> |
| <pre class="methodSignature">protected java.util.List<<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> visitList​(java.util.List<? extends <a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> exprs, |
| boolean[] update)</pre> |
| <div class="block">Visits each of a list of expressions and returns a list of the |
| results.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>exprs</code> - List of expressions</dd> |
| <dd><code>update</code> - If not null, sets this to true if any of the expressions |
| was modified</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Array of visited expressions</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="visitList(java.util.List,java.util.List)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>visitList</h4> |
| <pre class="methodSignature">public void visitList​(java.util.List<? extends <a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> exprs, |
| java.util.List<<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> outExprs)</pre> |
| <div class="block">Visits a list and writes the results to another list.</div> |
| </li> |
| </ul> |
| <a id="visitFieldCollations(java.util.List,boolean[])"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>visitFieldCollations</h4> |
| <pre class="methodSignature">protected java.util.List<<a href="RexFieldCollation.html" title="class in org.apache.calcite.rex">RexFieldCollation</a>> visitFieldCollations​(java.util.List<<a href="RexFieldCollation.html" title="class in org.apache.calcite.rex">RexFieldCollation</a>> collations, |
| boolean[] update)</pre> |
| <div class="block">Visits each of a list of field collations and returns a list of the |
| results.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>collations</code> - List of field collations</dd> |
| <dd><code>update</code> - If not null, sets this to true if any of the expressions |
| was modified</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Array of visited field collations</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="visitCorrelVariable(org.apache.calcite.rex.RexCorrelVariable)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>visitCorrelVariable</h4> |
| <pre class="methodSignature">public <a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> visitCorrelVariable​(<a href="RexCorrelVariable.html" title="class in org.apache.calcite.rex">RexCorrelVariable</a> variable)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="RexVisitor.html#visitCorrelVariable(org.apache.calcite.rex.RexCorrelVariable)">visitCorrelVariable</a></code> in interface <code><a href="RexVisitor.html" title="interface in org.apache.calcite.rex">RexVisitor</a><<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="visitFieldAccess(org.apache.calcite.rex.RexFieldAccess)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>visitFieldAccess</h4> |
| <pre class="methodSignature">public <a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> visitFieldAccess​(<a href="RexFieldAccess.html" title="class in org.apache.calcite.rex">RexFieldAccess</a> fieldAccess)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="RexVisitor.html#visitFieldAccess(org.apache.calcite.rex.RexFieldAccess)">visitFieldAccess</a></code> in interface <code><a href="RexVisitor.html" title="interface in org.apache.calcite.rex">RexVisitor</a><<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="visitInputRef(org.apache.calcite.rex.RexInputRef)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>visitInputRef</h4> |
| <pre class="methodSignature">public <a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> visitInputRef​(<a href="RexInputRef.html" title="class in org.apache.calcite.rex">RexInputRef</a> inputRef)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="RexVisitor.html#visitInputRef(org.apache.calcite.rex.RexInputRef)">visitInputRef</a></code> in interface <code><a href="RexVisitor.html" title="interface in org.apache.calcite.rex">RexVisitor</a><<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="visitLocalRef(org.apache.calcite.rex.RexLocalRef)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>visitLocalRef</h4> |
| <pre class="methodSignature">public <a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> visitLocalRef​(<a href="RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a> localRef)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="RexVisitor.html#visitLocalRef(org.apache.calcite.rex.RexLocalRef)">visitLocalRef</a></code> in interface <code><a href="RexVisitor.html" title="interface in org.apache.calcite.rex">RexVisitor</a><<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="visitLiteral(org.apache.calcite.rex.RexLiteral)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>visitLiteral</h4> |
| <pre class="methodSignature">public <a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> visitLiteral​(<a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a> literal)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="RexVisitor.html#visitLiteral(org.apache.calcite.rex.RexLiteral)">visitLiteral</a></code> in interface <code><a href="RexVisitor.html" title="interface in org.apache.calcite.rex">RexVisitor</a><<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="visitDynamicParam(org.apache.calcite.rex.RexDynamicParam)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>visitDynamicParam</h4> |
| <pre class="methodSignature">public <a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> visitDynamicParam​(<a href="RexDynamicParam.html" title="class in org.apache.calcite.rex">RexDynamicParam</a> dynamicParam)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="RexVisitor.html#visitDynamicParam(org.apache.calcite.rex.RexDynamicParam)">visitDynamicParam</a></code> in interface <code><a href="RexVisitor.html" title="interface in org.apache.calcite.rex">RexVisitor</a><<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="visitRangeRef(org.apache.calcite.rex.RexRangeRef)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>visitRangeRef</h4> |
| <pre class="methodSignature">public <a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> visitRangeRef​(<a href="RexRangeRef.html" title="class in org.apache.calcite.rex">RexRangeRef</a> rangeRef)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="RexVisitor.html#visitRangeRef(org.apache.calcite.rex.RexRangeRef)">visitRangeRef</a></code> in interface <code><a href="RexVisitor.html" title="interface in org.apache.calcite.rex">RexVisitor</a><<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="mutate(java.util.List)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>mutate</h4> |
| <pre class="methodSignature">public final <T extends <a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> boolean mutate​(java.util.List<T> exprList)</pre> |
| <div class="block">Applies this shuttle to each expression in a list.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>whether any of the expressions changed</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="apply(java.util.List)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>apply</h4> |
| <pre class="methodSignature">public final <T extends <a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> java.util.List<T> apply​(java.util.List<T> exprList)</pre> |
| <div class="block">Applies this shuttle to each expression in a list and returns the |
| resulting list. Does not modify the initial list.</div> |
| </li> |
| </ul> |
| <a id="apply(java.lang.Iterable)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>apply</h4> |
| <pre class="methodSignature">public final java.lang.Iterable<<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> apply​(java.lang.Iterable<? extends <a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> iterable)</pre> |
| <div class="block">Applies this shuttle to each expression in an iterable.</div> |
| </li> |
| </ul> |
| <a id="apply(org.apache.calcite.rex.RexNode)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>apply</h4> |
| <pre class="methodSignature">public final <a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> apply​(<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> expr)</pre> |
| <div class="block">Applies this shuttle to an expression, or returns null if the expression |
| is null.</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| </div> |
| </main> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <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 class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/RexShuttle.html">Use</a></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> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </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 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> |