| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>CalciteSchema (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="CalciteSchema (Apache Calcite API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"i0":10,"i1":10,"i2":10,"i3":6,"i4":10,"i5":10,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":9,"i13":9,"i14":9,"i15":9,"i16":10,"i17":41,"i18":41,"i19":9,"i20":10,"i21":10,"i22":6,"i23":6,"i24":6,"i25":6,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":6,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":6,"i48":6,"i49":10,"i50":10}; |
| var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated 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/CalciteSchema.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><a href="#field.summary">Field</a> | </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><a href="#field.detail">Field</a> | </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.jdbc</a></div> |
| <h2 title="Class CalciteSchema" class="title">Class CalciteSchema</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.calcite.jdbc.CalciteSchema</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>Direct Known Subclasses:</dt> |
| <dd><code><a href="CachingCalciteSchema.html" title="class in org.apache.calcite.jdbc">CachingCalciteSchema</a></code>, <code><a href="SimpleCalciteSchema.html" title="class in org.apache.calcite.jdbc">SimpleCalciteSchema</a></code></dd> |
| </dl> |
| <hr> |
| <pre>public abstract class <span class="typeNameLabel">CalciteSchema</span> |
| extends java.lang.Object</pre> |
| <div class="block">Schema. |
| |
| <p>Wrapper around user-defined schema used internally.</p></div> |
| </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="CalciteSchema.Entry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.Entry</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Entry in a schema, such as a table or sub-schema.</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="CalciteSchema.FunctionEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.FunctionEntry</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Membership of a function in a schema.</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="CalciteSchema.FunctionEntryImpl.html" title="class in org.apache.calcite.jdbc">CalciteSchema.FunctionEntryImpl</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Implementation of <a href="CalciteSchema.FunctionEntry.html" title="class in org.apache.calcite.jdbc"><code>CalciteSchema.FunctionEntry</code></a> |
| where all properties are held in fields.</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="CalciteSchema.LatticeEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.LatticeEntry</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Membership of a lattice in a schema.</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="CalciteSchema.LatticeEntryImpl.html" title="class in org.apache.calcite.jdbc">CalciteSchema.LatticeEntryImpl</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Implementation of <a href="CalciteSchema.LatticeEntry.html" title="class in org.apache.calcite.jdbc"><code>CalciteSchema.LatticeEntry</code></a> |
| where all properties are held in fields.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="CalciteSchema.SchemaPlusImpl.html" title="class in org.apache.calcite.jdbc">CalciteSchema.SchemaPlusImpl</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Implementation of <a href="../schema/SchemaPlus.html" title="interface in org.apache.calcite.schema"><code>SchemaPlus</code></a> based on a |
| <a href="CalciteSchema.html" title="class in org.apache.calcite.jdbc"><code>CalciteSchema</code></a>.</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="CalciteSchema.TableEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TableEntry</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Membership of a table in a schema.</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="CalciteSchema.TableEntryImpl.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TableEntryImpl</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Implementation of <a href="CalciteSchema.TableEntry.html" title="class in org.apache.calcite.jdbc"><code>CalciteSchema.TableEntry</code></a> |
| where all properties are held in fields.</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="CalciteSchema.TypeEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TypeEntry</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Membership of a type in a schema.</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="CalciteSchema.TypeEntryImpl.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TypeEntryImpl</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Implementation of <a href="CalciteSchema.TypeEntry.html" title="class in org.apache.calcite.jdbc"><code>CalciteSchema.TypeEntry</code></a> |
| where all properties are held in fields.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Field</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../util/NameMultimap.html" title="class in org.apache.calcite.util">NameMultimap</a><<a href="CalciteSchema.FunctionEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.FunctionEntry</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#functionMap">functionMap</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../util/NameSet.html" title="class in org.apache.calcite.util">NameSet</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#functionNames">functionNames</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../util/NameMap.html" title="class in org.apache.calcite.util">NameMap</a><<a href="CalciteSchema.LatticeEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.LatticeEntry</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#latticeMap">latticeMap</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#name">name</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../util/NameMap.html" title="class in org.apache.calcite.util">NameMap</a><<a href="CalciteSchema.FunctionEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.FunctionEntry</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#nullaryFunctionMap">nullaryFunctionMap</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#parent">parent</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private java.util.List<? extends java.util.List<java.lang.String>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#path">path</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../schema/Schema.html" title="interface in org.apache.calcite.schema">Schema</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#schema">schema</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../util/NameMap.html" title="class in org.apache.calcite.util">NameMap</a><<a href="CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#subSchemaMap">subSchemaMap</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../util/NameMap.html" title="class in org.apache.calcite.util">NameMap</a><<a href="CalciteSchema.TableEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TableEntry</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#tableMap">tableMap</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Tables explicitly defined in this schema.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../util/NameMap.html" title="class in org.apache.calcite.util">NameMap</a><<a href="CalciteSchema.TypeEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TypeEntry</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#typeMap">typeMap</a></span></code></th> |
| <td class="colLast"> </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>protected </code></td> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.apache.calcite.jdbc.CalciteSchema,org.apache.calcite.schema.Schema,java.lang.String,org.apache.calcite.util.NameMap,org.apache.calcite.util.NameMap,org.apache.calcite.util.NameMap,org.apache.calcite.util.NameMap,org.apache.calcite.util.NameMultimap,org.apache.calcite.util.NameSet,org.apache.calcite.util.NameMap,java.util.List)">CalciteSchema</a></span>​(<a href="CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> parent, |
| <a href="../schema/Schema.html" title="interface in org.apache.calcite.schema">Schema</a> schema, |
| java.lang.String name, |
| <a href="../util/NameMap.html" title="class in org.apache.calcite.util">NameMap</a><<a href="CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a>> subSchemaMap, |
| <a href="../util/NameMap.html" title="class in org.apache.calcite.util">NameMap</a><<a href="CalciteSchema.TableEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TableEntry</a>> tableMap, |
| <a href="../util/NameMap.html" title="class in org.apache.calcite.util">NameMap</a><<a href="CalciteSchema.LatticeEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.LatticeEntry</a>> latticeMap, |
| <a href="../util/NameMap.html" title="class in org.apache.calcite.util">NameMap</a><<a href="CalciteSchema.TypeEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TypeEntry</a>> typeMap, |
| <a href="../util/NameMultimap.html" title="class in org.apache.calcite.util">NameMultimap</a><<a href="CalciteSchema.FunctionEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.FunctionEntry</a>> functionMap, |
| <a href="../util/NameSet.html" title="class in org.apache.calcite.util">NameSet</a> functionNames, |
| <a href="../util/NameMap.html" title="class in org.apache.calcite.util">NameMap</a><<a href="CalciteSchema.FunctionEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.FunctionEntry</a>> nullaryFunctionMap, |
| java.util.List<? extends java.util.List<java.lang.String>> path)</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="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract 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><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated 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>private <a href="CalciteSchema.LatticeEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.LatticeEntry</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#add(java.lang.String,org.apache.calcite.materialize.Lattice)">add</a></span>​(java.lang.String name, |
| <a href="../materialize/Lattice.html" title="class in org.apache.calcite.materialize">Lattice</a> lattice)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code><a href="CalciteSchema.TypeEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TypeEntry</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#add(java.lang.String,org.apache.calcite.rel.type.RelProtoDataType)">add</a></span>​(java.lang.String name, |
| <a href="../rel/type/RelProtoDataType.html" title="interface in org.apache.calcite.rel.type">RelProtoDataType</a> type)</code></th> |
| <td class="colLast"> |
| <div class="block">Defines a type within this schema.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>private <a href="CalciteSchema.FunctionEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.FunctionEntry</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#add(java.lang.String,org.apache.calcite.schema.Function)">add</a></span>​(java.lang.String name, |
| <a href="../schema/Function.html" title="interface in org.apache.calcite.schema">Function</a> function)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>abstract <a href="CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#add(java.lang.String,org.apache.calcite.schema.Schema)">add</a></span>​(java.lang.String name, |
| <a href="../schema/Schema.html" title="interface in org.apache.calcite.schema">Schema</a> schema)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds a child schema of this schema.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code><a href="CalciteSchema.TableEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TableEntry</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#add(java.lang.String,org.apache.calcite.schema.Table)">add</a></span>​(java.lang.String tableName, |
| <a href="../schema/Table.html" title="interface in org.apache.calcite.schema">Table</a> table)</code></th> |
| <td class="colLast"> |
| <div class="block">Defines a table within this schema.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code><a href="CalciteSchema.TableEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TableEntry</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#add(java.lang.String,org.apache.calcite.schema.Table,com.google.common.collect.ImmutableList)">add</a></span>​(java.lang.String tableName, |
| <a href="../schema/Table.html" title="interface in org.apache.calcite.schema">Table</a> table, |
| com.google.common.collect.ImmutableList<java.lang.String> sqls)</code></th> |
| <td class="colLast"> |
| <div class="block">Defines a table within this schema.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>protected abstract void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addImplicitFuncNamesToBuilder(com.google.common.collect.ImmutableSortedSet.Builder)">addImplicitFuncNamesToBuilder</a></span>​(com.google.common.collect.ImmutableSortedSet.Builder<java.lang.String> builder)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds implicit function names to a builder.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>protected abstract void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addImplicitFunctionsToBuilder(com.google.common.collect.ImmutableList.Builder,java.lang.String,boolean)">addImplicitFunctionsToBuilder</a></span>​(com.google.common.collect.ImmutableList.Builder<<a href="../schema/Function.html" title="interface in org.apache.calcite.schema">Function</a>> builder, |
| java.lang.String name, |
| boolean caseSensitive)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds implicit functions to a builder.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>protected abstract void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addImplicitSubSchemaToBuilder(com.google.common.collect.ImmutableSortedMap.Builder)">addImplicitSubSchemaToBuilder</a></span>​(com.google.common.collect.ImmutableSortedMap.Builder<java.lang.String,​<a href="CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a>> builder)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds implicit sub-schemas to a builder.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>protected abstract void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addImplicitTablesBasedOnNullaryFunctionsToBuilder(com.google.common.collect.ImmutableSortedMap.Builder)">addImplicitTablesBasedOnNullaryFunctionsToBuilder</a></span>​(com.google.common.collect.ImmutableSortedMap.Builder<java.lang.String,​<a href="../schema/Table.html" title="interface in org.apache.calcite.schema">Table</a>> builder)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds implicit table functions to a builder.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>protected abstract void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addImplicitTableToBuilder(com.google.common.collect.ImmutableSortedSet.Builder)">addImplicitTableToBuilder</a></span>​(com.google.common.collect.ImmutableSortedSet.Builder<java.lang.String> builder)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds implicit tables to a builder.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>protected abstract void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addImplicitTypeNamesToBuilder(com.google.common.collect.ImmutableSortedSet.Builder)">addImplicitTypeNamesToBuilder</a></span>​(com.google.common.collect.ImmutableSortedSet.Builder<java.lang.String> builder)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds implicit type names to a builder.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>static <a href="CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createRootSchema(boolean)">createRootSchema</a></span>​(boolean addMetadataSchema)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a root schema.</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>static <a href="CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createRootSchema(boolean,boolean)">createRootSchema</a></span>​(boolean addMetadataSchema, |
| boolean cache)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a root schema.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>static <a href="CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createRootSchema(boolean,boolean,java.lang.String)">createRootSchema</a></span>​(boolean addMetadataSchema, |
| boolean cache, |
| java.lang.String name)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a root schema.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>static <a href="CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createRootSchema(boolean,boolean,java.lang.String,org.apache.calcite.schema.Schema)">createRootSchema</a></span>​(boolean addMetadataSchema, |
| boolean cache, |
| java.lang.String name, |
| <a href="../schema/Schema.html" title="interface in org.apache.calcite.schema">Schema</a> schema)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code><a href="CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createSnapshot(org.apache.calcite.schema.SchemaVersion)">createSnapshot</a></span>​(<a href="../schema/SchemaVersion.html" title="interface in org.apache.calcite.schema">SchemaVersion</a> version)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a snapshot of this CalciteSchema as of the specified time.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>protected static <V> java.util.NavigableMap<java.lang.String,​V></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#find(java.util.NavigableMap,java.lang.String)">find</a></span>​(java.util.NavigableMap<java.lang.String,​V> map, |
| java.lang.String s)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="deprecationComment">use NameMap</div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>protected static java.lang.Iterable<java.lang.String></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#find(java.util.NavigableSet,java.lang.String)">find</a></span>​(java.util.NavigableSet<java.lang.String> set, |
| java.lang.String name)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="deprecationComment">use NameSet</div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>static <a href="CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#from(org.apache.calcite.schema.SchemaPlus)">from</a></span>​(<a href="../schema/SchemaPlus.html" title="interface in org.apache.calcite.schema">SchemaPlus</a> plus)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>java.util.NavigableSet<java.lang.String></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFunctionNames()">getFunctionNames</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the list of function names in this schema, both implicit and |
| explicit, never null.</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>java.util.Collection<<a href="../schema/Function.html" title="interface in org.apache.calcite.schema">Function</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFunctions(java.lang.String,boolean)">getFunctions</a></span>​(java.lang.String name, |
| boolean caseSensitive)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a collection of all functions, explicit and implicit, with a given |
| name.</div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>protected abstract <a href="CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getImplicitSubSchema(java.lang.String,boolean)">getImplicitSubSchema</a></span>​(java.lang.String schemaName, |
| boolean caseSensitive)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a sub-schema with a given name that is defined implicitly |
| (that is, by the underlying <a href="../schema/Schema.html" title="interface in org.apache.calcite.schema"><code>Schema</code></a> object, not explicitly |
| by a call to <a href="#add(java.lang.String,org.apache.calcite.schema.Schema)"><code>add(String, Schema)</code></a>), or null.</div> |
| </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>protected abstract <a href="CalciteSchema.TableEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TableEntry</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getImplicitTable(java.lang.String,boolean)">getImplicitTable</a></span>​(java.lang.String tableName, |
| boolean caseSensitive)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a table with a given name that is defined implicitly |
| (that is, by the underlying <a href="../schema/Schema.html" title="interface in org.apache.calcite.schema"><code>Schema</code></a> object, not explicitly |
| by a call to <a href="#add(java.lang.String,org.apache.calcite.schema.Table)"><code>add(String, Table)</code></a>), or null.</div> |
| </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>protected abstract <a href="CalciteSchema.TableEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TableEntry</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getImplicitTableBasedOnNullaryFunction(java.lang.String,boolean)">getImplicitTableBasedOnNullaryFunction</a></span>​(java.lang.String tableName, |
| boolean caseSensitive)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns table function with a given name and zero arguments that is |
| defined implicitly (that is, by the underlying <a href="../schema/Schema.html" title="interface in org.apache.calcite.schema"><code>Schema</code></a> object, |
| not explicitly by a call to <a href="#add(java.lang.String,org.apache.calcite.schema.Function)"><code>add(String, Function)</code></a>), or null.</div> |
| </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>protected abstract <a href="CalciteSchema.TypeEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TypeEntry</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getImplicitType(java.lang.String,boolean)">getImplicitType</a></span>​(java.lang.String name, |
| boolean caseSensitive)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a type with a given name that is defined implicitly |
| (that is, by the underlying <a href="../schema/Schema.html" title="interface in org.apache.calcite.schema"><code>Schema</code></a> object, not explicitly |
| by a call to <a href="#add(java.lang.String,org.apache.calcite.rel.type.RelProtoDataType)"><code>add(String, RelProtoDataType)</code></a>), or null.</div> |
| </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code>java.util.NavigableMap<java.lang.String,​<a href="CalciteSchema.LatticeEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.LatticeEntry</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLatticeMap()">getLatticeMap</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a collection of lattices.</div> |
| </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getName()">getName</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>java.util.List<? extends java.util.List<java.lang.String>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPath()">getPath</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the default path resolving functions from this schema.</div> |
| </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code><a href="CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSubSchema(java.lang.String,boolean)">getSubSchema</a></span>​(java.lang.String schemaName, |
| boolean caseSensitive)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code>java.util.NavigableMap<java.lang.String,​<a href="CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSubSchemaMap()">getSubSchemaMap</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a collection of sub-schemas, both explicit (defined using |
| <a href="#add(java.lang.String,org.apache.calcite.schema.Schema)"><code>add(String, org.apache.calcite.schema.Schema)</code></a>) and implicit |
| (defined using <a href="../schema/Schema.html#getSubSchemaNames()"><code>Schema.getSubSchemaNames()</code></a> |
| and <a href="../schema/Schema.html#getSubSchema(java.lang.String)"><code>Schema.getSubSchema(String)</code></a>).</div> |
| </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code><a href="CalciteSchema.TableEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TableEntry</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTable(java.lang.String,boolean)">getTable</a></span>​(java.lang.String tableName, |
| boolean caseSensitive)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a table with the given name.</div> |
| </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code><a href="CalciteSchema.TableEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TableEntry</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTableBasedOnNullaryFunction(java.lang.String,boolean)">getTableBasedOnNullaryFunction</a></span>​(java.lang.String tableName, |
| boolean caseSensitive)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a tables derived from explicit and implicit functions |
| that take zero parameters.</div> |
| </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code><a href="CalciteSchema.TableEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TableEntry</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTableBySql(java.lang.String)">getTableBySql</a></span>​(java.lang.String sql)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a table that materializes the given SQL statement.</div> |
| </td> |
| </tr> |
| <tr id="i34" class="altColor"> |
| <td class="colFirst"><code>java.util.NavigableSet<java.lang.String></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTableNames()">getTableNames</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the set of all table names.</div> |
| </td> |
| </tr> |
| <tr id="i35" class="rowColor"> |
| <td class="colFirst"><code>java.util.NavigableMap<java.lang.String,​<a href="../schema/Table.html" title="interface in org.apache.calcite.schema">Table</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTablesBasedOnNullaryFunctions()">getTablesBasedOnNullaryFunctions</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns tables derived from explicit and implicit functions |
| that take zero parameters.</div> |
| </td> |
| </tr> |
| <tr id="i36" class="altColor"> |
| <td class="colFirst"><code><a href="CalciteSchema.TypeEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TypeEntry</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getType(java.lang.String,boolean)">getType</a></span>​(java.lang.String name, |
| boolean caseSensitive)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a type, explicit and implicit, with a given |
| name.</div> |
| </td> |
| </tr> |
| <tr id="i37" class="rowColor"> |
| <td class="colFirst"><code>java.util.NavigableSet<java.lang.String></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTypeNames()">getTypeNames</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the set of all types names.</div> |
| </td> |
| </tr> |
| <tr id="i38" class="altColor"> |
| <td class="colFirst"><code>protected abstract boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isCacheEnabled()">isCacheEnabled</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i39" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isRoot()">isRoot</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns whether this is a root schema.</div> |
| </td> |
| </tr> |
| <tr id="i40" class="altColor"> |
| <td class="colFirst"><code>java.util.List<java.lang.String></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#path(java.lang.String)">path</a></span>​(java.lang.String name)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the path of an object in this schema.</div> |
| </td> |
| </tr> |
| <tr id="i41" class="rowColor"> |
| <td class="colFirst"><code><a href="../schema/SchemaPlus.html" title="interface in org.apache.calcite.schema">SchemaPlus</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#plus()">plus</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i42" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeFunction(java.lang.String)">removeFunction</a></span>​(java.lang.String name)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i43" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeSubSchema(java.lang.String)">removeSubSchema</a></span>​(java.lang.String name)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i44" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeTable(java.lang.String)">removeTable</a></span>​(java.lang.String name)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i45" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeType(java.lang.String)">removeType</a></span>​(java.lang.String name)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i46" class="altColor"> |
| <td class="colFirst"><code><a href="CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#root()">root</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i47" class="rowColor"> |
| <td class="colFirst"><code>abstract void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setCache(boolean)">setCache</a></span>​(boolean cache)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i48" class="altColor"> |
| <td class="colFirst"><code>protected abstract <a href="CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#snapshot(org.apache.calcite.jdbc.CalciteSchema,org.apache.calcite.schema.SchemaVersion)">snapshot</a></span>​(<a href="CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> parent, |
| <a href="../schema/SchemaVersion.html" title="interface in org.apache.calcite.schema">SchemaVersion</a> version)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a snapshot representation of this CalciteSchema.</div> |
| </td> |
| </tr> |
| <tr id="i49" class="rowColor"> |
| <td class="colFirst"><code>protected <a href="CalciteSchema.TableEntryImpl.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TableEntryImpl</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#tableEntry(java.lang.String,org.apache.calcite.schema.Table)">tableEntry</a></span>​(java.lang.String name, |
| <a href="../schema/Table.html" title="interface in org.apache.calcite.schema">Table</a> table)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a TableEntryImpl with no SQLs.</div> |
| </td> |
| </tr> |
| <tr id="i50" class="altColor"> |
| <td class="colFirst"><code>protected <a href="CalciteSchema.TypeEntryImpl.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TypeEntryImpl</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#typeEntry(java.lang.String,org.apache.calcite.rel.type.RelProtoDataType)">typeEntry</a></span>​(java.lang.String name, |
| <a href="../rel/type/RelProtoDataType.html" title="interface in org.apache.calcite.rel.type">RelProtoDataType</a> relProtoDataType)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a TableEntryImpl with no SQLs.</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"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a id="parent"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>parent</h4> |
| <pre>private final <a href="CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> parent</pre> |
| </li> |
| </ul> |
| <a id="schema"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>schema</h4> |
| <pre>public final <a href="../schema/Schema.html" title="interface in org.apache.calcite.schema">Schema</a> schema</pre> |
| </li> |
| </ul> |
| <a id="name"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>name</h4> |
| <pre>public final java.lang.String name</pre> |
| </li> |
| </ul> |
| <a id="tableMap"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>tableMap</h4> |
| <pre>protected final <a href="../util/NameMap.html" title="class in org.apache.calcite.util">NameMap</a><<a href="CalciteSchema.TableEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TableEntry</a>> tableMap</pre> |
| <div class="block">Tables explicitly defined in this schema. Does not include tables in |
| <a href="#schema"><code>schema</code></a>.</div> |
| </li> |
| </ul> |
| <a id="functionMap"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>functionMap</h4> |
| <pre>protected final <a href="../util/NameMultimap.html" title="class in org.apache.calcite.util">NameMultimap</a><<a href="CalciteSchema.FunctionEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.FunctionEntry</a>> functionMap</pre> |
| </li> |
| </ul> |
| <a id="typeMap"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>typeMap</h4> |
| <pre>protected final <a href="../util/NameMap.html" title="class in org.apache.calcite.util">NameMap</a><<a href="CalciteSchema.TypeEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TypeEntry</a>> typeMap</pre> |
| </li> |
| </ul> |
| <a id="latticeMap"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>latticeMap</h4> |
| <pre>protected final <a href="../util/NameMap.html" title="class in org.apache.calcite.util">NameMap</a><<a href="CalciteSchema.LatticeEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.LatticeEntry</a>> latticeMap</pre> |
| </li> |
| </ul> |
| <a id="functionNames"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>functionNames</h4> |
| <pre>protected final <a href="../util/NameSet.html" title="class in org.apache.calcite.util">NameSet</a> functionNames</pre> |
| </li> |
| </ul> |
| <a id="nullaryFunctionMap"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>nullaryFunctionMap</h4> |
| <pre>protected final <a href="../util/NameMap.html" title="class in org.apache.calcite.util">NameMap</a><<a href="CalciteSchema.FunctionEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.FunctionEntry</a>> nullaryFunctionMap</pre> |
| </li> |
| </ul> |
| <a id="subSchemaMap"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>subSchemaMap</h4> |
| <pre>protected final <a href="../util/NameMap.html" title="class in org.apache.calcite.util">NameMap</a><<a href="CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a>> subSchemaMap</pre> |
| </li> |
| </ul> |
| <a id="path"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>path</h4> |
| <pre>private java.util.List<? extends java.util.List<java.lang.String>> path</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a id="<init>(org.apache.calcite.jdbc.CalciteSchema,org.apache.calcite.schema.Schema,java.lang.String,org.apache.calcite.util.NameMap,org.apache.calcite.util.NameMap,org.apache.calcite.util.NameMap,org.apache.calcite.util.NameMap,org.apache.calcite.util.NameMultimap,org.apache.calcite.util.NameSet,org.apache.calcite.util.NameMap,java.util.List)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>CalciteSchema</h4> |
| <pre>protected CalciteSchema​(<a href="CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> parent, |
| <a href="../schema/Schema.html" title="interface in org.apache.calcite.schema">Schema</a> schema, |
| java.lang.String name, |
| <a href="../util/NameMap.html" title="class in org.apache.calcite.util">NameMap</a><<a href="CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a>> subSchemaMap, |
| <a href="../util/NameMap.html" title="class in org.apache.calcite.util">NameMap</a><<a href="CalciteSchema.TableEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TableEntry</a>> tableMap, |
| <a href="../util/NameMap.html" title="class in org.apache.calcite.util">NameMap</a><<a href="CalciteSchema.LatticeEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.LatticeEntry</a>> latticeMap, |
| <a href="../util/NameMap.html" title="class in org.apache.calcite.util">NameMap</a><<a href="CalciteSchema.TypeEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TypeEntry</a>> typeMap, |
| <a href="../util/NameMultimap.html" title="class in org.apache.calcite.util">NameMultimap</a><<a href="CalciteSchema.FunctionEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.FunctionEntry</a>> functionMap, |
| <a href="../util/NameSet.html" title="class in org.apache.calcite.util">NameSet</a> functionNames, |
| <a href="../util/NameMap.html" title="class in org.apache.calcite.util">NameMap</a><<a href="CalciteSchema.FunctionEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.FunctionEntry</a>> nullaryFunctionMap, |
| java.util.List<? extends java.util.List<java.lang.String>> path)</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="getImplicitSubSchema(java.lang.String,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getImplicitSubSchema</h4> |
| <pre class="methodSignature">protected abstract <a href="CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> getImplicitSubSchema​(java.lang.String schemaName, |
| boolean caseSensitive)</pre> |
| <div class="block">Returns a sub-schema with a given name that is defined implicitly |
| (that is, by the underlying <a href="../schema/Schema.html" title="interface in org.apache.calcite.schema"><code>Schema</code></a> object, not explicitly |
| by a call to <a href="#add(java.lang.String,org.apache.calcite.schema.Schema)"><code>add(String, Schema)</code></a>), or null.</div> |
| </li> |
| </ul> |
| <a id="getImplicitTable(java.lang.String,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getImplicitTable</h4> |
| <pre class="methodSignature">protected abstract <a href="CalciteSchema.TableEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TableEntry</a> getImplicitTable​(java.lang.String tableName, |
| boolean caseSensitive)</pre> |
| <div class="block">Returns a table with a given name that is defined implicitly |
| (that is, by the underlying <a href="../schema/Schema.html" title="interface in org.apache.calcite.schema"><code>Schema</code></a> object, not explicitly |
| by a call to <a href="#add(java.lang.String,org.apache.calcite.schema.Table)"><code>add(String, Table)</code></a>), or null.</div> |
| </li> |
| </ul> |
| <a id="getImplicitType(java.lang.String,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getImplicitType</h4> |
| <pre class="methodSignature">protected abstract <a href="CalciteSchema.TypeEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TypeEntry</a> getImplicitType​(java.lang.String name, |
| boolean caseSensitive)</pre> |
| <div class="block">Returns a type with a given name that is defined implicitly |
| (that is, by the underlying <a href="../schema/Schema.html" title="interface in org.apache.calcite.schema"><code>Schema</code></a> object, not explicitly |
| by a call to <a href="#add(java.lang.String,org.apache.calcite.rel.type.RelProtoDataType)"><code>add(String, RelProtoDataType)</code></a>), or null.</div> |
| </li> |
| </ul> |
| <a id="getImplicitTableBasedOnNullaryFunction(java.lang.String,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getImplicitTableBasedOnNullaryFunction</h4> |
| <pre class="methodSignature">protected abstract <a href="CalciteSchema.TableEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TableEntry</a> getImplicitTableBasedOnNullaryFunction​(java.lang.String tableName, |
| boolean caseSensitive)</pre> |
| <div class="block">Returns table function with a given name and zero arguments that is |
| defined implicitly (that is, by the underlying <a href="../schema/Schema.html" title="interface in org.apache.calcite.schema"><code>Schema</code></a> object, |
| not explicitly by a call to <a href="#add(java.lang.String,org.apache.calcite.schema.Function)"><code>add(String, Function)</code></a>), or null.</div> |
| </li> |
| </ul> |
| <a id="addImplicitSubSchemaToBuilder(com.google.common.collect.ImmutableSortedMap.Builder)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addImplicitSubSchemaToBuilder</h4> |
| <pre class="methodSignature">protected abstract void addImplicitSubSchemaToBuilder​(com.google.common.collect.ImmutableSortedMap.Builder<java.lang.String,​<a href="CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a>> builder)</pre> |
| <div class="block">Adds implicit sub-schemas to a builder.</div> |
| </li> |
| </ul> |
| <a id="addImplicitTableToBuilder(com.google.common.collect.ImmutableSortedSet.Builder)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addImplicitTableToBuilder</h4> |
| <pre class="methodSignature">protected abstract void addImplicitTableToBuilder​(com.google.common.collect.ImmutableSortedSet.Builder<java.lang.String> builder)</pre> |
| <div class="block">Adds implicit tables to a builder.</div> |
| </li> |
| </ul> |
| <a id="addImplicitFunctionsToBuilder(com.google.common.collect.ImmutableList.Builder,java.lang.String,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addImplicitFunctionsToBuilder</h4> |
| <pre class="methodSignature">protected abstract void addImplicitFunctionsToBuilder​(com.google.common.collect.ImmutableList.Builder<<a href="../schema/Function.html" title="interface in org.apache.calcite.schema">Function</a>> builder, |
| java.lang.String name, |
| boolean caseSensitive)</pre> |
| <div class="block">Adds implicit functions to a builder.</div> |
| </li> |
| </ul> |
| <a id="addImplicitFuncNamesToBuilder(com.google.common.collect.ImmutableSortedSet.Builder)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addImplicitFuncNamesToBuilder</h4> |
| <pre class="methodSignature">protected abstract void addImplicitFuncNamesToBuilder​(com.google.common.collect.ImmutableSortedSet.Builder<java.lang.String> builder)</pre> |
| <div class="block">Adds implicit function names to a builder.</div> |
| </li> |
| </ul> |
| <a id="addImplicitTypeNamesToBuilder(com.google.common.collect.ImmutableSortedSet.Builder)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addImplicitTypeNamesToBuilder</h4> |
| <pre class="methodSignature">protected abstract void addImplicitTypeNamesToBuilder​(com.google.common.collect.ImmutableSortedSet.Builder<java.lang.String> builder)</pre> |
| <div class="block">Adds implicit type names to a builder.</div> |
| </li> |
| </ul> |
| <a id="addImplicitTablesBasedOnNullaryFunctionsToBuilder(com.google.common.collect.ImmutableSortedMap.Builder)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addImplicitTablesBasedOnNullaryFunctionsToBuilder</h4> |
| <pre class="methodSignature">protected abstract void addImplicitTablesBasedOnNullaryFunctionsToBuilder​(com.google.common.collect.ImmutableSortedMap.Builder<java.lang.String,​<a href="../schema/Table.html" title="interface in org.apache.calcite.schema">Table</a>> builder)</pre> |
| <div class="block">Adds implicit table functions to a builder.</div> |
| </li> |
| </ul> |
| <a id="snapshot(org.apache.calcite.jdbc.CalciteSchema,org.apache.calcite.schema.SchemaVersion)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>snapshot</h4> |
| <pre class="methodSignature">protected abstract <a href="CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> snapshot​(<a href="CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> parent, |
| <a href="../schema/SchemaVersion.html" title="interface in org.apache.calcite.schema">SchemaVersion</a> version)</pre> |
| <div class="block">Returns a snapshot representation of this CalciteSchema.</div> |
| </li> |
| </ul> |
| <a id="isCacheEnabled()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isCacheEnabled</h4> |
| <pre class="methodSignature">protected abstract boolean isCacheEnabled()</pre> |
| </li> |
| </ul> |
| <a id="setCache(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setCache</h4> |
| <pre class="methodSignature">public abstract void setCache​(boolean cache)</pre> |
| </li> |
| </ul> |
| <a id="tableEntry(java.lang.String,org.apache.calcite.schema.Table)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>tableEntry</h4> |
| <pre class="methodSignature">protected <a href="CalciteSchema.TableEntryImpl.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TableEntryImpl</a> tableEntry​(java.lang.String name, |
| <a href="../schema/Table.html" title="interface in org.apache.calcite.schema">Table</a> table)</pre> |
| <div class="block">Creates a TableEntryImpl with no SQLs.</div> |
| </li> |
| </ul> |
| <a id="typeEntry(java.lang.String,org.apache.calcite.rel.type.RelProtoDataType)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>typeEntry</h4> |
| <pre class="methodSignature">protected <a href="CalciteSchema.TypeEntryImpl.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TypeEntryImpl</a> typeEntry​(java.lang.String name, |
| <a href="../rel/type/RelProtoDataType.html" title="interface in org.apache.calcite.rel.type">RelProtoDataType</a> relProtoDataType)</pre> |
| <div class="block">Creates a TableEntryImpl with no SQLs.</div> |
| </li> |
| </ul> |
| <a id="add(java.lang.String,org.apache.calcite.schema.Table)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>add</h4> |
| <pre class="methodSignature">public <a href="CalciteSchema.TableEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TableEntry</a> add​(java.lang.String tableName, |
| <a href="../schema/Table.html" title="interface in org.apache.calcite.schema">Table</a> table)</pre> |
| <div class="block">Defines a table within this schema.</div> |
| </li> |
| </ul> |
| <a id="add(java.lang.String,org.apache.calcite.schema.Table,com.google.common.collect.ImmutableList)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>add</h4> |
| <pre class="methodSignature">public <a href="CalciteSchema.TableEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TableEntry</a> add​(java.lang.String tableName, |
| <a href="../schema/Table.html" title="interface in org.apache.calcite.schema">Table</a> table, |
| com.google.common.collect.ImmutableList<java.lang.String> sqls)</pre> |
| <div class="block">Defines a table within this schema.</div> |
| </li> |
| </ul> |
| <a id="add(java.lang.String,org.apache.calcite.rel.type.RelProtoDataType)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>add</h4> |
| <pre class="methodSignature">public <a href="CalciteSchema.TypeEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TypeEntry</a> add​(java.lang.String name, |
| <a href="../rel/type/RelProtoDataType.html" title="interface in org.apache.calcite.rel.type">RelProtoDataType</a> type)</pre> |
| <div class="block">Defines a type within this schema.</div> |
| </li> |
| </ul> |
| <a id="add(java.lang.String,org.apache.calcite.schema.Function)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>add</h4> |
| <pre class="methodSignature">private <a href="CalciteSchema.FunctionEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.FunctionEntry</a> add​(java.lang.String name, |
| <a href="../schema/Function.html" title="interface in org.apache.calcite.schema">Function</a> function)</pre> |
| </li> |
| </ul> |
| <a id="add(java.lang.String,org.apache.calcite.materialize.Lattice)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>add</h4> |
| <pre class="methodSignature">private <a href="CalciteSchema.LatticeEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.LatticeEntry</a> add​(java.lang.String name, |
| <a href="../materialize/Lattice.html" title="class in org.apache.calcite.materialize">Lattice</a> lattice)</pre> |
| </li> |
| </ul> |
| <a id="root()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>root</h4> |
| <pre class="methodSignature">public <a href="CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> root()</pre> |
| </li> |
| </ul> |
| <a id="isRoot()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isRoot</h4> |
| <pre class="methodSignature">public boolean isRoot()</pre> |
| <div class="block">Returns whether this is a root schema.</div> |
| </li> |
| </ul> |
| <a id="path(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>path</h4> |
| <pre class="methodSignature">public java.util.List<java.lang.String> path​(java.lang.String name)</pre> |
| <div class="block">Returns the path of an object in this schema.</div> |
| </li> |
| </ul> |
| <a id="getSubSchema(java.lang.String,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSubSchema</h4> |
| <pre class="methodSignature">public final <a href="CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> getSubSchema​(java.lang.String schemaName, |
| boolean caseSensitive)</pre> |
| </li> |
| </ul> |
| <a id="add(java.lang.String,org.apache.calcite.schema.Schema)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>add</h4> |
| <pre class="methodSignature">public abstract <a href="CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> add​(java.lang.String name, |
| <a href="../schema/Schema.html" title="interface in org.apache.calcite.schema">Schema</a> schema)</pre> |
| <div class="block">Adds a child schema of this schema.</div> |
| </li> |
| </ul> |
| <a id="getTableBySql(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTableBySql</h4> |
| <pre class="methodSignature">public final <a href="CalciteSchema.TableEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TableEntry</a> getTableBySql​(java.lang.String sql)</pre> |
| <div class="block">Returns a table that materializes the given SQL statement.</div> |
| </li> |
| </ul> |
| <a id="getTable(java.lang.String,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTable</h4> |
| <pre class="methodSignature">public final <a href="CalciteSchema.TableEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TableEntry</a> getTable​(java.lang.String tableName, |
| boolean caseSensitive)</pre> |
| <div class="block">Returns a table with the given name. Does not look for views.</div> |
| </li> |
| </ul> |
| <a id="getName()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getName</h4> |
| <pre class="methodSignature">public java.lang.String getName()</pre> |
| </li> |
| </ul> |
| <a id="plus()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>plus</h4> |
| <pre class="methodSignature">public <a href="../schema/SchemaPlus.html" title="interface in org.apache.calcite.schema">SchemaPlus</a> plus()</pre> |
| </li> |
| </ul> |
| <a id="from(org.apache.calcite.schema.SchemaPlus)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>from</h4> |
| <pre class="methodSignature">public static <a href="CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> from​(<a href="../schema/SchemaPlus.html" title="interface in org.apache.calcite.schema">SchemaPlus</a> plus)</pre> |
| </li> |
| </ul> |
| <a id="getPath()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPath</h4> |
| <pre class="methodSignature">public java.util.List<? extends java.util.List<java.lang.String>> getPath()</pre> |
| <div class="block">Returns the default path resolving functions from this schema. |
| |
| <p>The path consists is a list of lists of strings. |
| Each list of strings represents the path of a schema from the root schema. |
| For example, [[], [foo], [foo, bar, baz]] represents three schemas: the |
| root schema "/" (level 0), "/foo" (level 1) and "/foo/bar/baz" (level 3).</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Path of this schema; never null, may be empty</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getSubSchemaMap()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSubSchemaMap</h4> |
| <pre class="methodSignature">public final java.util.NavigableMap<java.lang.String,​<a href="CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a>> getSubSchemaMap()</pre> |
| <div class="block">Returns a collection of sub-schemas, both explicit (defined using |
| <a href="#add(java.lang.String,org.apache.calcite.schema.Schema)"><code>add(String, org.apache.calcite.schema.Schema)</code></a>) and implicit |
| (defined using <a href="../schema/Schema.html#getSubSchemaNames()"><code>Schema.getSubSchemaNames()</code></a> |
| and <a href="../schema/Schema.html#getSubSchema(java.lang.String)"><code>Schema.getSubSchema(String)</code></a>).</div> |
| </li> |
| </ul> |
| <a id="getLatticeMap()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLatticeMap</h4> |
| <pre class="methodSignature">public java.util.NavigableMap<java.lang.String,​<a href="CalciteSchema.LatticeEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.LatticeEntry</a>> getLatticeMap()</pre> |
| <div class="block">Returns a collection of lattices. |
| |
| <p>All are explicit (defined using <a href="#add(java.lang.String,org.apache.calcite.materialize.Lattice)"><code>add(String, Lattice)</code></a>).</div> |
| </li> |
| </ul> |
| <a id="getTableNames()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTableNames</h4> |
| <pre class="methodSignature">public final java.util.NavigableSet<java.lang.String> getTableNames()</pre> |
| <div class="block">Returns the set of all table names. Includes implicit and explicit tables |
| and functions with zero parameters.</div> |
| </li> |
| </ul> |
| <a id="getTypeNames()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTypeNames</h4> |
| <pre class="methodSignature">public final java.util.NavigableSet<java.lang.String> getTypeNames()</pre> |
| <div class="block">Returns the set of all types names.</div> |
| </li> |
| </ul> |
| <a id="getType(java.lang.String,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getType</h4> |
| <pre class="methodSignature">public final <a href="CalciteSchema.TypeEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TypeEntry</a> getType​(java.lang.String name, |
| boolean caseSensitive)</pre> |
| <div class="block">Returns a type, explicit and implicit, with a given |
| name. Never null.</div> |
| </li> |
| </ul> |
| <a id="getFunctions(java.lang.String,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFunctions</h4> |
| <pre class="methodSignature">public final java.util.Collection<<a href="../schema/Function.html" title="interface in org.apache.calcite.schema">Function</a>> getFunctions​(java.lang.String name, |
| boolean caseSensitive)</pre> |
| <div class="block">Returns a collection of all functions, explicit and implicit, with a given |
| name. Never null.</div> |
| </li> |
| </ul> |
| <a id="getFunctionNames()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFunctionNames</h4> |
| <pre class="methodSignature">public final java.util.NavigableSet<java.lang.String> getFunctionNames()</pre> |
| <div class="block">Returns the list of function names in this schema, both implicit and |
| explicit, never null.</div> |
| </li> |
| </ul> |
| <a id="getTablesBasedOnNullaryFunctions()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTablesBasedOnNullaryFunctions</h4> |
| <pre class="methodSignature">public final java.util.NavigableMap<java.lang.String,​<a href="../schema/Table.html" title="interface in org.apache.calcite.schema">Table</a>> getTablesBasedOnNullaryFunctions()</pre> |
| <div class="block">Returns tables derived from explicit and implicit functions |
| that take zero parameters.</div> |
| </li> |
| </ul> |
| <a id="getTableBasedOnNullaryFunction(java.lang.String,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTableBasedOnNullaryFunction</h4> |
| <pre class="methodSignature">public final <a href="CalciteSchema.TableEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TableEntry</a> getTableBasedOnNullaryFunction​(java.lang.String tableName, |
| boolean caseSensitive)</pre> |
| <div class="block">Returns a tables derived from explicit and implicit functions |
| that take zero parameters.</div> |
| </li> |
| </ul> |
| <a id="createSnapshot(org.apache.calcite.schema.SchemaVersion)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createSnapshot</h4> |
| <pre class="methodSignature">public <a href="CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> createSnapshot​(<a href="../schema/SchemaVersion.html" title="interface in org.apache.calcite.schema">SchemaVersion</a> version)</pre> |
| <div class="block">Creates a snapshot of this CalciteSchema as of the specified time. All |
| explicit objects in this CalciteSchema will be copied into the snapshot |
| CalciteSchema, while the contents of the snapshot of the underlying schema |
| should not change as specified in <a href="../schema/Schema.html#snapshot(org.apache.calcite.schema.SchemaVersion)"><code>Schema.snapshot(SchemaVersion)</code></a>. |
| Snapshots of explicit sub schemas will be created and copied recursively. |
| |
| <p>Currently, to accommodate the requirement of creating tables on the fly |
| for materializations, the snapshot will still use the same table map and |
| lattice map as in the original CalciteSchema instead of making copies.</p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>version</code> - The current schema version</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the schema snapshot.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="find(java.util.NavigableMap,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>find</h4> |
| <pre class="methodSignature">@Deprecated |
| protected static <V> java.util.NavigableMap<java.lang.String,​V> find​(java.util.NavigableMap<java.lang.String,​V> map, |
| java.lang.String s)</pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="deprecationComment">use NameMap</div> |
| </div> |
| <div class="block">Returns a subset of a map whose keys match the given string |
| case-insensitively.</div> |
| </li> |
| </ul> |
| <a id="find(java.util.NavigableSet,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>find</h4> |
| <pre class="methodSignature">@Deprecated |
| protected static java.lang.Iterable<java.lang.String> find​(java.util.NavigableSet<java.lang.String> set, |
| java.lang.String name)</pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="deprecationComment">use NameSet</div> |
| </div> |
| <div class="block">Returns a subset of a set whose values match the given string |
| case-insensitively.</div> |
| </li> |
| </ul> |
| <a id="createRootSchema(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createRootSchema</h4> |
| <pre class="methodSignature">public static <a href="CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> createRootSchema​(boolean addMetadataSchema)</pre> |
| <div class="block">Creates a root schema. |
| |
| <p>When <code>addMetadataSchema</code> argument is true adds a "metadata" |
| schema containing definitions of tables, columns etc. to root schema. |
| By default, creates a <a href="CachingCalciteSchema.html" title="class in org.apache.calcite.jdbc"><code>CachingCalciteSchema</code></a>.</div> |
| </li> |
| </ul> |
| <a id="createRootSchema(boolean,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createRootSchema</h4> |
| <pre class="methodSignature">public static <a href="CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> createRootSchema​(boolean addMetadataSchema, |
| boolean cache)</pre> |
| <div class="block">Creates a root schema.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>addMetadataSchema</code> - Whether to add a "metadata" schema containing |
| definitions of tables, columns etc.</dd> |
| <dd><code>cache</code> - If true create <a href="CachingCalciteSchema.html" title="class in org.apache.calcite.jdbc"><code>CachingCalciteSchema</code></a>; |
| if false create <a href="SimpleCalciteSchema.html" title="class in org.apache.calcite.jdbc"><code>SimpleCalciteSchema</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createRootSchema(boolean,boolean,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createRootSchema</h4> |
| <pre class="methodSignature">public static <a href="CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> createRootSchema​(boolean addMetadataSchema, |
| boolean cache, |
| java.lang.String name)</pre> |
| <div class="block">Creates a root schema.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>addMetadataSchema</code> - Whether to add a "metadata" schema containing |
| definitions of tables, columns etc.</dd> |
| <dd><code>cache</code> - If true create <a href="CachingCalciteSchema.html" title="class in org.apache.calcite.jdbc"><code>CachingCalciteSchema</code></a>; |
| if false create <a href="SimpleCalciteSchema.html" title="class in org.apache.calcite.jdbc"><code>SimpleCalciteSchema</code></a></dd> |
| <dd><code>name</code> - Schema name</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createRootSchema(boolean,boolean,java.lang.String,org.apache.calcite.schema.Schema)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createRootSchema</h4> |
| <pre class="methodSignature">public static <a href="CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> createRootSchema​(boolean addMetadataSchema, |
| boolean cache, |
| java.lang.String name, |
| <a href="../schema/Schema.html" title="interface in org.apache.calcite.schema">Schema</a> schema)</pre> |
| </li> |
| </ul> |
| <a id="removeSubSchema(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeSubSchema</h4> |
| <pre class="methodSignature">public boolean removeSubSchema​(java.lang.String name)</pre> |
| </li> |
| </ul> |
| <a id="removeTable(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeTable</h4> |
| <pre class="methodSignature">public boolean removeTable​(java.lang.String name)</pre> |
| </li> |
| </ul> |
| <a id="removeFunction(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeFunction</h4> |
| <pre class="methodSignature">public boolean removeFunction​(java.lang.String name)</pre> |
| </li> |
| </ul> |
| <a id="removeType(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>removeType</h4> |
| <pre class="methodSignature">public boolean removeType​(java.lang.String name)</pre> |
| </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/CalciteSchema.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><a href="#field.summary">Field</a> | </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><a href="#field.detail">Field</a> | </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> |