| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>Schemas (Apache Calcite calcite API)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="description" content="declaration: package: org.apache.calcite.schema, class: Schemas"> |
| <meta name="generator" content="javadoc/ClassWriterImpl"> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../script-dir/jquery-ui.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../script-dir/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="../../../../script-dir/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="../../../../script-dir/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="../../../../script-dir/jquery-3.4.1.js"></script> |
| <script type="text/javascript" src="../../../../script-dir/jquery-ui.js"></script> |
| </head> |
| <body class="class-declaration"> |
| <script type="text/javascript">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}; |
| 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 = "../../../../"; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <div class="flexBox"> |
| <header role="banner" class="flexHeader"> |
| <nav role="navigation"> |
| <!-- ========= 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="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 class="aboutLanguage"><b>Apache Calcite</b></div> |
| </div> |
| <div class="subNav"> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <div class="navListSearch"><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </div> |
| </div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <div class="skipNav"><a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| </nav> |
| </header> |
| <div class="flexContent"> |
| <main role="main"> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.apache.calcite.schema</a></div> |
| <h1 title="Class Schemas" class="title">Class Schemas</h1> |
| </div> |
| <div class="contentContainer"> |
| <div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Object</a> |
| <div class="inheritance">org.apache.calcite.schema.Schemas</div> |
| </div> |
| <section class="description"> |
| <hr> |
| <pre>public final class <span class="typeNameLabel">Schemas</span> |
| extends <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></pre> |
| <div class="block">Utility functions for schemas.</div> |
| </section> |
| <section class="summary"> |
| <ul class="blockList"> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <li class="blockList"> |
| <section class="methodSummary"><a id="method.summary"> |
| <!-- --> |
| </a> |
| <h2>Method Summary</h2> |
| <div class="memberSummary"> |
| <div role="tablist" aria-orientation="horizontal"><button role="tab" aria-selected="true" aria-controls="memberSummary_tabpanel" tabindex="0" onkeydown="switchTab(event)" id="t0" class="activeTableTab">All Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t1" class="tableTab" onclick="show(1);">Static Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t4" class="tableTab" onclick="show(8);">Concrete Methods</button></div> |
| <div id="memberSummary_tabpanel" role="tabpanel"> |
| <table aria-labelledby="t0"> |
| <thead> |
| <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> |
| </thead> |
| <tbody> |
| <tr class="altColor" id="i0"> |
| <td class="colFirst"><code>static <a href="../jdbc/CalcitePrepare.AnalyzeViewResult.html" title="class in org.apache.calcite.jdbc">CalcitePrepare.AnalyzeViewResult</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#analyzeView(org.apache.calcite.jdbc.CalciteConnection,org.apache.calcite.jdbc.CalciteSchema,java.util.List,java.lang.String,java.util.List,boolean)">analyzeView</a></span>​(<a href="../jdbc/CalciteConnection.html" title="interface in org.apache.calcite.jdbc">CalciteConnection</a> connection, |
| <a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> schema, |
| @Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> schemaPath, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> viewSql, |
| @Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> viewPath, |
| boolean fail)</code></th> |
| <td class="colLast"> |
| <div class="block">Analyzes a view.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i1"> |
| <td class="colFirst"><code>static <a href="../jdbc/CalcitePrepare.ConvertResult.html" title="class in org.apache.calcite.jdbc">CalcitePrepare.ConvertResult</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#convert(org.apache.calcite.jdbc.CalciteConnection,org.apache.calcite.jdbc.CalciteSchema,java.util.List,java.lang.String)">convert</a></span>​(<a href="../jdbc/CalciteConnection.html" title="interface in org.apache.calcite.jdbc">CalciteConnection</a> connection, |
| <a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> schema, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> schemaPath, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> sql)</code></th> |
| <td class="colLast"> |
| <div class="block">Parses and validates a SQL query and converts to relational algebra.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i2"> |
| <td class="colFirst"><code>static <a href="../DataContext.html" title="interface in org.apache.calcite">DataContext</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createDataContext(java.sql.Connection,org.apache.calcite.schema.SchemaPlus)">createDataContext</a></span>​(<a href="https://docs.oracle.com/javase/9/docs/api/java/sql/Connection.html?is-external=true" title="class or interface in java.sql" class="externalLink">Connection</a> connection, |
| @Nullable <a href="SchemaPlus.html" title="interface in org.apache.calcite.schema">SchemaPlus</a> rootSchema)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i3"> |
| <td class="colFirst"><code>static <a href="../linq4j/Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a><@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>[]></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#enumerable(org.apache.calcite.schema.FilterableTable,org.apache.calcite.DataContext)">enumerable</a></span>​(<a href="FilterableTable.html" title="interface in org.apache.calcite.schema">FilterableTable</a> table, |
| <a href="../DataContext.html" title="interface in org.apache.calcite">DataContext</a> root)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns an <a href="../linq4j/Enumerable.html" title="interface in org.apache.calcite.linq4j"><code>Enumerable</code></a> over the rows of |
| a given table, not applying any filters, representing each row as an object |
| array.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i4"> |
| <td class="colFirst"><code>static <a href="../linq4j/Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a><@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>[]></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#enumerable(org.apache.calcite.schema.ProjectableFilterableTable,org.apache.calcite.DataContext)">enumerable</a></span>​(<a href="ProjectableFilterableTable.html" title="interface in org.apache.calcite.schema">ProjectableFilterableTable</a> table, |
| <a href="../DataContext.html" title="interface in org.apache.calcite">DataContext</a> root)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns an <a href="../linq4j/Enumerable.html" title="interface in org.apache.calcite.linq4j"><code>Enumerable</code></a> over the rows of |
| a given table, not applying any filters and projecting all columns, |
| representing each row as an object array.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i5"> |
| <td class="colFirst"><code>static <a href="../linq4j/Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a><@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>[]></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#enumerable(org.apache.calcite.schema.ScannableTable,org.apache.calcite.DataContext)">enumerable</a></span>​(<a href="ScannableTable.html" title="interface in org.apache.calcite.schema">ScannableTable</a> table, |
| <a href="../DataContext.html" title="interface in org.apache.calcite">DataContext</a> root)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns an <a href="../linq4j/Enumerable.html" title="interface in org.apache.calcite.linq4j"><code>Enumerable</code></a> over the rows of |
| a given table, representing each row as an object array.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i6"> |
| <td class="colFirst"><code>static <a href="../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#expression(org.apache.calcite.schema.SchemaPlus)">expression</a></span>​(<a href="SchemaPlus.html" title="interface in org.apache.calcite.schema">SchemaPlus</a> schema)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the expression for a schema.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i7"> |
| <td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="../jdbc/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="#getLatticeEntries(org.apache.calcite.jdbc.CalciteSchema)">getLatticeEntries</a></span>​(<a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> schema)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the lattices defined in a schema.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i8"> |
| <td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="../materialize/Lattice.html" title="class in org.apache.calcite.materialize">Lattice</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLattices(org.apache.calcite.jdbc.CalciteSchema)">getLattices</a></span>​(<a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> schema)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the lattices defined in a schema.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i9"> |
| <td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="../jdbc/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="#getStarTables(org.apache.calcite.jdbc.CalciteSchema)">getStarTables</a></span>​(<a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> schema)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the star tables defined in a schema.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i10"> |
| <td class="colFirst"><code>static <a href="../jdbc/CalcitePrepare.ParseResult.html" title="class in org.apache.calcite.jdbc">CalcitePrepare.ParseResult</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#parse(org.apache.calcite.jdbc.CalciteConnection,org.apache.calcite.jdbc.CalciteSchema,java.util.List,java.lang.String)">parse</a></span>​(<a href="../jdbc/CalciteConnection.html" title="interface in org.apache.calcite.jdbc">CalciteConnection</a> connection, |
| <a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> schema, |
| @Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> schemaPath, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> sql)</code></th> |
| <td class="colLast"> |
| <div class="block">Parses and validates a SQL query.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i11"> |
| <td class="colFirst"><code>static org.apache.calcite.schema.Schemas.PathImpl</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#path(com.google.common.collect.ImmutableList)">path</a></span>​(com.google.common.collect.ImmutableList<<a href="../util/Pair.html" title="class in org.apache.calcite.util">Pair</a><<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,​<a href="Schema.html" title="interface in org.apache.calcite.schema">Schema</a>>> build)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i12"> |
| <td class="colFirst"><code>static <a href="Path.html" title="interface in org.apache.calcite.schema">Path</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#path(org.apache.calcite.jdbc.CalciteSchema,java.lang.Iterable)">path</a></span>​(<a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> rootSchema, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> names)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a path with a given list of names starting from a given root |
| schema.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i13"> |
| <td class="colFirst"><code>static <a href="Path.html" title="interface in org.apache.calcite.schema">Path</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#path(org.apache.calcite.schema.SchemaPlus)">path</a></span>​(<a href="SchemaPlus.html" title="interface in org.apache.calcite.schema">SchemaPlus</a> schema)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the path to get to a schema from its root.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i14"> |
| <td class="colFirst"><code>static <a href="../jdbc/CalcitePrepare.CalciteSignature.html" title="class in org.apache.calcite.jdbc">CalcitePrepare.CalciteSignature</a><<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#prepare(org.apache.calcite.jdbc.CalciteConnection,org.apache.calcite.jdbc.CalciteSchema,java.util.List,java.lang.String,com.google.common.collect.ImmutableMap)">prepare</a></span>​(<a href="../jdbc/CalciteConnection.html" title="interface in org.apache.calcite.jdbc">CalciteConnection</a> connection, |
| <a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> schema, |
| @Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> schemaPath, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> sql, |
| com.google.common.collect.ImmutableMap<<a href="../config/CalciteConnectionProperty.html" title="enum in org.apache.calcite.config">CalciteConnectionProperty</a>,​<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> map)</code></th> |
| <td class="colLast"> |
| <div class="block">Prepares a SQL query for execution.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i15"> |
| <td class="colFirst"><code>static <a href="../rel/type/RelProtoDataType.html" title="interface in org.apache.calcite.rel.type">RelProtoDataType</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#proto(org.apache.calcite.schema.ScalarFunction)">proto</a></span>​(<a href="ScalarFunction.html" title="interface in org.apache.calcite.schema">ScalarFunction</a> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns an implementation of <a href="../rel/type/RelProtoDataType.html" title="interface in org.apache.calcite.rel.type"><code>RelProtoDataType</code></a> |
| that asks a given scalar function for its return type with a given type |
| factory.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i16"> |
| <td class="colFirst"><code>static <a href="../rel/type/RelProtoDataType.html" title="interface in org.apache.calcite.rel.type">RelProtoDataType</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#proto(org.apache.calcite.schema.Table)">proto</a></span>​(<a href="Table.html" title="interface in org.apache.calcite.schema">Table</a> table)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns an implementation of |
| <a href="../rel/type/RelProtoDataType.html" title="interface in org.apache.calcite.rel.type"><code>RelProtoDataType</code></a> |
| that asks a given table for its row type with a given type factory.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i17"> |
| <td class="colFirst"><code>static <E> <a href="../linq4j/Queryable.html" title="interface in org.apache.calcite.linq4j">Queryable</a><E></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#queryable(org.apache.calcite.DataContext,java.lang.Class,java.lang.Iterable)">queryable</a></span>​(<a href="../DataContext.html" title="interface in org.apache.calcite">DataContext</a> root, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a><E> clazz, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><? extends <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> names)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a <a href="../linq4j/Queryable.html" title="interface in org.apache.calcite.linq4j"><code>Queryable</code></a>, given a fully-qualified table name as an |
| iterable.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i18"> |
| <td class="colFirst"><code>static <E> <a href="../linq4j/Queryable.html" title="interface in org.apache.calcite.linq4j">Queryable</a><E></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#queryable(org.apache.calcite.DataContext,java.lang.Class,java.lang.String...)">queryable</a></span>​(<a href="../DataContext.html" title="interface in org.apache.calcite">DataContext</a> root, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a><E> clazz, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>... names)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a <a href="../linq4j/Queryable.html" title="interface in org.apache.calcite.linq4j"><code>Queryable</code></a>, given a fully-qualified table name.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i19"> |
| <td class="colFirst"><code>static <E> <a href="../linq4j/Queryable.html" title="interface in org.apache.calcite.linq4j">Queryable</a><E></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#queryable(org.apache.calcite.DataContext,org.apache.calcite.schema.SchemaPlus,java.lang.Class,java.lang.String)">queryable</a></span>​(<a href="../DataContext.html" title="interface in org.apache.calcite">DataContext</a> root, |
| <a href="SchemaPlus.html" title="interface in org.apache.calcite.schema">SchemaPlus</a> schema, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a><E> clazz, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> tableName)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a <a href="../linq4j/Queryable.html" title="interface in org.apache.calcite.linq4j"><code>Queryable</code></a>, given a schema and table name.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i20"> |
| <td class="colFirst"><code>static @Nullable <a href="../jdbc/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="#resolve(org.apache.calcite.rel.type.RelDataTypeFactory,java.lang.String,java.util.Collection,java.util.List)">resolve</a></span>​(<a href="../rel/type/RelDataTypeFactory.html" title="interface in org.apache.calcite.rel.type">RelDataTypeFactory</a> typeFactory, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> name, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="../jdbc/CalciteSchema.FunctionEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.FunctionEntry</a>> functionEntries, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>> argumentTypes)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i21"> |
| <td class="colFirst"><code>static @Nullable <a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#subSchema(org.apache.calcite.jdbc.CalciteSchema,java.lang.Iterable)">subSchema</a></span>​(<a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> schema, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> names)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a sub-schema of a given schema obtained by following a sequence |
| of names.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i22"> |
| <td class="colFirst"><code>static <a href="../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#subSchemaExpression(org.apache.calcite.schema.SchemaPlus,java.lang.String,java.lang.Class)">subSchemaExpression</a></span>​(<a href="SchemaPlus.html" title="interface in org.apache.calcite.schema">SchemaPlus</a> schema, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> name, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a> type)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the expression for a sub-schema.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i23"> |
| <td class="colFirst"><code>static @Nullable <a href="Table.html" title="interface in org.apache.calcite.schema">Table</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#table(org.apache.calcite.DataContext,java.lang.String...)">table</a></span>​(<a href="../DataContext.html" title="interface in org.apache.calcite">DataContext</a> root, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>... names)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns an <a href="../linq4j/Enumerable.html" title="interface in org.apache.calcite.linq4j"><code>Enumerable</code></a> over object |
| arrays, given a fully-qualified table name which leads to a |
| <a href="ScannableTable.html" title="interface in org.apache.calcite.schema"><code>ScannableTable</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i24"> |
| <td class="colFirst"><code>static <a href="../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#tableExpression(org.apache.calcite.schema.SchemaPlus,java.lang.reflect.Type,java.lang.String,java.lang.Class)">tableExpression</a></span>​(<a href="SchemaPlus.html" title="interface in org.apache.calcite.schema">SchemaPlus</a> schema, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect" class="externalLink">Type</a> elementType, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> tableName, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a> clazz)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the expression to access a table within a schema.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i25"> |
| <td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#uniqueTableName(org.apache.calcite.jdbc.CalciteSchema,java.lang.String)">uniqueTableName</a></span>​(<a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> schema, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> base)</code></th> |
| <td class="colLast"> |
| <div class="block">Generates a table name that is unique within the given schema.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i26"> |
| <td class="colFirst"><code>static <a href="../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#unwrap(org.apache.calcite.linq4j.tree.Expression,java.lang.Class)">unwrap</a></span>​(<a href="../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> call, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a> type)</code></th> |
| <td class="colLast"> |
| <div class="block">Converts a schema expression to a given type by calling the |
| <a href="SchemaPlus.html#unwrap(java.lang.Class)"><code>SchemaPlus.unwrap(Class)</code></a> method.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| </div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3> |
| <a id="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a><code><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></code></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <section class="details"> |
| <ul class="blockList"> |
| <!-- ============ METHOD DETAIL ========== --> |
| <li class="blockList"> |
| <section class="methodDetails"><a id="method.detail"> |
| <!-- --> |
| </a> |
| <h2>Method Details</h2> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="resolve(org.apache.calcite.rel.type.RelDataTypeFactory,java.lang.String,java.util.Collection,java.util.List)">resolve</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="returnType">@Nullable <a href="../jdbc/CalciteSchema.FunctionEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.FunctionEntry</a></span> <span class="memberName">resolve</span>​(<span class="arguments"><a href="../rel/type/RelDataTypeFactory.html" title="interface in org.apache.calcite.rel.type">RelDataTypeFactory</a> typeFactory, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> name, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="../jdbc/CalciteSchema.FunctionEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.FunctionEntry</a>> functionEntries, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>> argumentTypes)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="expression(org.apache.calcite.schema.SchemaPlus)">expression</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="returnType"><a href="../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></span> <span class="memberName">expression</span>​(<span class="arguments"><a href="SchemaPlus.html" title="interface in org.apache.calcite.schema">SchemaPlus</a> schema)</span></div> |
| <div class="block">Returns the expression for a schema.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="subSchemaExpression(org.apache.calcite.schema.SchemaPlus,java.lang.String,java.lang.Class)">subSchemaExpression</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="returnType"><a href="../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></span> <span class="memberName">subSchemaExpression</span>​(<span class="arguments"><a href="SchemaPlus.html" title="interface in org.apache.calcite.schema">SchemaPlus</a> schema, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> name, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a> type)</span></div> |
| <div class="block">Returns the expression for a sub-schema.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="unwrap(org.apache.calcite.linq4j.tree.Expression,java.lang.Class)">unwrap</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="returnType"><a href="../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></span> <span class="memberName">unwrap</span>​(<span class="arguments"><a href="../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> call, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a> type)</span></div> |
| <div class="block">Converts a schema expression to a given type by calling the |
| <a href="SchemaPlus.html#unwrap(java.lang.Class)"><code>SchemaPlus.unwrap(Class)</code></a> method.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="tableExpression(org.apache.calcite.schema.SchemaPlus,java.lang.reflect.Type,java.lang.String,java.lang.Class)">tableExpression</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="returnType"><a href="../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></span> <span class="memberName">tableExpression</span>​(<span class="arguments"><a href="SchemaPlus.html" title="interface in org.apache.calcite.schema">SchemaPlus</a> schema, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect" class="externalLink">Type</a> elementType, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> tableName, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a> clazz)</span></div> |
| <div class="block">Returns the expression to access a table within a schema.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="createDataContext(java.sql.Connection,org.apache.calcite.schema.SchemaPlus)">createDataContext</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="returnType"><a href="../DataContext.html" title="interface in org.apache.calcite">DataContext</a></span> <span class="memberName">createDataContext</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/sql/Connection.html?is-external=true" title="class or interface in java.sql" class="externalLink">Connection</a> connection, |
| @Nullable <a href="SchemaPlus.html" title="interface in org.apache.calcite.schema">SchemaPlus</a> rootSchema)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="queryable(org.apache.calcite.DataContext,java.lang.Class,java.lang.String...)">queryable</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="typeParameters"><E></span> <span class="returnType"><a href="../linq4j/Queryable.html" title="interface in org.apache.calcite.linq4j">Queryable</a><E></span> <span class="memberName">queryable</span>​(<span class="arguments"><a href="../DataContext.html" title="interface in org.apache.calcite">DataContext</a> root, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a><E> clazz, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>... names)</span></div> |
| <div class="block">Returns a <a href="../linq4j/Queryable.html" title="interface in org.apache.calcite.linq4j"><code>Queryable</code></a>, given a fully-qualified table name.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="queryable(org.apache.calcite.DataContext,java.lang.Class,java.lang.Iterable)">queryable</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="typeParameters"><E></span> <span class="returnType"><a href="../linq4j/Queryable.html" title="interface in org.apache.calcite.linq4j">Queryable</a><E></span> <span class="memberName">queryable</span>​(<span class="arguments"><a href="../DataContext.html" title="interface in org.apache.calcite">DataContext</a> root, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a><E> clazz, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><? extends <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> names)</span></div> |
| <div class="block">Returns a <a href="../linq4j/Queryable.html" title="interface in org.apache.calcite.linq4j"><code>Queryable</code></a>, given a fully-qualified table name as an |
| iterable.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="queryable(org.apache.calcite.DataContext,org.apache.calcite.schema.SchemaPlus,java.lang.Class,java.lang.String)">queryable</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="typeParameters"><E></span> <span class="returnType"><a href="../linq4j/Queryable.html" title="interface in org.apache.calcite.linq4j">Queryable</a><E></span> <span class="memberName">queryable</span>​(<span class="arguments"><a href="../DataContext.html" title="interface in org.apache.calcite">DataContext</a> root, |
| <a href="SchemaPlus.html" title="interface in org.apache.calcite.schema">SchemaPlus</a> schema, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a><E> clazz, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> tableName)</span></div> |
| <div class="block">Returns a <a href="../linq4j/Queryable.html" title="interface in org.apache.calcite.linq4j"><code>Queryable</code></a>, given a schema and table name.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="enumerable(org.apache.calcite.schema.ScannableTable,org.apache.calcite.DataContext)">enumerable</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="returnType"><a href="../linq4j/Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a><@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>[]></span> <span class="memberName">enumerable</span>​(<span class="arguments"><a href="ScannableTable.html" title="interface in org.apache.calcite.schema">ScannableTable</a> table, |
| <a href="../DataContext.html" title="interface in org.apache.calcite">DataContext</a> root)</span></div> |
| <div class="block">Returns an <a href="../linq4j/Enumerable.html" title="interface in org.apache.calcite.linq4j"><code>Enumerable</code></a> over the rows of |
| a given table, representing each row as an object array.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="enumerable(org.apache.calcite.schema.FilterableTable,org.apache.calcite.DataContext)">enumerable</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="returnType"><a href="../linq4j/Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a><@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>[]></span> <span class="memberName">enumerable</span>​(<span class="arguments"><a href="FilterableTable.html" title="interface in org.apache.calcite.schema">FilterableTable</a> table, |
| <a href="../DataContext.html" title="interface in org.apache.calcite">DataContext</a> root)</span></div> |
| <div class="block">Returns an <a href="../linq4j/Enumerable.html" title="interface in org.apache.calcite.linq4j"><code>Enumerable</code></a> over the rows of |
| a given table, not applying any filters, representing each row as an object |
| array.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="enumerable(org.apache.calcite.schema.ProjectableFilterableTable,org.apache.calcite.DataContext)">enumerable</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="returnType"><a href="../linq4j/Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a><@Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>[]></span> <span class="memberName">enumerable</span>​(<span class="arguments"><a href="ProjectableFilterableTable.html" title="interface in org.apache.calcite.schema">ProjectableFilterableTable</a> table, |
| <a href="../DataContext.html" title="interface in org.apache.calcite">DataContext</a> root)</span></div> |
| <div class="block">Returns an <a href="../linq4j/Enumerable.html" title="interface in org.apache.calcite.linq4j"><code>Enumerable</code></a> over the rows of |
| a given table, not applying any filters and projecting all columns, |
| representing each row as an object array.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="table(org.apache.calcite.DataContext,java.lang.String...)">table</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="returnType">@Nullable <a href="Table.html" title="interface in org.apache.calcite.schema">Table</a></span> <span class="memberName">table</span>​(<span class="arguments"><a href="../DataContext.html" title="interface in org.apache.calcite">DataContext</a> root, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>... names)</span></div> |
| <div class="block">Returns an <a href="../linq4j/Enumerable.html" title="interface in org.apache.calcite.linq4j"><code>Enumerable</code></a> over object |
| arrays, given a fully-qualified table name which leads to a |
| <a href="ScannableTable.html" title="interface in org.apache.calcite.schema"><code>ScannableTable</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="parse(org.apache.calcite.jdbc.CalciteConnection,org.apache.calcite.jdbc.CalciteSchema,java.util.List,java.lang.String)">parse</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="returnType"><a href="../jdbc/CalcitePrepare.ParseResult.html" title="class in org.apache.calcite.jdbc">CalcitePrepare.ParseResult</a></span> <span class="memberName">parse</span>​(<span class="arguments"><a href="../jdbc/CalciteConnection.html" title="interface in org.apache.calcite.jdbc">CalciteConnection</a> connection, |
| <a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> schema, |
| @Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> schemaPath, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> sql)</span></div> |
| <div class="block">Parses and validates a SQL query. For use within Calcite only.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="convert(org.apache.calcite.jdbc.CalciteConnection,org.apache.calcite.jdbc.CalciteSchema,java.util.List,java.lang.String)">convert</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="returnType"><a href="../jdbc/CalcitePrepare.ConvertResult.html" title="class in org.apache.calcite.jdbc">CalcitePrepare.ConvertResult</a></span> <span class="memberName">convert</span>​(<span class="arguments"><a href="../jdbc/CalciteConnection.html" title="interface in org.apache.calcite.jdbc">CalciteConnection</a> connection, |
| <a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> schema, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> schemaPath, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> sql)</span></div> |
| <div class="block">Parses and validates a SQL query and converts to relational algebra. For |
| use within Calcite only.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="analyzeView(org.apache.calcite.jdbc.CalciteConnection,org.apache.calcite.jdbc.CalciteSchema,java.util.List,java.lang.String,java.util.List,boolean)">analyzeView</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="returnType"><a href="../jdbc/CalcitePrepare.AnalyzeViewResult.html" title="class in org.apache.calcite.jdbc">CalcitePrepare.AnalyzeViewResult</a></span> <span class="memberName">analyzeView</span>​(<span class="arguments"><a href="../jdbc/CalciteConnection.html" title="interface in org.apache.calcite.jdbc">CalciteConnection</a> connection, |
| <a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> schema, |
| @Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> schemaPath, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> viewSql, |
| @Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> viewPath, |
| boolean fail)</span></div> |
| <div class="block">Analyzes a view. For use within Calcite only.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="prepare(org.apache.calcite.jdbc.CalciteConnection,org.apache.calcite.jdbc.CalciteSchema,java.util.List,java.lang.String,com.google.common.collect.ImmutableMap)">prepare</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="returnType"><a href="../jdbc/CalcitePrepare.CalciteSignature.html" title="class in org.apache.calcite.jdbc">CalcitePrepare.CalciteSignature</a><<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>></span> <span class="memberName">prepare</span>​(<span class="arguments"><a href="../jdbc/CalciteConnection.html" title="interface in org.apache.calcite.jdbc">CalciteConnection</a> connection, |
| <a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> schema, |
| @Nullable <a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> schemaPath, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> sql, |
| com.google.common.collect.ImmutableMap<<a href="../config/CalciteConnectionProperty.html" title="enum in org.apache.calcite.config">CalciteConnectionProperty</a>,​<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> map)</span></div> |
| <div class="block">Prepares a SQL query for execution. For use within Calcite only.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="proto(org.apache.calcite.schema.Table)">proto</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="returnType"><a href="../rel/type/RelProtoDataType.html" title="interface in org.apache.calcite.rel.type">RelProtoDataType</a></span> <span class="memberName">proto</span>​(<span class="arguments"><a href="Table.html" title="interface in org.apache.calcite.schema">Table</a> table)</span></div> |
| <div class="block">Returns an implementation of |
| <a href="../rel/type/RelProtoDataType.html" title="interface in org.apache.calcite.rel.type"><code>RelProtoDataType</code></a> |
| that asks a given table for its row type with a given type factory.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="proto(org.apache.calcite.schema.ScalarFunction)">proto</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="returnType"><a href="../rel/type/RelProtoDataType.html" title="interface in org.apache.calcite.rel.type">RelProtoDataType</a></span> <span class="memberName">proto</span>​(<span class="arguments"><a href="ScalarFunction.html" title="interface in org.apache.calcite.schema">ScalarFunction</a> function)</span></div> |
| <div class="block">Returns an implementation of <a href="../rel/type/RelProtoDataType.html" title="interface in org.apache.calcite.rel.type"><code>RelProtoDataType</code></a> |
| that asks a given scalar function for its return type with a given type |
| factory.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="getStarTables(org.apache.calcite.jdbc.CalciteSchema)">getStarTables</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="../jdbc/CalciteSchema.TableEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TableEntry</a>></span> <span class="memberName">getStarTables</span>​(<span class="arguments"><a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> schema)</span></div> |
| <div class="block">Returns the star tables defined in a schema.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>schema</code> - Schema</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="getLattices(org.apache.calcite.jdbc.CalciteSchema)">getLattices</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="../materialize/Lattice.html" title="class in org.apache.calcite.materialize">Lattice</a>></span> <span class="memberName">getLattices</span>​(<span class="arguments"><a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> schema)</span></div> |
| <div class="block">Returns the lattices defined in a schema.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>schema</code> - Schema</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="getLatticeEntries(org.apache.calcite.jdbc.CalciteSchema)">getLatticeEntries</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="../jdbc/CalciteSchema.LatticeEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.LatticeEntry</a>></span> <span class="memberName">getLatticeEntries</span>​(<span class="arguments"><a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> schema)</span></div> |
| <div class="block">Returns the lattices defined in a schema.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>schema</code> - Schema</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="subSchema(org.apache.calcite.jdbc.CalciteSchema,java.lang.Iterable)">subSchema</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="returnType">@Nullable <a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a></span> <span class="memberName">subSchema</span>​(<span class="arguments"><a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> schema, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> names)</span></div> |
| <div class="block">Returns a sub-schema of a given schema obtained by following a sequence |
| of names. |
| |
| <p>The result is null if the initial schema is null or any sub-schema does |
| not exist.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="uniqueTableName(org.apache.calcite.jdbc.CalciteSchema,java.lang.String)">uniqueTableName</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></span> <span class="memberName">uniqueTableName</span>​(<span class="arguments"><a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> schema, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> base)</span></div> |
| <div class="block">Generates a table name that is unique within the given schema.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="path(org.apache.calcite.jdbc.CalciteSchema,java.lang.Iterable)">path</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="returnType"><a href="Path.html" title="interface in org.apache.calcite.schema">Path</a></span> <span class="memberName">path</span>​(<span class="arguments"><a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> rootSchema, |
| <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> names)</span></div> |
| <div class="block">Creates a path with a given list of names starting from a given root |
| schema.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="path(com.google.common.collect.ImmutableList)">path</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="returnType">org.apache.calcite.schema.Schemas.PathImpl</span> <span class="memberName">path</span>​(<span class="arguments">com.google.common.collect.ImmutableList<<a href="../util/Pair.html" title="class in org.apache.calcite.util">Pair</a><<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,​<a href="Schema.html" title="interface in org.apache.calcite.schema">Schema</a>>> build)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="path(org.apache.calcite.schema.SchemaPlus)">path</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="returnType"><a href="Path.html" title="interface in org.apache.calcite.schema">Path</a></span> <span class="memberName">path</span>​(<span class="arguments"><a href="SchemaPlus.html" title="interface in org.apache.calcite.schema">SchemaPlus</a> schema)</span></div> |
| <div class="block">Returns the path to get to a schema from its root.</div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| </main> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a id="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</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 class="aboutLanguage"><b>Apache Calcite</b></div> |
| </div> |
| <div class="subNav"> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 2012-2021 Apache Software Foundation. All Rights Reserved.</small></p> |
| </footer> |
| </div> |
| </div> |
| </body> |
| </html> |