| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="zh"> |
| <head> |
| <!-- Generated by javadoc --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>RelOptRuleCall (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="RelOptRuleCall (Apache Calcite calcite API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":42,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":6,"i15":10}; |
| var tabs = {65535:["t0","所有方法"],2:["t2","实例方法"],4:["t3","抽象方法"],8:["t4","具体方法"],32:["t6","已过时的方法"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>您的浏览器已禁用 JavaScript。</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="导航"> |
| <li><a href="../../../../overview-summary.html">概览</a></li> |
| <li><a href="package-summary.html">程序包</a></li> |
| <li class="navBarCell1Rev">类</li> |
| <li><a href="package-tree.html">树</a></li> |
| <li><a href="../../../../deprecated-list.html">已过时</a></li> |
| <li><a href="../../../../index-all.html">索引</a></li> |
| <li><a href="../../../../help-doc.html">帮助</a></li> |
| </ul> |
| <div class="aboutLanguage"><b>Apache Calcite</b></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/calcite/plan/RelOptRule.html" title="org.apache.calcite.plan中的类"><span class="typeNameLink">上一个类</span></a></li> |
| <li><a href="../../../../org/apache/calcite/plan/RelOptRuleOperand.html" title="org.apache.calcite.plan中的类"><span class="typeNameLink">下一个类</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/calcite/plan/RelOptRuleCall.html" target="_top">框架</a></li> |
| <li><a href="RelOptRuleCall.html" target="_top">无框架</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses-noframe.html">所有类</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>概要: </li> |
| <li>嵌套 | </li> |
| <li><a href="#field.summary">字段</a> | </li> |
| <li><a href="#constructor.summary">构造器</a> | </li> |
| <li><a href="#method.summary">方法</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>详细资料: </li> |
| <li><a href="#field.detail">字段</a> | </li> |
| <li><a href="#constructor.detail">构造器</a> | </li> |
| <li><a href="#method.detail">方法</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.calcite.plan</div> |
| <h2 title="类 RelOptRuleCall" class="title">类 RelOptRuleCall</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.calcite.plan.RelOptRuleCall</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>直接已知子类:</dt> |
| <dd><a href="../../../../org/apache/calcite/plan/hep/HepRuleCall.html" title="org.apache.calcite.plan.hep中的类">HepRuleCall</a>, <a href="../../../../org/apache/calcite/plan/volcano/VolcanoRuleCall.html" title="org.apache.calcite.plan.volcano中的类">VolcanoRuleCall</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public abstract class <span class="typeNameLabel">RelOptRuleCall</span> |
| extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a></pre> |
| <div class="block">A <code>RelOptRuleCall</code> is an invocation of a <a href="../../../../org/apache/calcite/plan/RelOptRule.html" title="org.apache.calcite.plan中的类"><code>RelOptRule</code></a> with a |
| set of <a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口"><code>relational expression</code></a>s as arguments.</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.summary"> |
| <!-- --> |
| </a> |
| <h3>字段概要</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="字段概要表, 列表字段和解释"> |
| <caption><span>字段</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">限定符和类型</th> |
| <th class="colLast" scope="col">字段和说明</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/plan/RelOptRuleCall.html#id">id</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected static org.slf4j.Logger</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/plan/RelOptRuleCall.html#LOGGER">LOGGER</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="java.util中的类或接口">Map</a><<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a><<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/plan/RelOptRuleCall.html#nodeInputs">nodeInputs</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../../../org/apache/calcite/plan/RelOptRuleOperand.html" title="org.apache.calcite.plan中的类">RelOptRuleOperand</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/plan/RelOptRuleCall.html#operand0">operand0</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/plan/RelOptRuleCall.html#rels">rels</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/calcite/plan/RelOptRule.html" title="org.apache.calcite.plan中的类">RelOptRule</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/plan/RelOptRuleCall.html#rule">rule</a></span></code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>构造器概要</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="构造器概要表, 列表构造器和解释"> |
| <caption><span>构造器</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">限定符</th> |
| <th class="colLast" scope="col">构造器和说明</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/plan/RelOptRuleCall.html#RelOptRuleCall-org.apache.calcite.plan.RelOptPlanner-org.apache.calcite.plan.RelOptRuleOperand-org.apache.calcite.rel.RelNode:A-java.util.Map-">RelOptRuleCall</a></span>(<a href="../../../../org/apache/calcite/plan/RelOptPlanner.html" title="org.apache.calcite.plan中的接口">RelOptPlanner</a> planner, |
| <a href="../../../../org/apache/calcite/plan/RelOptRuleOperand.html" title="org.apache.calcite.plan中的类">RelOptRuleOperand</a> operand, |
| <a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>[] rels, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="java.util中的类或接口">Map</a><<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a><<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>>> nodeInputs)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/plan/RelOptRuleCall.html#RelOptRuleCall-org.apache.calcite.plan.RelOptPlanner-org.apache.calcite.plan.RelOptRuleOperand-org.apache.calcite.rel.RelNode:A-java.util.Map-java.util.List-">RelOptRuleCall</a></span>(<a href="../../../../org/apache/calcite/plan/RelOptPlanner.html" title="org.apache.calcite.plan中的接口">RelOptPlanner</a> planner, |
| <a href="../../../../org/apache/calcite/plan/RelOptRuleOperand.html" title="org.apache.calcite.plan中的类">RelOptRuleOperand</a> operand, |
| <a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>[] rels, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="java.util中的类或接口">Map</a><<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a><<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>>> nodeInputs, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a><<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>> parents)</code> |
| <div class="block">Creates a RelOptRuleCall.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>方法概要</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="方法概要表, 列表方法和解释"> |
| <caption><span id="t0" class="activeTableTab"><span>所有方法</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">实例方法</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">抽象方法</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">具体方法</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">已过时的方法</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">限定符和类型</th> |
| <th class="colLast" scope="col">方法和说明</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="org.apache.calcite.tools中的类">RelBuilder</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/plan/RelOptRuleCall.html#builder--">builder</a></span>()</code> |
| <div class="block">Creates a <a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="org.apache.calcite.tools中的类"><code>RelBuilder</code></a> to be used by |
| code within the call.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a><<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/plan/RelOptRuleCall.html#getChildRels-org.apache.calcite.rel.RelNode-">getChildRels</a></span>(<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a> rel)</code> |
| <div class="block">Returns the children of a given relational expression node matched in a |
| rule.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/calcite/rel/metadata/RelMetadataQuery.html" title="org.apache.calcite.rel.metadata中的类">RelMetadataQuery</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/plan/RelOptRuleCall.html#getMetadataQuery--">getMetadataQuery</a></span>()</code> |
| <div class="block">Returns the current RelMetadataQuery |
| to be used for instance by |
| <a href="../../../../org/apache/calcite/plan/RelOptRule.html#onMatch-org.apache.calcite.plan.RelOptRuleCall-"><code>RelOptRule.onMatch(RelOptRuleCall)</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/calcite/plan/RelOptRuleOperand.html" title="org.apache.calcite.plan中的类">RelOptRuleOperand</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/plan/RelOptRuleCall.html#getOperand0--">getOperand0</a></span>()</code> |
| <div class="block">Returns the root operand matched by this rule.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a><<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/plan/RelOptRuleCall.html#getParents--">getParents</a></span>()</code> </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/calcite/plan/RelOptPlanner.html" title="org.apache.calcite.plan中的接口">RelOptPlanner</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/plan/RelOptRuleCall.html#getPlanner--">getPlanner</a></span>()</code> |
| <div class="block">Returns the planner.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a><<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/plan/RelOptRuleCall.html#getRelList--">getRelList</a></span>()</code> |
| <div class="block">Returns a list of matched relational expressions.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/plan/RelOptRuleCall.html#getRels--">getRels</a></span>()</code> |
| <div class="block"><span class="deprecatedLabel">已过时。</span> |
| <div class="block"><span class="deprecationComment">Use <a href="../../../../org/apache/calcite/plan/RelOptRuleCall.html#getRelList--"><code>getRelList()</code></a> or <a href="../../../../org/apache/calcite/plan/RelOptRuleCall.html#rel-int-"><code>rel(int)</code></a></span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/calcite/plan/RelOptRule.html" title="org.apache.calcite.plan中的类">RelOptRule</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/plan/RelOptRuleCall.html#getRule--">getRule</a></span>()</code> |
| <div class="block">Returns the invoked planner rule.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/plan/RelOptRuleCall.html#isRuleExcluded--">isRuleExcluded</a></span>()</code> |
| <div class="block">Determines whether the rule is excluded by any root node hint.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code><T extends <a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>><br>T</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/plan/RelOptRuleCall.html#rel-int-">rel</a></span>(int ordinal)</code> |
| <div class="block">Retrieves the <code>ordinal</code>th matched relational expression.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/plan/RelOptRuleCall.html#setChildRels-org.apache.calcite.rel.RelNode-java.util.List-">setChildRels</a></span>(<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a> rel, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a><<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>> inputs)</code> |
| <div class="block">Assigns the input relational expressions of a given relational expression, |
| as seen by this particular call.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/plan/RelOptRuleCall.html#transformTo-org.apache.calcite.rel.RelNode-">transformTo</a></span>(<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a> rel)</code> |
| <div class="block">Registers that a rule has produced an equivalent relational expression, |
| but no other equivalences.</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/plan/RelOptRuleCall.html#transformTo-org.apache.calcite.rel.RelNode-java.util.Map-">transformTo</a></span>(<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a> rel, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="java.util中的类或接口">Map</a><<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>,<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>> equiv)</code> |
| <div class="block">Registers that a rule has produced an equivalent relational expression, |
| with specified equivalences.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>abstract void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/plan/RelOptRuleCall.html#transformTo-org.apache.calcite.rel.RelNode-java.util.Map-org.apache.calcite.plan.RelHintsPropagator-">transformTo</a></span>(<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a> rel, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="java.util中的类或接口">Map</a><<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>,<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>> equiv, |
| <a href="../../../../org/apache/calcite/plan/RelHintsPropagator.html" title="org.apache.calcite.plan中的接口">RelHintsPropagator</a> handler)</code> |
| <div class="block">Registers that a rule has produced an equivalent relational expression.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/plan/RelOptRuleCall.html#transformTo-org.apache.calcite.rel.RelNode-org.apache.calcite.plan.RelHintsPropagator-">transformTo</a></span>(<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a> rel, |
| <a href="../../../../org/apache/calcite/plan/RelHintsPropagator.html" title="org.apache.calcite.plan中的接口">RelHintsPropagator</a> handler)</code> |
| <div class="block">Registers that a rule has produced an equivalent relational expression, |
| but no other equivalences.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>从类继承的方法 java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a></h3> |
| <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="java.lang中的类或接口">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="java.lang中的类或接口">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="java.lang中的类或接口">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="java.lang中的类或接口">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="java.lang中的类或接口">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="java.lang中的类或接口">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="java.lang中的类或接口">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="java.lang中的类或接口">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="java.lang中的类或接口">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="java.lang中的类或接口">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="java.lang中的类或接口">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.detail"> |
| <!-- --> |
| </a> |
| <h3>字段详细资料</h3> |
| <a name="LOGGER"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>LOGGER</h4> |
| <pre>protected static final org.slf4j.Logger LOGGER</pre> |
| </li> |
| </ul> |
| <a name="id"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>id</h4> |
| <pre>public final int id</pre> |
| </li> |
| </ul> |
| <a name="operand0"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>operand0</h4> |
| <pre>protected final <a href="../../../../org/apache/calcite/plan/RelOptRuleOperand.html" title="org.apache.calcite.plan中的类">RelOptRuleOperand</a> operand0</pre> |
| </li> |
| </ul> |
| <a name="nodeInputs"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>nodeInputs</h4> |
| <pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="java.util中的类或接口">Map</a><<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a><<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>>> nodeInputs</pre> |
| </li> |
| </ul> |
| <a name="rule"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>rule</h4> |
| <pre>public final <a href="../../../../org/apache/calcite/plan/RelOptRule.html" title="org.apache.calcite.plan中的类">RelOptRule</a> rule</pre> |
| </li> |
| </ul> |
| <a name="rels"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>rels</h4> |
| <pre>public final <a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>[] rels</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>构造器详细资料</h3> |
| <a name="RelOptRuleCall-org.apache.calcite.plan.RelOptPlanner-org.apache.calcite.plan.RelOptRuleOperand-org.apache.calcite.rel.RelNode:A-java.util.Map-java.util.List-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>RelOptRuleCall</h4> |
| <pre>protected RelOptRuleCall(<a href="../../../../org/apache/calcite/plan/RelOptPlanner.html" title="org.apache.calcite.plan中的接口">RelOptPlanner</a> planner, |
| <a href="../../../../org/apache/calcite/plan/RelOptRuleOperand.html" title="org.apache.calcite.plan中的类">RelOptRuleOperand</a> operand, |
| <a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>[] rels, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="java.util中的类或接口">Map</a><<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a><<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>>> nodeInputs, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a><<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>> parents)</pre> |
| <div class="block">Creates a RelOptRuleCall.</div> |
| <dl> |
| <dt><span class="paramLabel">参数:</span></dt> |
| <dd><code>planner</code> - Planner</dd> |
| <dd><code>operand</code> - Root operand</dd> |
| <dd><code>rels</code> - Array of relational expressions which matched each |
| operand</dd> |
| <dd><code>nodeInputs</code> - For each node which matched with |
| <code>matchAnyChildren</code>=true, a list of the node's |
| inputs</dd> |
| <dd><code>parents</code> - list of parent RelNodes corresponding to the first |
| relational expression in the array argument, if known; |
| otherwise, null</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="RelOptRuleCall-org.apache.calcite.plan.RelOptPlanner-org.apache.calcite.plan.RelOptRuleOperand-org.apache.calcite.rel.RelNode:A-java.util.Map-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>RelOptRuleCall</h4> |
| <pre>protected RelOptRuleCall(<a href="../../../../org/apache/calcite/plan/RelOptPlanner.html" title="org.apache.calcite.plan中的接口">RelOptPlanner</a> planner, |
| <a href="../../../../org/apache/calcite/plan/RelOptRuleOperand.html" title="org.apache.calcite.plan中的类">RelOptRuleOperand</a> operand, |
| <a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>[] rels, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="java.util中的类或接口">Map</a><<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a><<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>>> nodeInputs)</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>方法详细资料</h3> |
| <a name="getOperand0--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getOperand0</h4> |
| <pre>public <a href="../../../../org/apache/calcite/plan/RelOptRuleOperand.html" title="org.apache.calcite.plan中的类">RelOptRuleOperand</a> getOperand0()</pre> |
| <div class="block">Returns the root operand matched by this rule.</div> |
| <dl> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>root operand</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getRule--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRule</h4> |
| <pre>public <a href="../../../../org/apache/calcite/plan/RelOptRule.html" title="org.apache.calcite.plan中的类">RelOptRule</a> getRule()</pre> |
| <div class="block">Returns the invoked planner rule.</div> |
| <dl> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>planner rule</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getRels--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRels</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a> |
| public <a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>[] getRels()</pre> |
| <div class="block"><span class="deprecatedLabel">已过时。</span> <span class="deprecationComment">Use <a href="../../../../org/apache/calcite/plan/RelOptRuleCall.html#getRelList--"><code>getRelList()</code></a> or <a href="../../../../org/apache/calcite/plan/RelOptRuleCall.html#rel-int-"><code>rel(int)</code></a></span></div> |
| <div class="block">Returns a list of matched relational expressions.</div> |
| <dl> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>matched relational expressions</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getRelList--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRelList</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a><<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>> getRelList()</pre> |
| <div class="block">Returns a list of matched relational expressions.</div> |
| <dl> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>matched relational expressions</dd> |
| <dt><span class="seeLabel">另请参阅:</span></dt> |
| <dd><a href="../../../../org/apache/calcite/plan/RelOptRuleCall.html#rel-int-"><code>rel(int)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="rel-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>rel</h4> |
| <pre>public <T extends <a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>> T rel(int ordinal)</pre> |
| <div class="block">Retrieves the <code>ordinal</code>th matched relational expression. This |
| corresponds to the <code>ordinal</code>th operand of the rule.</div> |
| <dl> |
| <dt><span class="paramLabel">类型参数:</span></dt> |
| <dd><code>T</code> - Type</dd> |
| <dt><span class="paramLabel">参数:</span></dt> |
| <dd><code>ordinal</code> - Ordinal</dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>Relational expression</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getChildRels-org.apache.calcite.rel.RelNode-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getChildRels</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a><<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>> getChildRels(<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a> rel)</pre> |
| <div class="block">Returns the children of a given relational expression node matched in a |
| rule. |
| |
| <p>If the policy of the operand which caused the match is not |
| <a href="../../../../org/apache/calcite/plan/RelOptRuleOperandChildPolicy.html#ANY"><code>RelOptRuleOperandChildPolicy.ANY</code></a>, |
| the children will have their |
| own operands and therefore be easily available in the array returned by |
| the <a href="../../../../org/apache/calcite/plan/RelOptRuleCall.html#getRelList--"><code>getRelList()</code></a> method, so this method returns null. |
| |
| <p>This method is for |
| <a href="../../../../org/apache/calcite/plan/RelOptRuleOperandChildPolicy.html#ANY"><code>RelOptRuleOperandChildPolicy.ANY</code></a>, |
| which is generally used when a node can have a variable number of |
| children, and hence where the matched children are not retrievable by any |
| other means. |
| |
| <p>Warning: it produces wrong result for <code>unordered(...)</code> case.</div> |
| <dl> |
| <dt><span class="paramLabel">参数:</span></dt> |
| <dd><code>rel</code> - Relational expression</dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>Children of relational expression</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setChildRels-org.apache.calcite.rel.RelNode-java.util.List-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setChildRels</h4> |
| <pre>protected void setChildRels(<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a> rel, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a><<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>> inputs)</pre> |
| <div class="block">Assigns the input relational expressions of a given relational expression, |
| as seen by this particular call. Is only called when the operand is |
| <a href="../../../../org/apache/calcite/plan/RelOptRule.html#any--"><code>RelOptRule.any()</code></a>.</div> |
| </li> |
| </ul> |
| <a name="getPlanner--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPlanner</h4> |
| <pre>public <a href="../../../../org/apache/calcite/plan/RelOptPlanner.html" title="org.apache.calcite.plan中的接口">RelOptPlanner</a> getPlanner()</pre> |
| <div class="block">Returns the planner.</div> |
| <dl> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>planner</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isRuleExcluded--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isRuleExcluded</h4> |
| <pre>public boolean isRuleExcluded()</pre> |
| <div class="block">Determines whether the rule is excluded by any root node hint.</div> |
| <dl> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>true iff rule should be excluded</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMetadataQuery--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMetadataQuery</h4> |
| <pre>public <a href="../../../../org/apache/calcite/rel/metadata/RelMetadataQuery.html" title="org.apache.calcite.rel.metadata中的类">RelMetadataQuery</a> getMetadataQuery()</pre> |
| <div class="block">Returns the current RelMetadataQuery |
| to be used for instance by |
| <a href="../../../../org/apache/calcite/plan/RelOptRule.html#onMatch-org.apache.calcite.plan.RelOptRuleCall-"><code>RelOptRule.onMatch(RelOptRuleCall)</code></a>.</div> |
| </li> |
| </ul> |
| <a name="getParents--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getParents</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a><<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>> getParents()</pre> |
| <dl> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>list of parents of the first relational expression</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="transformTo-org.apache.calcite.rel.RelNode-java.util.Map-org.apache.calcite.plan.RelHintsPropagator-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>transformTo</h4> |
| <pre>public abstract void transformTo(<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a> rel, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="java.util中的类或接口">Map</a><<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>,<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>> equiv, |
| <a href="../../../../org/apache/calcite/plan/RelHintsPropagator.html" title="org.apache.calcite.plan中的接口">RelHintsPropagator</a> handler)</pre> |
| <div class="block">Registers that a rule has produced an equivalent relational expression. |
| |
| <p>Called by the rule whenever it finds a match. The implementation of |
| this method guarantees that the original relational expression (that is, |
| <code>this.rels[0]</code>) has its traits propagated to the new |
| relational expression (<code>rel</code>) and its unregistered children. |
| Any trait not specifically set in the RelTraitSet returned by <code> |
| rel.getTraits()</code> will be copied from <code> |
| this.rels[0].getTraitSet()</code>. |
| |
| <p>The hints of the root relational expression of |
| the rule call(<code>this.rels[0]</code>) |
| are copied to the new relational expression(<code>rel</code>) |
| with specified handler <code>handler</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">参数:</span></dt> |
| <dd><code>rel</code> - Relational expression equivalent to the root relational |
| expression of the rule call, <code>call.rels(0)</code></dd> |
| <dd><code>equiv</code> - Map of other equivalences</dd> |
| <dd><code>handler</code> - Handler to customize the relational expression that registers |
| into the planner, the first parameter is the root relational expression |
| and the second parameter is the new relational expression</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="transformTo-org.apache.calcite.rel.RelNode-java.util.Map-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>transformTo</h4> |
| <pre>public void transformTo(<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a> rel, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="java.util中的类或接口">Map</a><<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>,<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a>> equiv)</pre> |
| <div class="block">Registers that a rule has produced an equivalent relational expression, |
| with specified equivalences. |
| |
| <p>The hints are copied with filter strategies from |
| the root relational expression of the rule call(<code>this.rels[0]</code>) |
| to the new relational expression(<code>rel</code>).</div> |
| <dl> |
| <dt><span class="paramLabel">参数:</span></dt> |
| <dd><code>rel</code> - Relational expression equivalent to the root relational |
| expression of the rule call, <code>call.rels(0)</code></dd> |
| <dd><code>equiv</code> - Map of other equivalences</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="transformTo-org.apache.calcite.rel.RelNode-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>transformTo</h4> |
| <pre>public final void transformTo(<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a> rel)</pre> |
| <div class="block">Registers that a rule has produced an equivalent relational expression, |
| but no other equivalences. |
| |
| <p>The hints are copied with filter strategies from |
| the root relational expression of the rule call(<code>this.rels[0]</code>) |
| to the new relational expression(<code>rel</code>).</div> |
| <dl> |
| <dt><span class="paramLabel">参数:</span></dt> |
| <dd><code>rel</code> - Relational expression equivalent to the root relational |
| expression of the rule call, <code>call.rels(0)</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="transformTo-org.apache.calcite.rel.RelNode-org.apache.calcite.plan.RelHintsPropagator-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>transformTo</h4> |
| <pre>public final void transformTo(<a href="../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a> rel, |
| <a href="../../../../org/apache/calcite/plan/RelHintsPropagator.html" title="org.apache.calcite.plan中的接口">RelHintsPropagator</a> handler)</pre> |
| <div class="block">Registers that a rule has produced an equivalent relational expression, |
| but no other equivalences. |
| |
| <p>The hints of the root relational expression of |
| the rule call(<code>this.rels[0]</code>) |
| are copied to the new relational expression(<code>rel</code>) |
| with specified handler <code>handler</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">参数:</span></dt> |
| <dd><code>rel</code> - Relational expression equivalent to the root relational |
| expression of the rule call, <code>call.rels(0)</code></dd> |
| <dd><code>handler</code> - Handler to customize the relational expression that registers |
| into the planner, the first parameter is the root relational expression |
| and the second parameter is the new relational expression</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="builder--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>builder</h4> |
| <pre>public <a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="org.apache.calcite.tools中的类">RelBuilder</a> builder()</pre> |
| <div class="block">Creates a <a href="../../../../org/apache/calcite/tools/RelBuilder.html" title="org.apache.calcite.tools中的类"><code>RelBuilder</code></a> to be used by |
| code within the call. The <a href="../../../../org/apache/calcite/plan/RelOptRule.html#relBuilderFactory"><code>RelOptRule.relBuilderFactory</code></a> argument contains policies |
| such as what implementation of <a href="../../../../org/apache/calcite/rel/core/Filter.html" title="org.apache.calcite.rel.core中的类"><code>Filter</code></a> to create.</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="跳过导航链接">跳过导航链接</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="导航"> |
| <li><a href="../../../../overview-summary.html">概览</a></li> |
| <li><a href="package-summary.html">程序包</a></li> |
| <li class="navBarCell1Rev">类</li> |
| <li><a href="package-tree.html">树</a></li> |
| <li><a href="../../../../deprecated-list.html">已过时</a></li> |
| <li><a href="../../../../index-all.html">索引</a></li> |
| <li><a href="../../../../help-doc.html">帮助</a></li> |
| </ul> |
| <div class="aboutLanguage"><b>Apache Calcite</b></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/calcite/plan/RelOptRule.html" title="org.apache.calcite.plan中的类"><span class="typeNameLink">上一个类</span></a></li> |
| <li><a href="../../../../org/apache/calcite/plan/RelOptRuleOperand.html" title="org.apache.calcite.plan中的类"><span class="typeNameLink">下一个类</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/calcite/plan/RelOptRuleCall.html" target="_top">框架</a></li> |
| <li><a href="RelOptRuleCall.html" target="_top">无框架</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses-noframe.html">所有类</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>概要: </li> |
| <li>嵌套 | </li> |
| <li><a href="#field.summary">字段</a> | </li> |
| <li><a href="#constructor.summary">构造器</a> | </li> |
| <li><a href="#method.summary">方法</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>详细资料: </li> |
| <li><a href="#field.detail">字段</a> | </li> |
| <li><a href="#constructor.detail">构造器</a> | </li> |
| <li><a href="#method.detail">方法</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2012-2020 Apache Software Foundation. All Rights Reserved.</small></p> |
| </body> |
| </html> |