| <!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>Correlate (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="Correlate (Apache Calcite calcite API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":6,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10}; |
| var tabs = {65535:["t0","所有方法"],2:["t2","实例方法"],4:["t3","抽象方法"],8:["t4","具体方法"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>您的浏览器已禁用 JavaScript。</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="导航"> |
| <li><a href="../../../../../overview-summary.html">概览</a></li> |
| <li><a href="package-summary.html">程序包</a></li> |
| <li class="navBarCell1Rev">类</li> |
| <li><a href="package-tree.html">树</a></li> |
| <li><a href="../../../../../deprecated-list.html">已过时</a></li> |
| <li><a href="../../../../../index-all.html">索引</a></li> |
| <li><a href="../../../../../help-doc.html">帮助</a></li> |
| </ul> |
| <div class="aboutLanguage"><b>Apache Calcite</b></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/apache/calcite/rel/core/Collect.html" title="org.apache.calcite.rel.core中的类"><span class="typeNameLink">上一个类</span></a></li> |
| <li><a href="../../../../../org/apache/calcite/rel/core/CorrelationId.html" title="org.apache.calcite.rel.core中的类"><span class="typeNameLink">下一个类</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/calcite/rel/core/Correlate.html" target="_top">框架</a></li> |
| <li><a href="Correlate.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.rel.core</div> |
| <h2 title="类 Correlate" class="title">类 Correlate</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html" title="org.apache.calcite.rel中的类">org.apache.calcite.rel.AbstractRelNode</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../../org/apache/calcite/rel/BiRel.html" title="org.apache.calcite.rel中的类">org.apache.calcite.rel.BiRel</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.calcite.rel.core.Correlate</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>所有已实现的接口:</dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html?is-external=true" title="java.lang中的类或接口">Cloneable</a>, <a href="../../../../../org/apache/calcite/plan/RelOptNode.html" title="org.apache.calcite.plan中的接口">RelOptNode</a>, <a href="../../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a></dd> |
| </dl> |
| <dl> |
| <dt>直接已知子类:</dt> |
| <dd><a href="../../../../../org/apache/calcite/adapter/enumerable/EnumerableCorrelate.html" title="org.apache.calcite.adapter.enumerable中的类">EnumerableCorrelate</a>, <a href="../../../../../org/apache/calcite/rel/logical/LogicalCorrelate.html" title="org.apache.calcite.rel.logical中的类">LogicalCorrelate</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public abstract class <span class="typeNameLabel">Correlate</span> |
| extends <a href="../../../../../org/apache/calcite/rel/BiRel.html" title="org.apache.calcite.rel中的类">BiRel</a></pre> |
| <div class="block">A relational operator that performs nested-loop joins. |
| |
| <p>It behaves like a kind of <a href="../../../../../org/apache/calcite/rel/core/Join.html" title="org.apache.calcite.rel.core中的类"><code>Join</code></a>, |
| but works by setting variables in its environment and restarting its |
| right-hand input. |
| |
| <p>Correlate is not a join since: typical rules should not match Correlate. |
| |
| <p>A Correlate is used to represent a correlated query. One |
| implementation strategy is to de-correlate the expression. |
| |
| <table> |
| <caption>Mapping of physical operations to logical ones</caption> |
| <tr><th>Physical operation</th><th>Logical operation</th></tr> |
| <tr><td>NestedLoops</td><td>Correlate(A, B, regular)</td></tr> |
| <tr><td>NestedLoopsOuter</td><td>Correlate(A, B, outer)</td></tr> |
| <tr><td>NestedLoopsSemi</td><td>Correlate(A, B, semi)</td></tr> |
| <tr><td>NestedLoopsAnti</td><td>Correlate(A, B, anti)</td></tr> |
| <tr><td>HashJoin</td><td>EquiJoin(A, B)</td></tr> |
| <tr><td>HashJoinOuter</td><td>EquiJoin(A, B, outer)</td></tr> |
| <tr><td>HashJoinSemi</td><td>SemiJoin(A, B, semi)</td></tr> |
| <tr><td>HashJoinAnti</td><td>SemiJoin(A, B, anti)</td></tr> |
| </table></div> |
| <dl> |
| <dt><span class="seeLabel">另请参阅:</span></dt> |
| <dd><a href="../../../../../org/apache/calcite/rel/core/CorrelationId.html" title="org.apache.calcite.rel.core中的类"><code>CorrelationId</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>嵌套类概要</h3> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.classes.inherited.from.class.org.apache.calcite.rel.RelNode"> |
| <!-- --> |
| </a> |
| <h3>从接口继承的嵌套类/接口 org.apache.calcite.rel.<a href="../../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a></h3> |
| <code><a href="../../../../../org/apache/calcite/rel/RelNode.Context.html" title="org.apache.calcite.rel中的接口">RelNode.Context</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- =========== 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>protected <a href="../../../../../org/apache/calcite/rel/core/CorrelationId.html" title="org.apache.calcite.rel.core中的类">CorrelationId</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/core/Correlate.html#correlationId">correlationId</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../org/apache/calcite/rel/core/JoinRelType.html" title="org.apache.calcite.rel.core中的枚举">JoinRelType</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/core/Correlate.html#joinType">joinType</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/core/Correlate.html#requiredColumns">requiredColumns</a></span></code> </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields.inherited.from.class.org.apache.calcite.rel.BiRel"> |
| <!-- --> |
| </a> |
| <h3>从类继承的字段 org.apache.calcite.rel.<a href="../../../../../org/apache/calcite/rel/BiRel.html" title="org.apache.calcite.rel中的类">BiRel</a></h3> |
| <code><a href="../../../../../org/apache/calcite/rel/BiRel.html#left">left</a>, <a href="../../../../../org/apache/calcite/rel/BiRel.html#right">right</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields.inherited.from.class.org.apache.calcite.rel.AbstractRelNode"> |
| <!-- --> |
| </a> |
| <h3>从类继承的字段 org.apache.calcite.rel.<a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html" title="org.apache.calcite.rel中的类">AbstractRelNode</a></h3> |
| <code><a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#digest">digest</a>, <a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#id">id</a>, <a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#rowType">rowType</a>, <a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#traitSet">traitSet</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>构造器概要</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="构造器概要表, 列表构造器和解释"> |
| <caption><span>构造器</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">限定符</th> |
| <th class="colLast" scope="col">构造器和说明</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code> </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/core/Correlate.html#Correlate-org.apache.calcite.rel.RelInput-">Correlate</a></span>(<a href="../../../../../org/apache/calcite/rel/RelInput.html" title="org.apache.calcite.rel中的接口">RelInput</a> input)</code> |
| <div class="block">Creates a Correlate by parsing serialized output.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/core/Correlate.html#Correlate-org.apache.calcite.plan.RelOptCluster-org.apache.calcite.plan.RelTraitSet-org.apache.calcite.rel.RelNode-org.apache.calcite.rel.RelNode-org.apache.calcite.rel.core.CorrelationId-org.apache.calcite.util.ImmutableBitSet-org.apache.calcite.rel.core.JoinRelType-">Correlate</a></span>(<a href="../../../../../org/apache/calcite/plan/RelOptCluster.html" title="org.apache.calcite.plan中的类">RelOptCluster</a> cluster, |
| <a href="../../../../../org/apache/calcite/plan/RelTraitSet.html" title="org.apache.calcite.plan中的类">RelTraitSet</a> traitSet, |
| <a href="../../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a> left, |
| <a href="../../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a> right, |
| <a href="../../../../../org/apache/calcite/rel/core/CorrelationId.html" title="org.apache.calcite.rel.core中的类">CorrelationId</a> correlationId, |
| <a href="../../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a> requiredColumns, |
| <a href="../../../../../org/apache/calcite/rel/core/JoinRelType.html" title="org.apache.calcite.rel.core中的枚举">JoinRelType</a> joinType)</code> |
| <div class="block">Creates a Correlate.</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></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/plan/RelOptCost.html" title="org.apache.calcite.plan中的接口">RelOptCost</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/core/Correlate.html#computeSelfCost-org.apache.calcite.plan.RelOptPlanner-org.apache.calcite.rel.metadata.RelMetadataQuery-">computeSelfCost</a></span>(<a href="../../../../../org/apache/calcite/plan/RelOptPlanner.html" title="org.apache.calcite.plan中的接口">RelOptPlanner</a> planner, |
| <a href="../../../../../org/apache/calcite/rel/metadata/RelMetadataQuery.html" title="org.apache.calcite.rel.metadata中的类">RelMetadataQuery</a> mq)</code> |
| <div class="block">Returns the cost of this plan (not including children).</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/calcite/rel/core/Correlate.html" title="org.apache.calcite.rel.core中的类">Correlate</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/core/Correlate.html#copy-org.apache.calcite.plan.RelTraitSet-java.util.List-">copy</a></span>(<a href="../../../../../org/apache/calcite/plan/RelTraitSet.html" title="org.apache.calcite.plan中的类">RelTraitSet</a> traitSet, |
| <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">Creates a copy of this relational expression, perhaps changing traits and |
| inputs.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>abstract <a href="../../../../../org/apache/calcite/rel/core/Correlate.html" title="org.apache.calcite.rel.core中的类">Correlate</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/core/Correlate.html#copy-org.apache.calcite.plan.RelTraitSet-org.apache.calcite.rel.RelNode-org.apache.calcite.rel.RelNode-org.apache.calcite.rel.core.CorrelationId-org.apache.calcite.util.ImmutableBitSet-org.apache.calcite.rel.core.JoinRelType-">copy</a></span>(<a href="../../../../../org/apache/calcite/plan/RelTraitSet.html" title="org.apache.calcite.plan中的类">RelTraitSet</a> traitSet, |
| <a href="../../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a> left, |
| <a href="../../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a> right, |
| <a href="../../../../../org/apache/calcite/rel/core/CorrelationId.html" title="org.apache.calcite.rel.core中的类">CorrelationId</a> correlationId, |
| <a href="../../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a> requiredColumns, |
| <a href="../../../../../org/apache/calcite/rel/core/JoinRelType.html" title="org.apache.calcite.rel.core中的枚举">JoinRelType</a> joinType)</code> </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/core/Correlate.html#deriveRowType--">deriveRowType</a></span>()</code> </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/core/Correlate.html#estimateRowCount-org.apache.calcite.rel.metadata.RelMetadataQuery-">estimateRowCount</a></span>(<a href="../../../../../org/apache/calcite/rel/metadata/RelMetadataQuery.html" title="org.apache.calcite.rel.metadata中的类">RelMetadataQuery</a> mq)</code> |
| <div class="block">Returns an estimate of the number of rows this relational expression will |
| return.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/calcite/rel/RelWriter.html" title="org.apache.calcite.rel中的接口">RelWriter</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/core/Correlate.html#explainTerms-org.apache.calcite.rel.RelWriter-">explainTerms</a></span>(<a href="../../../../../org/apache/calcite/rel/RelWriter.html" title="org.apache.calcite.rel中的接口">RelWriter</a> pw)</code> |
| <div class="block">Describes the inputs and attributes of this relational expression.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/calcite/rel/core/CorrelationId.html" title="org.apache.calcite.rel.core中的类">CorrelationId</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/core/Correlate.html#getCorrelationId--">getCorrelationId</a></span>()</code> |
| <div class="block">Returns the correlating expressions.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/core/Correlate.html#getCorrelVariable--">getCorrelVariable</a></span>()</code> |
| <div class="block">Returns the name of the variable which is to be implicitly set at runtime |
| each time a row is returned from the first input of this relational |
| expression; or null if there is no variable.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/calcite/rel/core/JoinRelType.html" title="org.apache.calcite.rel.core中的枚举">JoinRelType</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/core/Correlate.html#getJoinType--">getJoinType</a></span>()</code> </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/core/Correlate.html#getRequiredColumns--">getRequiredColumns</a></span>()</code> |
| <div class="block">Returns the required columns in left relation required for the correlation |
| in the right.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="java.util中的类或接口">Set</a><<a href="../../../../../org/apache/calcite/rel/core/CorrelationId.html" title="org.apache.calcite.rel.core中的类">CorrelationId</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/core/Correlate.html#getVariablesSet--">getVariablesSet</a></span>()</code> |
| <div class="block">Returns the variables that are set in this relational |
| expression but also used and therefore not available to parents of this |
| relational expression.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/core/Correlate.html#isValid-org.apache.calcite.util.Litmus-org.apache.calcite.rel.RelNode.Context-">isValid</a></span>(<a href="../../../../../org/apache/calcite/util/Litmus.html" title="org.apache.calcite.util中的接口">Litmus</a> litmus, |
| <a href="../../../../../org/apache/calcite/rel/RelNode.Context.html" title="org.apache.calcite.rel中的接口">RelNode.Context</a> context)</code> |
| <div class="block">Returns whether this relational expression is valid.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.calcite.rel.BiRel"> |
| <!-- --> |
| </a> |
| <h3>从类继承的方法 org.apache.calcite.rel.<a href="../../../../../org/apache/calcite/rel/BiRel.html" title="org.apache.calcite.rel中的类">BiRel</a></h3> |
| <code><a href="../../../../../org/apache/calcite/rel/BiRel.html#childrenAccept-org.apache.calcite.rel.RelVisitor-">childrenAccept</a>, <a href="../../../../../org/apache/calcite/rel/BiRel.html#getInputs--">getInputs</a>, <a href="../../../../../org/apache/calcite/rel/BiRel.html#getLeft--">getLeft</a>, <a href="../../../../../org/apache/calcite/rel/BiRel.html#getRight--">getRight</a>, <a href="../../../../../org/apache/calcite/rel/BiRel.html#replaceInput-int-org.apache.calcite.rel.RelNode-">replaceInput</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.calcite.rel.AbstractRelNode"> |
| <!-- --> |
| </a> |
| <h3>从类继承的方法 org.apache.calcite.rel.<a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html" title="org.apache.calcite.rel中的类">AbstractRelNode</a></h3> |
| <code><a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#accept-org.apache.calcite.rel.RelShuttle-">accept</a>, <a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#accept-org.apache.calcite.rex.RexShuttle-">accept</a>, <a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#collectVariablesSet-java.util.Set-">collectVariablesSet</a>, <a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#collectVariablesUsed-java.util.Set-">collectVariablesUsed</a>, <a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#computeDigest--">computeDigest</a>, <a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#computeSelfCost-org.apache.calcite.plan.RelOptPlanner-">computeSelfCost</a>, <a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#equals-java.lang.Object-">equals</a>, <a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#explain-org.apache.calcite.rel.RelWriter-">explain</a>, <a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#getChildExps--">getChildExps</a>, <a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#getCluster--">getCluster</a>, <a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#getCollationList--">getCollationList</a>, <a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#getConvention--">getConvention</a>, <a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#getDescription--">getDescription</a>, <a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#getDigest--">getDigest</a>, <a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#getExpectedInputRowType-int-">getExpectedInputRowType</a>, <a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#getId--">getId</a>, <a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#getInput-int-">getInput</a>, <a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#getQuery--">getQuery</a>, <a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#getRelTypeName--">getRelTypeName</a>, <a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#getRows--">getRows</a>, <a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#getRowType--">getRowType</a>, <a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#getTable--">getTable</a>, <a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#getTraitSet--">getTraitSet</a>, <a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#getVariablesStopped--">getVariablesStopped</a>, <a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#hashCode--">hashCode</a>, <a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#isDistinct--">isDistinct</a>, <a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#isKey-org.apache.calcite.util.ImmutableBitSet-">isKey</a>, <a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#isValid-boolean-">isValid</a>, <a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#metadata-java.lang.Class-org.apache.calcite.rel.metadata.RelMetadataQuery-">metadata</a>, <a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#onRegister-org.apache.calcite.plan.RelOptPlanner-">onRegister</a>, <a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#recomputeDigest--">recomputeDigest</a>, <a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#register-org.apache.calcite.plan.RelOptPlanner-">register</a>, <a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#sole-java.util.List-">sole</a>, <a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#toString--">toString</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>从类继承的方法 java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a></h3> |
| <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="java.lang中的类或接口">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#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#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#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="correlationId"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>correlationId</h4> |
| <pre>protected final <a href="../../../../../org/apache/calcite/rel/core/CorrelationId.html" title="org.apache.calcite.rel.core中的类">CorrelationId</a> correlationId</pre> |
| </li> |
| </ul> |
| <a name="requiredColumns"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>requiredColumns</h4> |
| <pre>protected final <a href="../../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a> requiredColumns</pre> |
| </li> |
| </ul> |
| <a name="joinType"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>joinType</h4> |
| <pre>protected final <a href="../../../../../org/apache/calcite/rel/core/JoinRelType.html" title="org.apache.calcite.rel.core中的枚举">JoinRelType</a> joinType</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>构造器详细资料</h3> |
| <a name="Correlate-org.apache.calcite.plan.RelOptCluster-org.apache.calcite.plan.RelTraitSet-org.apache.calcite.rel.RelNode-org.apache.calcite.rel.RelNode-org.apache.calcite.rel.core.CorrelationId-org.apache.calcite.util.ImmutableBitSet-org.apache.calcite.rel.core.JoinRelType-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>Correlate</h4> |
| <pre>protected Correlate(<a href="../../../../../org/apache/calcite/plan/RelOptCluster.html" title="org.apache.calcite.plan中的类">RelOptCluster</a> cluster, |
| <a href="../../../../../org/apache/calcite/plan/RelTraitSet.html" title="org.apache.calcite.plan中的类">RelTraitSet</a> traitSet, |
| <a href="../../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a> left, |
| <a href="../../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a> right, |
| <a href="../../../../../org/apache/calcite/rel/core/CorrelationId.html" title="org.apache.calcite.rel.core中的类">CorrelationId</a> correlationId, |
| <a href="../../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a> requiredColumns, |
| <a href="../../../../../org/apache/calcite/rel/core/JoinRelType.html" title="org.apache.calcite.rel.core中的枚举">JoinRelType</a> joinType)</pre> |
| <div class="block">Creates a Correlate.</div> |
| <dl> |
| <dt><span class="paramLabel">参数:</span></dt> |
| <dd><code>cluster</code> - Cluster this relational expression belongs to</dd> |
| <dd><code>left</code> - Left input relational expression</dd> |
| <dd><code>right</code> - Right input relational expression</dd> |
| <dd><code>correlationId</code> - Variable name for the row of left input</dd> |
| <dd><code>requiredColumns</code> - Set of columns that are used by correlation</dd> |
| <dd><code>joinType</code> - Join type</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="Correlate-org.apache.calcite.rel.RelInput-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>Correlate</h4> |
| <pre>public Correlate(<a href="../../../../../org/apache/calcite/rel/RelInput.html" title="org.apache.calcite.rel中的接口">RelInput</a> input)</pre> |
| <div class="block">Creates a Correlate by parsing serialized output.</div> |
| <dl> |
| <dt><span class="paramLabel">参数:</span></dt> |
| <dd><code>input</code> - Input representation</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>方法详细资料</h3> |
| <a name="isValid-org.apache.calcite.util.Litmus-org.apache.calcite.rel.RelNode.Context-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isValid</h4> |
| <pre>public boolean isValid(<a href="../../../../../org/apache/calcite/util/Litmus.html" title="org.apache.calcite.util中的接口">Litmus</a> litmus, |
| <a href="../../../../../org/apache/calcite/rel/RelNode.Context.html" title="org.apache.calcite.rel中的接口">RelNode.Context</a> context)</pre> |
| <div class="block"><span class="descfrmTypeLabel">从接口复制的说明: <code><a href="../../../../../org/apache/calcite/rel/RelNode.html#isValid-org.apache.calcite.util.Litmus-org.apache.calcite.rel.RelNode.Context-">RelNode</a></code></span></div> |
| <div class="block">Returns whether this relational expression is valid. |
| |
| <p>If assertions are enabled, this method is typically called with <code> |
| litmus</code> = <code>THROW</code>, as follows: |
| |
| <blockquote> |
| <pre>assert rel.isValid(Litmus.THROW)</pre> |
| </blockquote> |
| |
| <p>This signals that the method can throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AssertionError.html?is-external=true" title="java.lang中的类或接口"><code>AssertionError</code></a> if it |
| is not valid.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../../org/apache/calcite/rel/RelNode.html#isValid-org.apache.calcite.util.Litmus-org.apache.calcite.rel.RelNode.Context-">isValid</a></code> 在接口中 <code><a href="../../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">覆盖:</span></dt> |
| <dd><code><a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#isValid-org.apache.calcite.util.Litmus-org.apache.calcite.rel.RelNode.Context-">isValid</a></code> 在类中 <code><a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html" title="org.apache.calcite.rel中的类">AbstractRelNode</a></code></dd> |
| <dt><span class="paramLabel">参数:</span></dt> |
| <dd><code>litmus</code> - What to do if invalid</dd> |
| <dd><code>context</code> - Context for validity checking</dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>Whether relational expression is valid</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="copy-org.apache.calcite.plan.RelTraitSet-java.util.List-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>copy</h4> |
| <pre>public <a href="../../../../../org/apache/calcite/rel/core/Correlate.html" title="org.apache.calcite.rel.core中的类">Correlate</a> copy(<a href="../../../../../org/apache/calcite/plan/RelTraitSet.html" title="org.apache.calcite.plan中的类">RelTraitSet</a> traitSet, |
| <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"><span class="descfrmTypeLabel">从接口复制的说明: <code><a href="../../../../../org/apache/calcite/rel/RelNode.html#copy-org.apache.calcite.plan.RelTraitSet-java.util.List-">RelNode</a></code></span></div> |
| <div class="block">Creates a copy of this relational expression, perhaps changing traits and |
| inputs. |
| |
| <p>Sub-classes with other important attributes are encouraged to create |
| variants of this method with more parameters.</p></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../../org/apache/calcite/rel/RelNode.html#copy-org.apache.calcite.plan.RelTraitSet-java.util.List-">copy</a></code> 在接口中 <code><a href="../../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">覆盖:</span></dt> |
| <dd><code><a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#copy-org.apache.calcite.plan.RelTraitSet-java.util.List-">copy</a></code> 在类中 <code><a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html" title="org.apache.calcite.rel中的类">AbstractRelNode</a></code></dd> |
| <dt><span class="paramLabel">参数:</span></dt> |
| <dd><code>traitSet</code> - Trait set</dd> |
| <dd><code>inputs</code> - Inputs</dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>Copy of this relational expression, substituting traits and |
| inputs</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="copy-org.apache.calcite.plan.RelTraitSet-org.apache.calcite.rel.RelNode-org.apache.calcite.rel.RelNode-org.apache.calcite.rel.core.CorrelationId-org.apache.calcite.util.ImmutableBitSet-org.apache.calcite.rel.core.JoinRelType-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>copy</h4> |
| <pre>public abstract <a href="../../../../../org/apache/calcite/rel/core/Correlate.html" title="org.apache.calcite.rel.core中的类">Correlate</a> copy(<a href="../../../../../org/apache/calcite/plan/RelTraitSet.html" title="org.apache.calcite.plan中的类">RelTraitSet</a> traitSet, |
| <a href="../../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a> left, |
| <a href="../../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a> right, |
| <a href="../../../../../org/apache/calcite/rel/core/CorrelationId.html" title="org.apache.calcite.rel.core中的类">CorrelationId</a> correlationId, |
| <a href="../../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a> requiredColumns, |
| <a href="../../../../../org/apache/calcite/rel/core/JoinRelType.html" title="org.apache.calcite.rel.core中的枚举">JoinRelType</a> joinType)</pre> |
| </li> |
| </ul> |
| <a name="getJoinType--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getJoinType</h4> |
| <pre>public <a href="../../../../../org/apache/calcite/rel/core/JoinRelType.html" title="org.apache.calcite.rel.core中的枚举">JoinRelType</a> getJoinType()</pre> |
| </li> |
| </ul> |
| <a name="deriveRowType--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>deriveRowType</h4> |
| <pre>protected <a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a> deriveRowType()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">覆盖:</span></dt> |
| <dd><code><a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#deriveRowType--">deriveRowType</a></code> 在类中 <code><a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html" title="org.apache.calcite.rel中的类">AbstractRelNode</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="explainTerms-org.apache.calcite.rel.RelWriter-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>explainTerms</h4> |
| <pre>public <a href="../../../../../org/apache/calcite/rel/RelWriter.html" title="org.apache.calcite.rel中的接口">RelWriter</a> explainTerms(<a href="../../../../../org/apache/calcite/rel/RelWriter.html" title="org.apache.calcite.rel中的接口">RelWriter</a> pw)</pre> |
| <div class="block"><span class="descfrmTypeLabel">从类复制的说明: <code><a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#explainTerms-org.apache.calcite.rel.RelWriter-">AbstractRelNode</a></code></span></div> |
| <div class="block">Describes the inputs and attributes of this relational expression. |
| Each node should call <code>super.explainTerms</code>, then call the |
| <a href="../../../../../org/apache/calcite/rel/RelWriter.html#input-java.lang.String-org.apache.calcite.rel.RelNode-"><code>RelWriter.input(String, RelNode)</code></a> |
| and |
| <a href="../../../../../org/apache/calcite/rel/externalize/RelWriterImpl.html#item-java.lang.String-java.lang.Object-"><code>RelWriterImpl.item(String, Object)</code></a> |
| methods for each input and attribute.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">覆盖:</span></dt> |
| <dd><code><a href="../../../../../org/apache/calcite/rel/BiRel.html#explainTerms-org.apache.calcite.rel.RelWriter-">explainTerms</a></code> 在类中 <code><a href="../../../../../org/apache/calcite/rel/BiRel.html" title="org.apache.calcite.rel中的类">BiRel</a></code></dd> |
| <dt><span class="paramLabel">参数:</span></dt> |
| <dd><code>pw</code> - Plan writer</dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>Plan writer for fluent-explain pattern</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getCorrelationId--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCorrelationId</h4> |
| <pre>public <a href="../../../../../org/apache/calcite/rel/core/CorrelationId.html" title="org.apache.calcite.rel.core中的类">CorrelationId</a> getCorrelationId()</pre> |
| <div class="block">Returns the correlating expressions.</div> |
| <dl> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>correlating expressions</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getCorrelVariable--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCorrelVariable</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a> getCorrelVariable()</pre> |
| <div class="block"><span class="descfrmTypeLabel">从接口复制的说明: <code><a href="../../../../../org/apache/calcite/rel/RelNode.html#getCorrelVariable--">RelNode</a></code></span></div> |
| <div class="block">Returns the name of the variable which is to be implicitly set at runtime |
| each time a row is returned from the first input of this relational |
| expression; or null if there is no variable.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../../org/apache/calcite/rel/RelNode.html#getCorrelVariable--">getCorrelVariable</a></code> 在接口中 <code><a href="../../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">覆盖:</span></dt> |
| <dd><code><a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#getCorrelVariable--">getCorrelVariable</a></code> 在类中 <code><a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html" title="org.apache.calcite.rel中的类">AbstractRelNode</a></code></dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>Name of correlating variable, or null</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getRequiredColumns--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRequiredColumns</h4> |
| <pre>public <a href="../../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a> getRequiredColumns()</pre> |
| <div class="block">Returns the required columns in left relation required for the correlation |
| in the right.</div> |
| <dl> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>columns in left relation required for the correlation in the right</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getVariablesSet--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getVariablesSet</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="java.util中的类或接口">Set</a><<a href="../../../../../org/apache/calcite/rel/core/CorrelationId.html" title="org.apache.calcite.rel.core中的类">CorrelationId</a>> getVariablesSet()</pre> |
| <div class="block"><span class="descfrmTypeLabel">从接口复制的说明: <code><a href="../../../../../org/apache/calcite/rel/RelNode.html#getVariablesSet--">RelNode</a></code></span></div> |
| <div class="block">Returns the variables that are set in this relational |
| expression but also used and therefore not available to parents of this |
| relational expression. |
| |
| <p>Note: only <a href="../../../../../org/apache/calcite/rel/core/Correlate.html" title="org.apache.calcite.rel.core中的类"><code>Correlate</code></a> should set |
| variables.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../../org/apache/calcite/rel/RelNode.html#getVariablesSet--">getVariablesSet</a></code> 在接口中 <code><a href="../../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">覆盖:</span></dt> |
| <dd><code><a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#getVariablesSet--">getVariablesSet</a></code> 在类中 <code><a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html" title="org.apache.calcite.rel中的类">AbstractRelNode</a></code></dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>Names of variables which are set in this relational |
| expression</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="estimateRowCount-org.apache.calcite.rel.metadata.RelMetadataQuery-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>estimateRowCount</h4> |
| <pre>public double estimateRowCount(<a href="../../../../../org/apache/calcite/rel/metadata/RelMetadataQuery.html" title="org.apache.calcite.rel.metadata中的类">RelMetadataQuery</a> mq)</pre> |
| <div class="block"><span class="descfrmTypeLabel">从接口复制的说明: <code><a href="../../../../../org/apache/calcite/rel/RelNode.html#estimateRowCount-org.apache.calcite.rel.metadata.RelMetadataQuery-">RelNode</a></code></span></div> |
| <div class="block">Returns an estimate of the number of rows this relational expression will |
| return. |
| |
| <p>NOTE jvs 29-Mar-2006: Don't call this method directly. Instead, use |
| <a href="../../../../../org/apache/calcite/rel/metadata/RelMetadataQuery.html#getRowCount-org.apache.calcite.rel.RelNode-"><code>RelMetadataQuery.getRowCount(org.apache.calcite.rel.RelNode)</code></a>, which gives plugins a chance to |
| override the rel's default ideas about row count.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../../org/apache/calcite/rel/RelNode.html#estimateRowCount-org.apache.calcite.rel.metadata.RelMetadataQuery-">estimateRowCount</a></code> 在接口中 <code><a href="../../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">覆盖:</span></dt> |
| <dd><code><a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#estimateRowCount-org.apache.calcite.rel.metadata.RelMetadataQuery-">estimateRowCount</a></code> 在类中 <code><a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html" title="org.apache.calcite.rel中的类">AbstractRelNode</a></code></dd> |
| <dt><span class="paramLabel">参数:</span></dt> |
| <dd><code>mq</code> - Metadata query</dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>Estimate of the number of rows this relational expression will |
| return</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="computeSelfCost-org.apache.calcite.plan.RelOptPlanner-org.apache.calcite.rel.metadata.RelMetadataQuery-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>computeSelfCost</h4> |
| <pre>public <a href="../../../../../org/apache/calcite/plan/RelOptCost.html" title="org.apache.calcite.plan中的接口">RelOptCost</a> computeSelfCost(<a href="../../../../../org/apache/calcite/plan/RelOptPlanner.html" title="org.apache.calcite.plan中的接口">RelOptPlanner</a> planner, |
| <a href="../../../../../org/apache/calcite/rel/metadata/RelMetadataQuery.html" title="org.apache.calcite.rel.metadata中的类">RelMetadataQuery</a> mq)</pre> |
| <div class="block"><span class="descfrmTypeLabel">从接口复制的说明: <code><a href="../../../../../org/apache/calcite/rel/RelNode.html#computeSelfCost-org.apache.calcite.plan.RelOptPlanner-org.apache.calcite.rel.metadata.RelMetadataQuery-">RelNode</a></code></span></div> |
| <div class="block">Returns the cost of this plan (not including children). The base |
| implementation throws an error; derived classes should override. |
| |
| <p>NOTE jvs 29-Mar-2006: Don't call this method directly. Instead, use |
| <a href="../../../../../org/apache/calcite/rel/metadata/RelMetadataQuery.html#getNonCumulativeCost-org.apache.calcite.rel.RelNode-"><code>RelMetadataQuery.getNonCumulativeCost(org.apache.calcite.rel.RelNode)</code></a>, which gives plugins a |
| chance to override the rel's default ideas about cost.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../../org/apache/calcite/rel/RelNode.html#computeSelfCost-org.apache.calcite.plan.RelOptPlanner-org.apache.calcite.rel.metadata.RelMetadataQuery-">computeSelfCost</a></code> 在接口中 <code><a href="../../../../../org/apache/calcite/rel/RelNode.html" title="org.apache.calcite.rel中的接口">RelNode</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">覆盖:</span></dt> |
| <dd><code><a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html#computeSelfCost-org.apache.calcite.plan.RelOptPlanner-org.apache.calcite.rel.metadata.RelMetadataQuery-">computeSelfCost</a></code> 在类中 <code><a href="../../../../../org/apache/calcite/rel/AbstractRelNode.html" title="org.apache.calcite.rel中的类">AbstractRelNode</a></code></dd> |
| <dt><span class="paramLabel">参数:</span></dt> |
| <dd><code>planner</code> - Planner for cost calculation</dd> |
| <dd><code>mq</code> - Metadata query</dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>Cost of this plan (not including children)</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="导航"> |
| <li><a href="../../../../../overview-summary.html">概览</a></li> |
| <li><a href="package-summary.html">程序包</a></li> |
| <li class="navBarCell1Rev">类</li> |
| <li><a href="package-tree.html">树</a></li> |
| <li><a href="../../../../../deprecated-list.html">已过时</a></li> |
| <li><a href="../../../../../index-all.html">索引</a></li> |
| <li><a href="../../../../../help-doc.html">帮助</a></li> |
| </ul> |
| <div class="aboutLanguage"><b>Apache Calcite</b></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/apache/calcite/rel/core/Collect.html" title="org.apache.calcite.rel.core中的类"><span class="typeNameLink">上一个类</span></a></li> |
| <li><a href="../../../../../org/apache/calcite/rel/core/CorrelationId.html" title="org.apache.calcite.rel.core中的类"><span class="typeNameLink">下一个类</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/calcite/rel/core/Correlate.html" target="_top">框架</a></li> |
| <li><a href="Correlate.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> |