| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>Uses of Class org.apache.calcite.rel.rules.LoptMultiJoin (Apache Calcite API)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../jquery/jquery-ui.css" title="Style"> |
| <script type="text/javascript" src="../../../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../../../jquery/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="../../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="../../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="../../../../../../jquery/jquery-3.3.1.js"></script> |
| <script type="text/javascript" src="../../../../../../jquery/jquery-migrate-3.0.1.js"></script> |
| <script type="text/javascript" src="../../../../../../jquery/jquery-ui.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="Uses of Class org.apache.calcite.rel.rules.LoptMultiJoin (Apache Calcite API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var pathtoroot = "../../../../../../"; |
| var useModuleDirectories = true; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../index.html">Overview</a></li> |
| <li><a href="../package-summary.html">Package</a></li> |
| <li><a href="../LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">Class</a></li> |
| <li class="navBarCell1Rev">Use</li> |
| <li><a href="../package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <ul class="navListSearch"> |
| <li><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <main role="main"> |
| <div class="header"> |
| <h2 title="Uses of Class org.apache.calcite.rel.rules.LoptMultiJoin" class="title">Uses of Class<br>org.apache.calcite.rel.rules.LoptMultiJoin</h2> |
| </div> |
| <div class="classUseContainer"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <table class="useSummary"> |
| <caption><span>Packages that use <a href="../LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Package</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="#org.apache.calcite.rel.rules">org.apache.calcite.rel.rules</a></th> |
| <td class="colLast"> |
| <div class="block">Provides a core set of planner rules.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <section role="region"><a id="org.apache.calcite.rel.rules"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> in <a href="../package-summary.html">org.apache.calcite.rel.rules</a></h3> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../package-summary.html">org.apache.calcite.rel.rules</a> with parameters of type <a href="../LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptOptimizeJoinRule.</span><code><span class="memberNameLink"><a href="../LoptOptimizeJoinRule.html#addAdditionalFilters(org.apache.calcite.tools.RelBuilder,org.apache.calcite.rel.rules.LoptMultiJoin,org.apache.calcite.rel.rules.LoptJoinTree,org.apache.calcite.rel.rules.LoptJoinTree,java.util.List)">addAdditionalFilters</a></span>​(<a href="../../../tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin, |
| <a href="../LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a> left, |
| <a href="../LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a> right, |
| java.util.List<<a href="../../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> filtersToAdd)</code></th> |
| <td class="colLast"> |
| <div class="block">Determines whether any additional filters are applicable to a join tree.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="../LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptOptimizeJoinRule.</span><code><span class="memberNameLink"><a href="../LoptOptimizeJoinRule.html#addFactorToTree(org.apache.calcite.rel.metadata.RelMetadataQuery,org.apache.calcite.tools.RelBuilder,org.apache.calcite.rel.rules.LoptMultiJoin,org.apache.calcite.rel.rules.LoptSemiJoinOptimizer,org.apache.calcite.rel.rules.LoptJoinTree,int,java.util.BitSet,java.util.List,boolean)">addFactorToTree</a></span>​(<a href="../../metadata/RelMetadataQuery.html" title="class in org.apache.calcite.rel.metadata">RelMetadataQuery</a> mq, |
| <a href="../../../tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin, |
| <a href="../LoptSemiJoinOptimizer.html" title="class in org.apache.calcite.rel.rules">LoptSemiJoinOptimizer</a> semiJoinOpt, |
| <a href="../LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a> joinTree, |
| int factorToAdd, |
| java.util.BitSet factorsNeeded, |
| java.util.List<<a href="../../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> filtersToAdd, |
| boolean selfJoin)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds a new factor into the current join tree.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptOptimizeJoinRule.</span><code><span class="memberNameLink"><a href="../LoptOptimizeJoinRule.html#addFilters(org.apache.calcite.rel.rules.LoptMultiJoin,org.apache.calcite.rel.rules.LoptJoinTree,int,org.apache.calcite.rel.rules.LoptJoinTree,java.util.List,boolean)">addFilters</a></span>​(<a href="../LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin, |
| <a href="../LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a> leftTree, |
| int leftIdx, |
| <a href="../LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a> rightTree, |
| java.util.List<<a href="../../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> filtersToAdd, |
| boolean adjust)</code></th> |
| <td class="colLast"> |
| <div class="block">Determines which join filters can be added to the current join tree.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="../LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptOptimizeJoinRule.</span><code><span class="memberNameLink"><a href="../LoptOptimizeJoinRule.html#addToTop(org.apache.calcite.rel.metadata.RelMetadataQuery,org.apache.calcite.tools.RelBuilder,org.apache.calcite.rel.rules.LoptMultiJoin,org.apache.calcite.rel.rules.LoptSemiJoinOptimizer,org.apache.calcite.rel.rules.LoptJoinTree,int,java.util.List,boolean)">addToTop</a></span>​(<a href="../../metadata/RelMetadataQuery.html" title="class in org.apache.calcite.rel.metadata">RelMetadataQuery</a> mq, |
| <a href="../../../tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin, |
| <a href="../LoptSemiJoinOptimizer.html" title="class in org.apache.calcite.rel.rules">LoptSemiJoinOptimizer</a> semiJoinOpt, |
| <a href="../LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a> joinTree, |
| int factorToAdd, |
| java.util.List<<a href="../../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> filtersToAdd, |
| boolean selfJoin)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a join tree with the new factor added to the top of the tree</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptOptimizeJoinRule.</span><code><span class="memberNameLink"><a href="../LoptOptimizeJoinRule.html#adjustFilter(org.apache.calcite.rel.rules.LoptMultiJoin,org.apache.calcite.rel.rules.LoptJoinTree,org.apache.calcite.rel.rules.LoptJoinTree,org.apache.calcite.rex.RexNode,int,java.util.List,java.util.List)">adjustFilter</a></span>​(<a href="../LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin, |
| <a href="../LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a> left, |
| <a href="../LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a> right, |
| <a href="../../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> condition, |
| int factorAdded, |
| java.util.List<java.lang.Integer> origJoinOrder, |
| java.util.List<<a href="../../type/RelDataTypeField.html" title="interface in org.apache.calcite.rel.type">RelDataTypeField</a>> origFields)</code></th> |
| <td class="colLast"> |
| <div class="block">Adjusts a filter to reflect a newly added factor in the middle of an |
| existing join tree</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="../../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptSemiJoinOptimizer.</span><code><span class="memberNameLink"><a href="../LoptSemiJoinOptimizer.html#adjustSemiJoinCondition(org.apache.calcite.rel.rules.LoptMultiJoin,int,org.apache.calcite.rex.RexNode,int,int)">adjustSemiJoinCondition</a></span>​(<a href="../LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin, |
| int leftAdjustment, |
| <a href="../../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> semiJoinCondition, |
| int leftIdx, |
| int rightIdx)</code></th> |
| <td class="colLast"> |
| <div class="block">Modifies the semijoin condition to reflect the fact that the RHS is now |
| the second factor into a join and the LHS is the first</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptSemiJoinOptimizer.</span><code><span class="memberNameLink"><a href="../LoptSemiJoinOptimizer.html#chooseBestSemiJoin(org.apache.calcite.rel.rules.LoptMultiJoin)">chooseBestSemiJoin</a></span>​(<a href="../LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin)</code></th> |
| <td class="colLast"> |
| <div class="block">Finds the optimal semijoin for filtering the least costly fact table from |
| among the remaining possible semijoins to choose from.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private java.lang.Double</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptOptimizeJoinRule.</span><code><span class="memberNameLink"><a href="../LoptOptimizeJoinRule.html#computeJoinCardinality(org.apache.calcite.rel.metadata.RelMetadataQuery,org.apache.calcite.rel.rules.LoptMultiJoin,org.apache.calcite.rel.rules.LoptSemiJoinOptimizer,org.apache.calcite.rel.rules.LoptJoinTree,java.util.List,int)">computeJoinCardinality</a></span>​(<a href="../../metadata/RelMetadataQuery.html" title="class in org.apache.calcite.rel.metadata">RelMetadataQuery</a> mq, |
| <a href="../LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin, |
| <a href="../LoptSemiJoinOptimizer.html" title="class in org.apache.calcite.rel.rules">LoptSemiJoinOptimizer</a> semiJoinOpt, |
| <a href="../LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a> joinTree, |
| java.util.List<<a href="../../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> filters, |
| int factor)</code></th> |
| <td class="colLast"> |
| <div class="block">Computes the cardinality of the join columns from a particular factor, |
| when that factor is joined with another join tree.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptOptimizeJoinRule.</span><code><span class="memberNameLink"><a href="../LoptOptimizeJoinRule.html#createJoinSubtree(org.apache.calcite.rel.metadata.RelMetadataQuery,org.apache.calcite.tools.RelBuilder,org.apache.calcite.rel.rules.LoptMultiJoin,org.apache.calcite.rel.rules.LoptJoinTree,org.apache.calcite.rel.rules.LoptJoinTree,org.apache.calcite.rex.RexNode,org.apache.calcite.rel.core.JoinRelType,java.util.List,boolean,boolean)">createJoinSubtree</a></span>​(<a href="../../metadata/RelMetadataQuery.html" title="class in org.apache.calcite.rel.metadata">RelMetadataQuery</a> mq, |
| <a href="../../../tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin, |
| <a href="../LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a> left, |
| <a href="../LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a> right, |
| <a href="../../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> condition, |
| <a href="../../core/JoinRelType.html" title="enum in org.apache.calcite.rel.core">JoinRelType</a> joinType, |
| java.util.List<<a href="../../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> filtersToAdd, |
| boolean fullAdjust, |
| boolean selfJoin)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a LogicalJoin given left and right operands and a join condition.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="../LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptOptimizeJoinRule.</span><code><span class="memberNameLink"><a href="../LoptOptimizeJoinRule.html#createOrdering(org.apache.calcite.rel.metadata.RelMetadataQuery,org.apache.calcite.tools.RelBuilder,org.apache.calcite.rel.rules.LoptMultiJoin,org.apache.calcite.rel.rules.LoptSemiJoinOptimizer,int)">createOrdering</a></span>​(<a href="../../metadata/RelMetadataQuery.html" title="class in org.apache.calcite.rel.metadata">RelMetadataQuery</a> mq, |
| <a href="../../../tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin, |
| <a href="../LoptSemiJoinOptimizer.html" title="class in org.apache.calcite.rel.rules">LoptSemiJoinOptimizer</a> semiJoinOpt, |
| int firstFactor)</code></th> |
| <td class="colLast"> |
| <div class="block">Generates a join tree with a specific factor as the first factor in the |
| join tree</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptOptimizeJoinRule.</span><code><span class="memberNameLink"><a href="../LoptOptimizeJoinRule.html#createReplacementJoin(org.apache.calcite.tools.RelBuilder,org.apache.calcite.rel.rules.LoptMultiJoin,org.apache.calcite.rel.rules.LoptSemiJoinOptimizer,org.apache.calcite.rel.rules.LoptJoinTree,int,int,org.apache.calcite.util.ImmutableIntList,java.lang.Integer%5B%5D,java.util.List)">createReplacementJoin</a></span>​(<a href="../../../tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin, |
| <a href="../LoptSemiJoinOptimizer.html" title="class in org.apache.calcite.rel.rules">LoptSemiJoinOptimizer</a> semiJoinOpt, |
| <a href="../LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a> currJoinTree, |
| int leftIdx, |
| int factorToAdd, |
| <a href="../../../util/ImmutableIntList.html" title="class in org.apache.calcite.util">ImmutableIntList</a> newKeys, |
| java.lang.Integer[] replacementKeys, |
| java.util.List<<a href="../../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> filtersToAdd)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a replacement join, projecting either dummy columns or |
| replacement keys from the factor that doesn't actually need to be joined.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="../LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptOptimizeJoinRule.</span><code><span class="memberNameLink"><a href="../LoptOptimizeJoinRule.html#createReplacementSemiJoin(org.apache.calcite.tools.RelBuilder,org.apache.calcite.rel.rules.LoptMultiJoin,org.apache.calcite.rel.rules.LoptSemiJoinOptimizer,org.apache.calcite.rel.rules.LoptJoinTree,int,java.util.List)">createReplacementSemiJoin</a></span>​(<a href="../../../tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin, |
| <a href="../LoptSemiJoinOptimizer.html" title="class in org.apache.calcite.rel.rules">LoptSemiJoinOptimizer</a> semiJoinOpt, |
| <a href="../LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a> factTree, |
| int dimIdx, |
| java.util.List<<a href="../../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> filtersToAdd)</code></th> |
| <td class="colLast"> |
| <div class="block">In the event that a dimension table does not need to be joined because of |
| a semijoin, this method creates a join tree that consists of a projection |
| on top of an existing join tree.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../../RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptOptimizeJoinRule.</span><code><span class="memberNameLink"><a href="../LoptOptimizeJoinRule.html#createTopProject(org.apache.calcite.tools.RelBuilder,org.apache.calcite.rel.rules.LoptMultiJoin,org.apache.calcite.rel.rules.LoptJoinTree,java.util.List)">createTopProject</a></span>​(<a href="../../../tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin, |
| <a href="../LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a> joinTree, |
| java.util.List<java.lang.String> fieldNames)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates the topmost projection that will sit on top of the selected join |
| ordering.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptOptimizeJoinRule.</span><code><span class="memberNameLink"><a href="../LoptOptimizeJoinRule.html#findBestOrderings(org.apache.calcite.rel.metadata.RelMetadataQuery,org.apache.calcite.tools.RelBuilder,org.apache.calcite.rel.rules.LoptMultiJoin,org.apache.calcite.rel.rules.LoptSemiJoinOptimizer,org.apache.calcite.plan.RelOptRuleCall)">findBestOrderings</a></span>​(<a href="../../metadata/RelMetadataQuery.html" title="class in org.apache.calcite.rel.metadata">RelMetadataQuery</a> mq, |
| <a href="../../../tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin, |
| <a href="../LoptSemiJoinOptimizer.html" title="class in org.apache.calcite.rel.rules">LoptSemiJoinOptimizer</a> semiJoinOpt, |
| <a href="../../../plan/RelOptRuleCall.html" title="class in org.apache.calcite.plan">RelOptRuleCall</a> call)</code></th> |
| <td class="colLast"> |
| <div class="block">Generates N optimal join orderings.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptOptimizeJoinRule.</span><code><span class="memberNameLink"><a href="../LoptOptimizeJoinRule.html#findRemovableOuterJoins(org.apache.calcite.rel.metadata.RelMetadataQuery,org.apache.calcite.rel.rules.LoptMultiJoin)">findRemovableOuterJoins</a></span>​(<a href="../../metadata/RelMetadataQuery.html" title="class in org.apache.calcite.rel.metadata">RelMetadataQuery</a> mq, |
| <a href="../LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin)</code></th> |
| <td class="colLast"> |
| <div class="block">Locates all null generating factors whose outer join can be removed.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptOptimizeJoinRule.</span><code><span class="memberNameLink"><a href="../LoptOptimizeJoinRule.html#findRemovableSelfJoins(org.apache.calcite.rel.metadata.RelMetadataQuery,org.apache.calcite.rel.rules.LoptMultiJoin)">findRemovableSelfJoins</a></span>​(<a href="../../metadata/RelMetadataQuery.html" title="class in org.apache.calcite.rel.metadata">RelMetadataQuery</a> mq, |
| <a href="../LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin)</code></th> |
| <td class="colLast"> |
| <div class="block">Locates pairs of joins that are self-joins where the join can be removed |
| because the join condition between the two factors is an equality join on |
| unique keys.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../../logical/LogicalJoin.html" title="class in org.apache.calcite.rel.logical">LogicalJoin</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptSemiJoinOptimizer.</span><code><span class="memberNameLink"><a href="../LoptSemiJoinOptimizer.html#findSemiJoinIndexByCost(org.apache.calcite.rel.rules.LoptMultiJoin,java.util.List,int,int)">findSemiJoinIndexByCost</a></span>​(<a href="../LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin, |
| java.util.List<<a href="../../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> joinFilters, |
| int factIdx, |
| int dimIdx)</code></th> |
| <td class="colLast"> |
| <div class="block">Given a list of possible filters on a fact table, determine if there is |
| an index that can be used, provided all the fact table keys originate |
| from the same underlying table.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private int</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptOptimizeJoinRule.</span><code><span class="memberNameLink"><a href="../LoptOptimizeJoinRule.html#getBestNextFactor(org.apache.calcite.rel.metadata.RelMetadataQuery,org.apache.calcite.rel.rules.LoptMultiJoin,java.util.BitSet,java.util.BitSet,org.apache.calcite.rel.rules.LoptSemiJoinOptimizer,org.apache.calcite.rel.rules.LoptJoinTree,java.util.List)">getBestNextFactor</a></span>​(<a href="../../metadata/RelMetadataQuery.html" title="class in org.apache.calcite.rel.metadata">RelMetadataQuery</a> mq, |
| <a href="../LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin, |
| java.util.BitSet factorsToAdd, |
| java.util.BitSet factorsAdded, |
| <a href="../LoptSemiJoinOptimizer.html" title="class in org.apache.calcite.rel.rules">LoptSemiJoinOptimizer</a> semiJoinOpt, |
| <a href="../LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a> joinTree, |
| java.util.List<<a href="../../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> filtersToAdd)</code></th> |
| <td class="colLast"> |
| <div class="block">Determines the best factor to be added next into a join tree.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private java.util.Map<java.lang.Integer,​<a href="../../../plan/RelOptTable.html" title="interface in org.apache.calcite.plan">RelOptTable</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptOptimizeJoinRule.</span><code><span class="memberNameLink"><a href="../LoptOptimizeJoinRule.html#getSimpleFactors(org.apache.calcite.rel.metadata.RelMetadataQuery,org.apache.calcite.rel.rules.LoptMultiJoin)">getSimpleFactors</a></span>​(<a href="../../metadata/RelMetadataQuery.html" title="class in org.apache.calcite.rel.metadata">RelMetadataQuery</a> mq, |
| <a href="../LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin)</code></th> |
| <td class="colLast"> |
| <div class="block">Retrieves join factors that correspond to simple table references.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private boolean</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptOptimizeJoinRule.</span><code><span class="memberNameLink"><a href="../LoptOptimizeJoinRule.html#isSelfJoinFilterUnique(org.apache.calcite.rel.metadata.RelMetadataQuery,org.apache.calcite.rel.rules.LoptMultiJoin,int,int,java.util.List)">isSelfJoinFilterUnique</a></span>​(<a href="../../metadata/RelMetadataQuery.html" title="class in org.apache.calcite.rel.metadata">RelMetadataQuery</a> mq, |
| <a href="../LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin, |
| int leftFactor, |
| int rightFactor, |
| java.util.List<<a href="../../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> joinFilterList)</code></th> |
| <td class="colLast"> |
| <div class="block">Determines if the equality join filters between two factors that map to |
| the same table consist of unique, identical keys.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private int</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptSemiJoinOptimizer.</span><code><span class="memberNameLink"><a href="../LoptSemiJoinOptimizer.html#isSuitableFilter(org.apache.calcite.rel.rules.LoptMultiJoin,org.apache.calcite.rex.RexNode,int)">isSuitableFilter</a></span>​(<a href="../LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin, |
| <a href="../../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> joinFilter, |
| int factIdx)</code></th> |
| <td class="colLast"> |
| <div class="block">Determines if a join filter can be used with a semijoin against a |
| specified fact table.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptSemiJoinOptimizer.</span><code><span class="memberNameLink"><a href="../LoptSemiJoinOptimizer.html#makePossibleSemiJoins(org.apache.calcite.rel.rules.LoptMultiJoin)">makePossibleSemiJoins</a></span>​(<a href="../LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin)</code></th> |
| <td class="colLast"> |
| <div class="block">Determines all possible semijoins that can be used by dimension tables to |
| filter fact tables.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private boolean</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptOptimizeJoinRule.</span><code><span class="memberNameLink"><a href="../LoptOptimizeJoinRule.html#needsAdjustment(org.apache.calcite.rel.rules.LoptMultiJoin,int%5B%5D,org.apache.calcite.rel.rules.LoptJoinTree,org.apache.calcite.rel.rules.LoptJoinTree,boolean)">needsAdjustment</a></span>​(<a href="../LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin, |
| int[] adjustments, |
| <a href="../LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a> joinTree, |
| <a href="../LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a> otherTree, |
| boolean selfJoin)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets an array indicating how much each factor in a join tree needs to be |
| adjusted to reflect the tree's join ordering</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="../LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptOptimizeJoinRule.</span><code><span class="memberNameLink"><a href="../LoptOptimizeJoinRule.html#pushDownFactor(org.apache.calcite.rel.metadata.RelMetadataQuery,org.apache.calcite.tools.RelBuilder,org.apache.calcite.rel.rules.LoptMultiJoin,org.apache.calcite.rel.rules.LoptSemiJoinOptimizer,org.apache.calcite.rel.rules.LoptJoinTree,int,java.util.BitSet,java.util.List,boolean)">pushDownFactor</a></span>​(<a href="../../metadata/RelMetadataQuery.html" title="class in org.apache.calcite.rel.metadata">RelMetadataQuery</a> mq, |
| <a href="../../../tools/RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a> relBuilder, |
| <a href="../LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin, |
| <a href="../LoptSemiJoinOptimizer.html" title="class in org.apache.calcite.rel.rules">LoptSemiJoinOptimizer</a> semiJoinOpt, |
| <a href="../LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a> joinTree, |
| int factorToAdd, |
| java.util.BitSet factorsNeeded, |
| java.util.List<<a href="../../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> filtersToAdd, |
| boolean selfJoin)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a join tree where the new factor is pushed down one of the |
| operands of the current join tree</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private boolean</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptOptimizeJoinRule.</span><code><span class="memberNameLink"><a href="../LoptOptimizeJoinRule.html#remapJoinReferences(org.apache.calcite.rel.rules.LoptMultiJoin,int,java.util.List,int,int%5B%5D,int,int,boolean)">remapJoinReferences</a></span>​(<a href="../LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin, |
| int factor, |
| java.util.List<java.lang.Integer> newJoinOrder, |
| int newPos, |
| int[] adjustments, |
| int offset, |
| int newOffset, |
| boolean alwaysUseDefault)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets an adjustment array based on where column references for a |
| particular factor end up as a result of a new join ordering.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptSemiJoinOptimizer.</span><code><span class="memberNameLink"><a href="../LoptSemiJoinOptimizer.html#removeJoin(org.apache.calcite.rel.rules.LoptMultiJoin,org.apache.calcite.rel.logical.LogicalJoin,int,int)">removeJoin</a></span>​(<a href="../LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin, |
| <a href="../../logical/LogicalJoin.html" title="class in org.apache.calcite.rel.logical">LogicalJoin</a> semiJoin, |
| int factIdx, |
| int dimIdx)</code></th> |
| <td class="colLast"> |
| <div class="block">Determines whether a join of the dimension table in a semijoin can be |
| removed.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptOptimizeJoinRule.</span><code><span class="memberNameLink"><a href="../LoptOptimizeJoinRule.html#setFactorJoinKeys(org.apache.calcite.rel.rules.LoptMultiJoin,java.util.List,org.apache.calcite.util.ImmutableBitSet,int,int,org.apache.calcite.util.ImmutableBitSet.Builder)">setFactorJoinKeys</a></span>​(<a href="../LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin, |
| java.util.List<<a href="../../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> filters, |
| <a href="../../../util/ImmutableBitSet.html" title="class in org.apache.calcite.util">ImmutableBitSet</a> joinFactors, |
| int factorStart, |
| int nFields, |
| <a href="../../../util/ImmutableBitSet.Builder.html" title="class in org.apache.calcite.util">ImmutableBitSet.Builder</a> joinKeys)</code></th> |
| <td class="colLast"> |
| <div class="block">Locates from a list of filters those that correspond to a particular join |
| tree.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="../../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptOptimizeJoinRule.</span><code><span class="memberNameLink"><a href="../LoptOptimizeJoinRule.html#swapFilter(org.apache.calcite.rex.RexBuilder,org.apache.calcite.rel.rules.LoptMultiJoin,org.apache.calcite.rel.rules.LoptJoinTree,org.apache.calcite.rel.rules.LoptJoinTree,org.apache.calcite.rex.RexNode)">swapFilter</a></span>​(<a href="../../../rex/RexBuilder.html" title="class in org.apache.calcite.rex">RexBuilder</a> rexBuilder, |
| <a href="../LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin, |
| <a href="../LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a> origLeft, |
| <a href="../LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a> origRight, |
| <a href="../../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> condition)</code></th> |
| <td class="colLast"> |
| <div class="block">Adjusts a filter to reflect swapping of join inputs</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private boolean</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">LoptOptimizeJoinRule.</span><code><span class="memberNameLink"><a href="../LoptOptimizeJoinRule.html#swapInputs(org.apache.calcite.rel.metadata.RelMetadataQuery,org.apache.calcite.rel.rules.LoptMultiJoin,org.apache.calcite.rel.rules.LoptJoinTree,org.apache.calcite.rel.rules.LoptJoinTree,boolean)">swapInputs</a></span>​(<a href="../../metadata/RelMetadataQuery.html" title="class in org.apache.calcite.rel.metadata">RelMetadataQuery</a> mq, |
| <a href="../LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin, |
| <a href="../LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a> left, |
| <a href="../LoptJoinTree.html" title="class in org.apache.calcite.rel.rules">LoptJoinTree</a> right, |
| boolean selfJoin)</code></th> |
| <td class="colLast"> |
| <div class="block">Swaps the operands to a join, so the smaller input is on the right.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Constructors in <a href="../package-summary.html">org.apache.calcite.rel.rules</a> with parameters of type <a href="../LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../LoptSemiJoinOptimizer.html#%3Cinit%3E(org.apache.calcite.rel.metadata.RelMetadataQuery,org.apache.calcite.rel.rules.LoptMultiJoin,org.apache.calcite.rex.RexBuilder)">LoptSemiJoinOptimizer</a></span>​(<a href="../../metadata/RelMetadataQuery.html" title="class in org.apache.calcite.rel.metadata">RelMetadataQuery</a> mq, |
| <a href="../LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">LoptMultiJoin</a> multiJoin, |
| <a href="../../../rex/RexBuilder.html" title="class in org.apache.calcite.rex">RexBuilder</a> rexBuilder)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </main> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a id="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../index.html">Overview</a></li> |
| <li><a href="../package-summary.html">Package</a></li> |
| <li><a href="../LoptMultiJoin.html" title="class in org.apache.calcite.rel.rules">Class</a></li> |
| <li class="navBarCell1Rev">Use</li> |
| <li><a href="../package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 2012–2019 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |