| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>Mappings (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="Mappings (Apache Calcite API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":9,"i31":9,"i32":9,"i33":9}; |
| var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| var pathtoroot = "../../../../../"; |
| var useModuleDirectories = true; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/Mappings.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <ul class="navListSearch"> |
| <li><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <main role="main"> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.apache.calcite.util.mapping</a></div> |
| <h2 title="Class Mappings" class="title">Class Mappings</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.calcite.util.mapping.Mappings</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <pre>public abstract class <span class="typeNameLabel">Mappings</span> |
| extends java.lang.Object</pre> |
| <div class="block">Utility functions related to mappings.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="MappingType.html" title="enum in org.apache.calcite.util.mapping"><code>MappingType</code></a>, |
| <a href="Mapping.html" title="interface in org.apache.calcite.util.mapping"><code>Mapping</code></a>, |
| <a href="../Permutation.html" title="class in org.apache.calcite.util"><code>Permutation</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Class</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="Mappings.AbstractMapping.html" title="class in org.apache.calcite.util.mapping">Mappings.AbstractMapping</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Abstract implementation of <a href="Mapping.html" title="interface in org.apache.calcite.util.mapping"><code>Mapping</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static interface </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="Mappings.CoreMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.CoreMapping</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Core interface of all mappings.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="Mappings.FiniteAbstractMapping.html" title="class in org.apache.calcite.util.mapping">Mappings.FiniteAbstractMapping</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Abstract implementation of mapping where both source and target |
| domains are finite.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static interface </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="Mappings.FunctionMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.FunctionMapping</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Mapping where every source has a target.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>(package private) static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="Mappings.FunctionMappingIter.html" title="class in org.apache.calcite.util.mapping">Mappings.FunctionMappingIter</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Iterator that yields the (source, target) values in a |
| <a href="Mappings.FunctionMapping.html" title="interface in org.apache.calcite.util.mapping"><code>Mappings.FunctionMapping</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="Mappings.IdentityMapping.html" title="class in org.apache.calcite.util.mapping">Mappings.IdentityMapping</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The identity mapping, of a given size, or infinite.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="Mappings.InverseMapping.html" title="class in org.apache.calcite.util.mapping">Mappings.InverseMapping</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Decorator which converts any <a href="Mapping.html" title="interface in org.apache.calcite.util.mapping"><code>Mapping</code></a> into the inverse of itself.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="Mappings.NoElementException.html" title="class in org.apache.calcite.util.mapping">Mappings.NoElementException</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Thrown when a mapping is expected to return one element but returns none.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="Mappings.OverridingSourceMapping.html" title="class in org.apache.calcite.util.mapping">Mappings.OverridingSourceMapping</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Source mapping that returns the same result as a parent |
| <a href="Mappings.SourceMapping.html" title="interface in org.apache.calcite.util.mapping"><code>Mappings.SourceMapping</code></a> except for specific overriding elements.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="Mappings.OverridingTargetMapping.html" title="class in org.apache.calcite.util.mapping">Mappings.OverridingTargetMapping</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Target mapping that returns the same result as a parent |
| <a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping"><code>Mappings.TargetMapping</code></a> except for specific overriding elements.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="Mappings.PartialFunctionImpl.html" title="class in org.apache.calcite.util.mapping">Mappings.PartialFunctionImpl</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Implementation of <a href="Mapping.html" title="interface in org.apache.calcite.util.mapping"><code>Mapping</code></a> where a source can have at most one |
| target, and a target can have any number of sources.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="Mappings.PartialMapping.html" title="class in org.apache.calcite.util.mapping">Mappings.PartialMapping</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">A mapping where a source has at most one target, and every target has at |
| most one source.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static interface </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="Mappings.SourceMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.SourceMapping</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Mapping suitable for sourcing columns.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>(package private) static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="Mappings.SurjectionWithInverse.html" title="class in org.apache.calcite.util.mapping">Mappings.SurjectionWithInverse</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">A surjection with inverse has precisely one source for each target.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static interface </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Mapping suitable for mapping columns to a target.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="Mappings.TooManyElementsException.html" title="class in org.apache.calcite.util.mapping">Mappings.TooManyElementsException</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Thrown when a mapping is expected to return one element but returns |
| several.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier</th> |
| <th class="colSecond" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private </code></td> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">Mappings</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>static <a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#append(org.apache.calcite.util.mapping.Mappings.TargetMapping,org.apache.calcite.util.mapping.Mappings.TargetMapping)">append</a></span>​(<a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a> mapping0, |
| <a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a> mapping1)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a mapping by appending two mappings.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>static java.util.BitSet</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#apply(org.apache.calcite.util.mapping.Mapping,java.util.BitSet)">apply</a></span>​(<a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a> mapping, |
| java.util.BitSet bitSet)</code></th> |
| <td class="colLast"> |
| <div class="block">Applies a mapping to a BitSet.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>static <T> java.util.List<T></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#apply(org.apache.calcite.util.mapping.Mapping,java.util.List)">apply</a></span>​(<a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a> mapping, |
| java.util.List<T> list)</code></th> |
| <td class="colLast"> |
| <div class="block">Applies a mapping to a list.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../ImmutableBitSet.html" title="class in org.apache.calcite.util">ImmutableBitSet</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#apply(org.apache.calcite.util.mapping.Mapping,org.apache.calcite.util.ImmutableBitSet)">apply</a></span>​(<a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a> mapping, |
| <a href="../ImmutableBitSet.html" title="class in org.apache.calcite.util">ImmutableBitSet</a> bitSet)</code></th> |
| <td class="colLast"> |
| <div class="block">Applies a mapping to an <code>ImmutableBitSet</code>.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#apply(org.apache.calcite.util.mapping.Mappings.TargetMapping,int)">apply</a></span>​(<a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a> mapping, |
| int i)</code></th> |
| <td class="colLast"> |
| <div class="block">Applies a mapping to an optional integer, returning an optional |
| result.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>static com.google.common.collect.ImmutableList<<a href="../ImmutableBitSet.html" title="class in org.apache.calcite.util">ImmutableBitSet</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#apply2(org.apache.calcite.util.mapping.Mapping,java.lang.Iterable)">apply2</a></span>​(<a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a> mapping, |
| java.lang.Iterable<<a href="../ImmutableBitSet.html" title="class in org.apache.calcite.util">ImmutableBitSet</a>> bitSets)</code></th> |
| <td class="colLast"> |
| <div class="block">Applies a mapping to a collection of <code>ImmutableBitSet</code>s.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>static java.util.List<java.lang.Integer></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#apply2(org.apache.calcite.util.mapping.Mapping,java.util.List)">apply2</a></span>​(<a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a> mapping, |
| java.util.List<java.lang.Integer> list)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>static <T> java.util.List<T></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#apply3(org.apache.calcite.util.mapping.Mapping,java.util.List)">apply3</a></span>​(<a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a> mapping, |
| java.util.List<T> list)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a view of a list, permuting according to a mapping.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>static java.util.List<java.lang.Integer></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#asList(org.apache.calcite.util.mapping.Mappings.TargetMapping)">asList</a></span>​(<a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a> mapping)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a mapping as a list such that <code>list.get(source)</code> is |
| <code>mapping.getTarget(source)</code> and <code>list.size()</code> is |
| <code>mapping.getSourceCount()</code>.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>static <a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#bijection(java.util.List)">bijection</a></span>​(java.util.List<java.lang.Integer> targets)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a bijection.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>static <a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#bijection(java.util.Map)">bijection</a></span>​(java.util.Map<java.lang.Integer,​java.lang.Integer> targets)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a bijection.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>static <a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#create(org.apache.calcite.util.mapping.MappingType,int,int)">create</a></span>​(<a href="MappingType.html" title="enum in org.apache.calcite.util.mapping">MappingType</a> mappingType, |
| int sourceCount, |
| int targetCount)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a mapping with required properties.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>static <a href="Mappings.IdentityMapping.html" title="class in org.apache.calcite.util.mapping">Mappings.IdentityMapping</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createIdentity(int)">createIdentity</a></span>​(int fieldCount)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates the identity mapping.</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>static <a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createShiftMapping(int,int...)">createShiftMapping</a></span>​(int sourceCount, |
| int... ints)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a mapping that consists of a set of contiguous ranges.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>static <a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#divide(org.apache.calcite.util.mapping.Mapping,org.apache.calcite.util.mapping.Mapping)">divide</a></span>​(<a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a> mapping1, |
| <a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a> mapping2)</code></th> |
| <td class="colLast"> |
| <div class="block">Divides one mapping by another.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>static java.lang.Iterable<<a href="IntPair.html" title="class in org.apache.calcite.util.mapping">IntPair</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#invert(java.lang.Iterable)">invert</a></span>​(java.lang.Iterable<<a href="IntPair.html" title="class in org.apache.calcite.util.mapping">IntPair</a>> pairs)</code></th> |
| <td class="colLast"> |
| <div class="block">Inverts an <code>Iterable</code> over |
| <a href="IntPair.html" title="class in org.apache.calcite.util.mapping"><code>IntPair</code></a>s.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>static java.util.Iterator<<a href="IntPair.html" title="class in org.apache.calcite.util.mapping">IntPair</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#invert(java.util.Iterator)">invert</a></span>​(java.util.Iterator<<a href="IntPair.html" title="class in org.apache.calcite.util.mapping">IntPair</a>> pairs)</code></th> |
| <td class="colLast"> |
| <div class="block">Inverts an <code>Iterator</code> over |
| <a href="IntPair.html" title="class in org.apache.calcite.util.mapping"><code>IntPair</code></a>s.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>static <a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#invert(org.apache.calcite.util.mapping.Mapping)">invert</a></span>​(<a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a> mapping)</code></th> |
| <td class="colLast"> |
| <div class="block">Converts a mapping to its inverse.</div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isIdentity(java.util.List,int)">isIdentity</a></span>​(java.util.List<java.lang.Integer> list, |
| int count)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns whether a list of integers is the identity mapping |
| [0, ..., n - 1].</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isIdentity(org.apache.calcite.util.mapping.Mappings.TargetMapping)">isIdentity</a></span>​(<a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a> mapping)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns whether a mapping is the identity.</div> |
| </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#keepsOrdering(org.apache.calcite.util.mapping.Mappings.TargetMapping)">keepsOrdering</a></span>​(<a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a> mapping)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns whether a mapping keeps order.</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>static <a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#merge(org.apache.calcite.util.mapping.Mappings.TargetMapping,org.apache.calcite.util.mapping.Mappings.TargetMapping)">merge</a></span>​(<a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a> mapping0, |
| <a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a> mapping1)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a mapping by merging two mappings.</div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>static <a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#multiply(org.apache.calcite.util.mapping.Mapping,org.apache.calcite.util.mapping.Mapping)">multiply</a></span>​(<a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a> mapping1, |
| <a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a> mapping2)</code></th> |
| <td class="colLast"> |
| <div class="block">Multiplies one mapping by another.</div> |
| </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>static <a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#offset(org.apache.calcite.util.mapping.Mappings.TargetMapping,int,int)">offset</a></span>​(<a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a> mapping, |
| int offset, |
| int sourceCount)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a mapping that shifts a given mapping's source and target by a |
| given offset.</div> |
| </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>static <a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#offsetSource(org.apache.calcite.util.mapping.Mappings.TargetMapping,int)">offsetSource</a></span>​(<a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a> mapping, |
| int offset)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a mapping that shifts a given mapping's source by a given |
| offset, incrementing the number of sources by the minimum possible.</div> |
| </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>static <a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#offsetSource(org.apache.calcite.util.mapping.Mappings.TargetMapping,int,int)">offsetSource</a></span>​(<a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a> mapping, |
| int offset, |
| int sourceCount)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a mapping that shifts a given mapping's source by a given |
| offset.</div> |
| </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code>static <a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#offsetTarget(org.apache.calcite.util.mapping.Mappings.TargetMapping,int)">offsetTarget</a></span>​(<a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a> mapping, |
| int offset)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a mapping that shifts a given mapping's target by a given |
| offset, incrementing the number of targets by the minimum possible.</div> |
| </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>static <a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#offsetTarget(org.apache.calcite.util.mapping.Mappings.TargetMapping,int,int)">offsetTarget</a></span>​(<a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a> mapping, |
| int offset, |
| int targetCount)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a mapping that shifts a given mapping's target by a given |
| offset.</div> |
| </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>static <T> java.util.List<T></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#permute(java.util.List,org.apache.calcite.util.mapping.Mappings.TargetMapping)">permute</a></span>​(java.util.List<T> list, |
| <a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a> mapping)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a view of a list, permuting according to a target mapping.</div> |
| </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code>static <a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#source(java.util.List,int)">source</a></span>​(java.util.List<java.lang.Integer> targets, |
| int targetCount)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code>static <a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#target(java.lang.Iterable,int,int)">target</a></span>​(java.lang.Iterable<<a href="IntPair.html" title="class in org.apache.calcite.util.mapping">IntPair</a>> pairs, |
| int sourceCount, |
| int targetCount)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code>static <a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#target(java.util.function.IntFunction,int,int)">target</a></span>​(java.util.function.IntFunction<java.lang.Integer> function, |
| int sourceCount, |
| int targetCount)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code>static <a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#target(java.util.List,int)">target</a></span>​(java.util.List<java.lang.Integer> sources, |
| int sourceCount)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code>static <a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#target(java.util.Map,int,int)">target</a></span>​(java.util.Map<java.lang.Integer,​java.lang.Integer> map, |
| int sourceCount, |
| int targetCount)</code></th> |
| <td class="colLast"> |
| <div class="block">Converts a <code>Map</code> of integers to a <a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping"><code>Mappings.TargetMapping</code></a>.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.Object</h3> |
| <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a id="<init>()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>Mappings</h4> |
| <pre>private Mappings()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ============ METHOD DETAIL ========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a id="create(org.apache.calcite.util.mapping.MappingType,int,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>create</h4> |
| <pre class="methodSignature">public static <a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a> create​(<a href="MappingType.html" title="enum in org.apache.calcite.util.mapping">MappingType</a> mappingType, |
| int sourceCount, |
| int targetCount)</pre> |
| <div class="block">Creates a mapping with required properties.</div> |
| </li> |
| </ul> |
| <a id="createIdentity(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createIdentity</h4> |
| <pre class="methodSignature">public static <a href="Mappings.IdentityMapping.html" title="class in org.apache.calcite.util.mapping">Mappings.IdentityMapping</a> createIdentity​(int fieldCount)</pre> |
| <div class="block">Creates the identity mapping. |
| |
| <p>For example, <code>createIdentity(2)</code> returns the mapping |
| {0:0, 1:1, 2:2}.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>fieldCount</code> - Number of sources/targets</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Identity mapping</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="invert(org.apache.calcite.util.mapping.Mapping)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>invert</h4> |
| <pre class="methodSignature">public static <a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a> invert​(<a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a> mapping)</pre> |
| <div class="block">Converts a mapping to its inverse.</div> |
| </li> |
| </ul> |
| <a id="divide(org.apache.calcite.util.mapping.Mapping,org.apache.calcite.util.mapping.Mapping)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>divide</h4> |
| <pre class="methodSignature">public static <a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a> divide​(<a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a> mapping1, |
| <a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a> mapping2)</pre> |
| <div class="block">Divides one mapping by another. |
| |
| <p><code>divide(A, B)</code> returns a mapping C such that B . C (the mapping |
| B followed by the mapping C) is equivalent to A.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>mapping1</code> - First mapping</dd> |
| <dd><code>mapping2</code> - Second mapping</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Mapping mapping3 such that mapping1 = mapping2 . mapping3</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="multiply(org.apache.calcite.util.mapping.Mapping,org.apache.calcite.util.mapping.Mapping)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>multiply</h4> |
| <pre class="methodSignature">public static <a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a> multiply​(<a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a> mapping1, |
| <a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a> mapping2)</pre> |
| <div class="block">Multiplies one mapping by another. |
| |
| <p><code>divide(A, B)</code> returns a mapping C such that B . C (the mapping |
| B followed by the mapping C) is equivalent to A.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>mapping1</code> - First mapping</dd> |
| <dd><code>mapping2</code> - Second mapping</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Mapping mapping3 such that mapping1 = mapping2 . mapping3</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="apply(org.apache.calcite.util.mapping.Mapping,java.util.BitSet)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>apply</h4> |
| <pre class="methodSignature">public static java.util.BitSet apply​(<a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a> mapping, |
| java.util.BitSet bitSet)</pre> |
| <div class="block">Applies a mapping to a BitSet. |
| |
| <p>If the mapping does not affect the bit set, returns the original. |
| Never changes the original.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>mapping</code> - Mapping</dd> |
| <dd><code>bitSet</code> - Bit set</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Bit set with mapping applied</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="apply(org.apache.calcite.util.mapping.Mapping,org.apache.calcite.util.ImmutableBitSet)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>apply</h4> |
| <pre class="methodSignature">public static <a href="../ImmutableBitSet.html" title="class in org.apache.calcite.util">ImmutableBitSet</a> apply​(<a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a> mapping, |
| <a href="../ImmutableBitSet.html" title="class in org.apache.calcite.util">ImmutableBitSet</a> bitSet)</pre> |
| <div class="block">Applies a mapping to an <code>ImmutableBitSet</code>. |
| |
| <p>If the mapping does not affect the bit set, returns the original. |
| Never changes the original.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>mapping</code> - Mapping</dd> |
| <dd><code>bitSet</code> - Bit set</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Bit set with mapping applied</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="apply2(org.apache.calcite.util.mapping.Mapping,java.lang.Iterable)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>apply2</h4> |
| <pre class="methodSignature">public static com.google.common.collect.ImmutableList<<a href="../ImmutableBitSet.html" title="class in org.apache.calcite.util">ImmutableBitSet</a>> apply2​(<a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a> mapping, |
| java.lang.Iterable<<a href="../ImmutableBitSet.html" title="class in org.apache.calcite.util">ImmutableBitSet</a>> bitSets)</pre> |
| <div class="block">Applies a mapping to a collection of <code>ImmutableBitSet</code>s.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>mapping</code> - Mapping</dd> |
| <dd><code>bitSets</code> - Collection of bit sets</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Sorted bit sets with mapping applied</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="apply(org.apache.calcite.util.mapping.Mapping,java.util.List)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>apply</h4> |
| <pre class="methodSignature">public static <T> java.util.List<T> apply​(<a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a> mapping, |
| java.util.List<T> list)</pre> |
| <div class="block">Applies a mapping to a list.</div> |
| <dl> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>T</code> - Element type</dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>mapping</code> - Mapping</dd> |
| <dd><code>list</code> - List</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>List with elements permuted according to mapping</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="apply2(org.apache.calcite.util.mapping.Mapping,java.util.List)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>apply2</h4> |
| <pre class="methodSignature">public static java.util.List<java.lang.Integer> apply2​(<a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a> mapping, |
| java.util.List<java.lang.Integer> list)</pre> |
| </li> |
| </ul> |
| <a id="apply3(org.apache.calcite.util.mapping.Mapping,java.util.List)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>apply3</h4> |
| <pre class="methodSignature">public static <T> java.util.List<T> apply3​(<a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a> mapping, |
| java.util.List<T> list)</pre> |
| <div class="block">Creates a view of a list, permuting according to a mapping.</div> |
| <dl> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>T</code> - Element type</dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>mapping</code> - Mapping</dd> |
| <dd><code>list</code> - List</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Permuted view of list</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="permute(java.util.List,org.apache.calcite.util.mapping.Mappings.TargetMapping)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>permute</h4> |
| <pre class="methodSignature">public static <T> java.util.List<T> permute​(java.util.List<T> list, |
| <a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a> mapping)</pre> |
| <div class="block">Creates a view of a list, permuting according to a target mapping.</div> |
| <dl> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>T</code> - Element type</dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>mapping</code> - Mapping</dd> |
| <dd><code>list</code> - List</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Permuted view of list</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="asList(org.apache.calcite.util.mapping.Mappings.TargetMapping)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>asList</h4> |
| <pre class="methodSignature">public static java.util.List<java.lang.Integer> asList​(<a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a> mapping)</pre> |
| <div class="block">Returns a mapping as a list such that <code>list.get(source)</code> is |
| <code>mapping.getTarget(source)</code> and <code>list.size()</code> is |
| <code>mapping.getSourceCount()</code>. |
| |
| <p>Converse of <a href="#target(java.util.List,int)"><code>target(List, int)</code></a></p></div> |
| </li> |
| </ul> |
| <a id="target(java.util.Map,int,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>target</h4> |
| <pre class="methodSignature">public static <a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a> target​(java.util.Map<java.lang.Integer,​java.lang.Integer> map, |
| int sourceCount, |
| int targetCount)</pre> |
| <div class="block">Converts a <code>Map</code> of integers to a <a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping"><code>Mappings.TargetMapping</code></a>.</div> |
| </li> |
| </ul> |
| <a id="target(java.util.function.IntFunction,int,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>target</h4> |
| <pre class="methodSignature">public static <a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a> target​(java.util.function.IntFunction<java.lang.Integer> function, |
| int sourceCount, |
| int targetCount)</pre> |
| </li> |
| </ul> |
| <a id="target(java.lang.Iterable,int,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>target</h4> |
| <pre class="methodSignature">public static <a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a> target​(java.lang.Iterable<<a href="IntPair.html" title="class in org.apache.calcite.util.mapping">IntPair</a>> pairs, |
| int sourceCount, |
| int targetCount)</pre> |
| </li> |
| </ul> |
| <a id="source(java.util.List,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>source</h4> |
| <pre class="methodSignature">public static <a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a> source​(java.util.List<java.lang.Integer> targets, |
| int targetCount)</pre> |
| </li> |
| </ul> |
| <a id="target(java.util.List,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>target</h4> |
| <pre class="methodSignature">public static <a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a> target​(java.util.List<java.lang.Integer> sources, |
| int sourceCount)</pre> |
| </li> |
| </ul> |
| <a id="bijection(java.util.List)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>bijection</h4> |
| <pre class="methodSignature">public static <a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a> bijection​(java.util.List<java.lang.Integer> targets)</pre> |
| <div class="block">Creates a bijection. |
| |
| <p>Throws if sources and targets are not one to one.</p></div> |
| </li> |
| </ul> |
| <a id="bijection(java.util.Map)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>bijection</h4> |
| <pre class="methodSignature">public static <a href="Mapping.html" title="interface in org.apache.calcite.util.mapping">Mapping</a> bijection​(java.util.Map<java.lang.Integer,​java.lang.Integer> targets)</pre> |
| <div class="block">Creates a bijection. |
| |
| <p>Throws if sources and targets are not one to one.</div> |
| </li> |
| </ul> |
| <a id="isIdentity(org.apache.calcite.util.mapping.Mappings.TargetMapping)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isIdentity</h4> |
| <pre class="methodSignature">public static boolean isIdentity​(<a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a> mapping)</pre> |
| <div class="block">Returns whether a mapping is the identity.</div> |
| </li> |
| </ul> |
| <a id="keepsOrdering(org.apache.calcite.util.mapping.Mappings.TargetMapping)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>keepsOrdering</h4> |
| <pre class="methodSignature">public static boolean keepsOrdering​(<a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a> mapping)</pre> |
| <div class="block">Returns whether a mapping keeps order. |
| |
| <p>For example, {0:0, 1:1} and {0:1, 1:1} keeps order, |
| and {0:1, 1:0} breaks the initial order.</div> |
| </li> |
| </ul> |
| <a id="createShiftMapping(int,int...)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createShiftMapping</h4> |
| <pre class="methodSignature">public static <a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a> createShiftMapping​(int sourceCount, |
| int... ints)</pre> |
| <div class="block">Creates a mapping that consists of a set of contiguous ranges. |
| |
| <p>For example,</p> |
| |
| <blockquote><pre>createShiftMapping(60, |
| 100, 0, 3, |
| 200, 50, 5); |
| </pre></blockquote> |
| |
| <p>creates</p> |
| |
| <table> |
| <caption>Example mapping</caption> |
| <tr><th>Source</th><th>Target</th></tr> |
| <tr><td>0</td><td>100</td></tr> |
| <tr><td>1</td><td>101</td></tr> |
| <tr><td>2</td><td>102</td></tr> |
| <tr><td>3</td><td>-1</td></tr> |
| <tr><td>...</td><td>-1</td></tr> |
| <tr><td>50</td><td>200</td></tr> |
| <tr><td>51</td><td>201</td></tr> |
| <tr><td>52</td><td>202</td></tr> |
| <tr><td>53</td><td>203</td></tr> |
| <tr><td>54</td><td>204</td></tr> |
| <tr><td>55</td><td>-1</td></tr> |
| <tr><td>...</td><td>-1</td></tr> |
| <tr><td>59</td><td>-1</td></tr> |
| </table></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>sourceCount</code> - Maximum value of <code>source</code></dd> |
| <dd><code>ints</code> - Collection of ranges, each |
| <code>(target, source, count)</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Mapping that maps from source ranges to target ranges</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="append(org.apache.calcite.util.mapping.Mappings.TargetMapping,org.apache.calcite.util.mapping.Mappings.TargetMapping)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>append</h4> |
| <pre class="methodSignature">public static <a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a> append​(<a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a> mapping0, |
| <a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a> mapping1)</pre> |
| <div class="block">Creates a mapping by appending two mappings. |
| |
| <p>Sources and targets of the second mapping are shifted to the right.</p> |
| |
| <p>For example, <pre>append({0:0, 1:1}, {0:0, 1:1, 2:2})</pre> yields |
| <pre>{0:0, 1:1, 2:2, 3:3, 4:4}</pre>.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#merge(org.apache.calcite.util.mapping.Mappings.TargetMapping,org.apache.calcite.util.mapping.Mappings.TargetMapping)"><code>merge(org.apache.calcite.util.mapping.Mappings.TargetMapping, org.apache.calcite.util.mapping.Mappings.TargetMapping)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="merge(org.apache.calcite.util.mapping.Mappings.TargetMapping,org.apache.calcite.util.mapping.Mappings.TargetMapping)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>merge</h4> |
| <pre class="methodSignature">public static <a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a> merge​(<a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a> mapping0, |
| <a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a> mapping1)</pre> |
| <div class="block">Creates a mapping by merging two mappings. There must be no clashes. |
| |
| <p>Unlike <a href="#append(org.apache.calcite.util.mapping.Mappings.TargetMapping,org.apache.calcite.util.mapping.Mappings.TargetMapping)"><code>append(org.apache.calcite.util.mapping.Mappings.TargetMapping, org.apache.calcite.util.mapping.Mappings.TargetMapping)</code></a>, sources and targets are not shifted. |
| |
| <p>For example, <code>merge({0:0, 1:1}, {2:2, 3:3, 4:4})</code> yields |
| <code>{0:0, 1:1, 2:2, 3:3, 4:4}</code>. |
| <code>merge({0:0, 1:1}, {1:2, 2:3})</code> throws, because there are |
| two entries with source=1.</div> |
| </li> |
| </ul> |
| <a id="offsetSource(org.apache.calcite.util.mapping.Mappings.TargetMapping,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>offsetSource</h4> |
| <pre class="methodSignature">public static <a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a> offsetSource​(<a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a> mapping, |
| int offset)</pre> |
| <div class="block">Returns a mapping that shifts a given mapping's source by a given |
| offset, incrementing the number of sources by the minimum possible.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>mapping</code> - Input mapping</dd> |
| <dd><code>offset</code> - Offset to be applied to each source</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Shifted mapping</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="offsetSource(org.apache.calcite.util.mapping.Mappings.TargetMapping,int,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>offsetSource</h4> |
| <pre class="methodSignature">public static <a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a> offsetSource​(<a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a> mapping, |
| int offset, |
| int sourceCount)</pre> |
| <div class="block">Returns a mapping that shifts a given mapping's source by a given |
| offset. |
| |
| <p>For example, given <code>mapping</code> with sourceCount=2, targetCount=8, |
| and (source, target) entries {[0: 5], [1: 7]}, offsetSource(mapping, 3) |
| returns a mapping with sourceCount=5, targetCount=8, |
| and (source, target) entries {[3: 5], [4: 7]}.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>mapping</code> - Input mapping</dd> |
| <dd><code>offset</code> - Offset to be applied to each source</dd> |
| <dd><code>sourceCount</code> - New source count; must be at least <code>mapping</code>'s |
| source count plus <code>offset</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Shifted mapping</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="offsetTarget(org.apache.calcite.util.mapping.Mappings.TargetMapping,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>offsetTarget</h4> |
| <pre class="methodSignature">public static <a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a> offsetTarget​(<a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a> mapping, |
| int offset)</pre> |
| <div class="block">Returns a mapping that shifts a given mapping's target by a given |
| offset, incrementing the number of targets by the minimum possible.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>mapping</code> - Input mapping</dd> |
| <dd><code>offset</code> - Offset to be applied to each target</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Shifted mapping</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="offsetTarget(org.apache.calcite.util.mapping.Mappings.TargetMapping,int,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>offsetTarget</h4> |
| <pre class="methodSignature">public static <a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a> offsetTarget​(<a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a> mapping, |
| int offset, |
| int targetCount)</pre> |
| <div class="block">Returns a mapping that shifts a given mapping's target by a given |
| offset. |
| |
| <p>For example, given <code>mapping</code> with sourceCount=2, targetCount=8, |
| and (source, target) entries {[0: 5], [1: 7]}, offsetTarget(mapping, 3) |
| returns a mapping with sourceCount=2, targetCount=11, |
| and (source, target) entries {[0: 8], [1: 10]}.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>mapping</code> - Input mapping</dd> |
| <dd><code>offset</code> - Offset to be applied to each target</dd> |
| <dd><code>targetCount</code> - New target count; must be at least <code>mapping</code>'s |
| target count plus <code>offset</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Shifted mapping</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="offset(org.apache.calcite.util.mapping.Mappings.TargetMapping,int,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>offset</h4> |
| <pre class="methodSignature">public static <a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a> offset​(<a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a> mapping, |
| int offset, |
| int sourceCount)</pre> |
| <div class="block">Returns a mapping that shifts a given mapping's source and target by a |
| given offset. |
| |
| <p>For example, given <code>mapping</code> with sourceCount=2, targetCount=8, |
| and (source, target) entries {[0: 5], [1: 7]}, offsetSource(mapping, 3) |
| returns a mapping with sourceCount=5, targetCount=8, |
| and (source, target) entries {[3: 8], [4: 10]}.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>mapping</code> - Input mapping</dd> |
| <dd><code>offset</code> - Offset to be applied to each source</dd> |
| <dd><code>sourceCount</code> - New source count; must be at least <code>mapping</code>'s |
| source count plus <code>offset</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Shifted mapping</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isIdentity(java.util.List,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isIdentity</h4> |
| <pre class="methodSignature">public static boolean isIdentity​(java.util.List<java.lang.Integer> list, |
| int count)</pre> |
| <div class="block">Returns whether a list of integers is the identity mapping |
| [0, ..., n - 1].</div> |
| </li> |
| </ul> |
| <a id="invert(java.lang.Iterable)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>invert</h4> |
| <pre class="methodSignature">public static java.lang.Iterable<<a href="IntPair.html" title="class in org.apache.calcite.util.mapping">IntPair</a>> invert​(java.lang.Iterable<<a href="IntPair.html" title="class in org.apache.calcite.util.mapping">IntPair</a>> pairs)</pre> |
| <div class="block">Inverts an <code>Iterable</code> over |
| <a href="IntPair.html" title="class in org.apache.calcite.util.mapping"><code>IntPair</code></a>s.</div> |
| </li> |
| </ul> |
| <a id="invert(java.util.Iterator)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>invert</h4> |
| <pre class="methodSignature">public static java.util.Iterator<<a href="IntPair.html" title="class in org.apache.calcite.util.mapping">IntPair</a>> invert​(java.util.Iterator<<a href="IntPair.html" title="class in org.apache.calcite.util.mapping">IntPair</a>> pairs)</pre> |
| <div class="block">Inverts an <code>Iterator</code> over |
| <a href="IntPair.html" title="class in org.apache.calcite.util.mapping"><code>IntPair</code></a>s.</div> |
| </li> |
| </ul> |
| <a id="apply(org.apache.calcite.util.mapping.Mappings.TargetMapping,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>apply</h4> |
| <pre class="methodSignature">public static int apply​(<a href="Mappings.TargetMapping.html" title="interface in org.apache.calcite.util.mapping">Mappings.TargetMapping</a> mapping, |
| int i)</pre> |
| <div class="block">Applies a mapping to an optional integer, returning an optional |
| result.</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| </div> |
| </main> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a id="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/Mappings.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 2012–2019 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |