blob: fa467198f8d7466429584ce6e0305d215b8eb6f0 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Schemas (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="Schemas (Apache Calcite API)";
}
}
catch(err) {
}
//-->
var data = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":9,"i31":9,"i32":9,"i33":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Schemas.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&nbsp;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:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</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">&nbsp;</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>&nbsp;<a href="package-summary.html">org.apache.calcite.schema</a></div>
<h2 title="Class Schemas" class="title">Class Schemas</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.apache.calcite.schema.Schemas</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<pre>public final class <span class="typeNameLabel">Schemas</span>
extends java.lang.Object</pre>
<div class="block">Utility functions for schemas.</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">&nbsp;</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>private static class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="Schemas.DummyDataContext.html" title="class in org.apache.calcite.schema">Schemas.DummyDataContext</a></span></code></th>
<td class="colLast">
<div class="block">Dummy data context that has no variables.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private static class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="Schemas.PathImpl.html" title="class in org.apache.calcite.schema">Schemas.PathImpl</a></span></code></th>
<td class="colLast">
<div class="block">Implementation of <a href="Path.html" title="interface in org.apache.calcite.schema"><code>Path</code></a>.</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier</th>
<th class="colSecond" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private </code></td>
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">Schemas</a></span>()</code></th>
<td class="colLast">&nbsp;</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">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>static <a href="../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>&#8203;(<a href="../jdbc/CalciteConnection.html" title="interface in org.apache.calcite.jdbc">CalciteConnection</a>&nbsp;connection,
<a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a>&nbsp;schema,
java.util.List&lt;java.lang.String&gt;&nbsp;schemaPath,
java.lang.String&nbsp;viewSql,
java.util.List&lt;java.lang.String&gt;&nbsp;viewPath,
boolean&nbsp;fail)</code></th>
<td class="colLast">
<div class="block">Analyzes a view.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>private static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#canConvert(org.apache.calcite.rel.type.RelDataType,org.apache.calcite.rel.type.RelDataType)">canConvert</a></span>&#8203;(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;fromType,
<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;toType)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<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>&#8203;(<a href="../jdbc/CalciteConnection.html" title="interface in org.apache.calcite.jdbc">CalciteConnection</a>&nbsp;connection,
<a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a>&nbsp;schema,
java.util.List&lt;java.lang.String&gt;&nbsp;schemaPath,
java.lang.String&nbsp;sql)</code></th>
<td class="colLast">
<div class="block">Parses and validates a SQL query and converts to relational algebra.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<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>&#8203;(java.sql.Connection&nbsp;connection,
<a href="SchemaPlus.html" title="interface in org.apache.calcite.schema">SchemaPlus</a>&nbsp;rootSchema)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>static <a href="../linq4j/Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;java.lang.Object[]&gt;</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>&#8203;(<a href="FilterableTable.html" title="interface in org.apache.calcite.schema">FilterableTable</a>&nbsp;table,
<a href="../DataContext.html" title="interface in org.apache.calcite">DataContext</a>&nbsp;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 id="i5" class="rowColor">
<td class="colFirst"><code>static <a href="../linq4j/Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;java.lang.Object[]&gt;</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>&#8203;(<a href="ProjectableFilterableTable.html" title="interface in org.apache.calcite.schema">ProjectableFilterableTable</a>&nbsp;table,
<a href="../DataContext.html" title="interface in org.apache.calcite">DataContext</a>&nbsp;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 id="i6" class="altColor">
<td class="colFirst"><code>static <a href="../linq4j/Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;java.lang.Object[]&gt;</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>&#8203;(<a href="ScannableTable.html" title="interface in org.apache.calcite.schema">ScannableTable</a>&nbsp;table,
<a href="../DataContext.html" title="interface in org.apache.calcite">DataContext</a>&nbsp;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 id="i7" class="rowColor">
<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>&#8203;(<a href="SchemaPlus.html" title="interface in org.apache.calcite.schema">SchemaPlus</a>&nbsp;schema)</code></th>
<td class="colLast">
<div class="block">Returns the expression for a schema.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>private static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#gatherLattices(org.apache.calcite.jdbc.CalciteSchema,java.util.List)">gatherLattices</a></span>&#8203;(<a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a>&nbsp;schema,
java.util.List&lt;<a href="../jdbc/CalciteSchema.LatticeEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.LatticeEntry</a>&gt;&nbsp;list)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>static java.util.List&lt;<a href="../jdbc/CalciteSchema.LatticeEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.LatticeEntry</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLatticeEntries(org.apache.calcite.jdbc.CalciteSchema)">getLatticeEntries</a></span>&#8203;(<a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a>&nbsp;schema)</code></th>
<td class="colLast">
<div class="block">Returns the lattices defined in a schema.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>static java.util.List&lt;<a href="../materialize/Lattice.html" title="class in org.apache.calcite.materialize">Lattice</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLattices(org.apache.calcite.jdbc.CalciteSchema)">getLattices</a></span>&#8203;(<a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a>&nbsp;schema)</code></th>
<td class="colLast">
<div class="block">Returns the lattices defined in a schema.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>static java.util.List&lt;<a href="../jdbc/CalciteSchema.TableEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TableEntry</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getStarTables(org.apache.calcite.jdbc.CalciteSchema)">getStarTables</a></span>&#8203;(<a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a>&nbsp;schema)</code></th>
<td class="colLast">
<div class="block">Returns the star tables defined in a schema.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>private static int[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#identity(int)">identity</a></span>&#8203;(int&nbsp;count)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>private static <a href="../jdbc/CalcitePrepare.Context.html" title="interface in org.apache.calcite.jdbc">CalcitePrepare.Context</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#makeContext(org.apache.calcite.config.CalciteConnectionConfig,org.apache.calcite.adapter.java.JavaTypeFactory,org.apache.calcite.DataContext,org.apache.calcite.jdbc.CalciteSchema,java.util.List,java.util.List)">makeContext</a></span>&#8203;(<a href="../config/CalciteConnectionConfig.html" title="interface in org.apache.calcite.config">CalciteConnectionConfig</a>&nbsp;connectionConfig,
<a href="../adapter/java/JavaTypeFactory.html" title="interface in org.apache.calcite.adapter.java">JavaTypeFactory</a>&nbsp;typeFactory,
<a href="../DataContext.html" title="interface in org.apache.calcite">DataContext</a>&nbsp;dataContext,
<a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a>&nbsp;schema,
java.util.List&lt;java.lang.String&gt;&nbsp;schemaPath,
java.util.List&lt;java.lang.String&gt;&nbsp;objectPath_)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>private static <a href="../jdbc/CalcitePrepare.Context.html" title="interface in org.apache.calcite.jdbc">CalcitePrepare.Context</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#makeContext(org.apache.calcite.jdbc.CalciteConnection,org.apache.calcite.jdbc.CalciteSchema,java.util.List,java.util.List,com.google.common.collect.ImmutableMap)">makeContext</a></span>&#8203;(<a href="../jdbc/CalciteConnection.html" title="interface in org.apache.calcite.jdbc">CalciteConnection</a>&nbsp;connection,
<a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a>&nbsp;schema,
java.util.List&lt;java.lang.String&gt;&nbsp;schemaPath,
java.util.List&lt;java.lang.String&gt;&nbsp;objectPath,
com.google.common.collect.ImmutableMap&lt;<a href="../config/CalciteConnectionProperty.html" title="enum in org.apache.calcite.config">CalciteConnectionProperty</a>,&#8203;java.lang.String&gt;&nbsp;propValues)</code></th>
<td class="colLast">
<div class="block">Creates a context for the purposes of preparing a statement.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>private static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#matches(org.apache.calcite.rel.type.RelDataTypeFactory,org.apache.calcite.schema.Function,java.util.List)">matches</a></span>&#8203;(<a href="../rel/type/RelDataTypeFactory.html" title="interface in org.apache.calcite.rel.type">RelDataTypeFactory</a>&nbsp;typeFactory,
<a href="Function.html" title="interface in org.apache.calcite.schema">Function</a>&nbsp;member,
java.util.List&lt;<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&gt;&nbsp;argumentTypes)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>private static <a href="../config/CalciteConnectionConfig.html" title="interface in org.apache.calcite.config">CalciteConnectionConfig</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#mutate(org.apache.calcite.config.CalciteConnectionConfig,com.google.common.collect.ImmutableMap)">mutate</a></span>&#8203;(<a href="../config/CalciteConnectionConfig.html" title="interface in org.apache.calcite.config">CalciteConnectionConfig</a>&nbsp;config,
com.google.common.collect.ImmutableMap&lt;<a href="../config/CalciteConnectionProperty.html" title="enum in org.apache.calcite.config">CalciteConnectionProperty</a>,&#8203;java.lang.String&gt;&nbsp;propValues)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i17" class="rowColor">
<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>&#8203;(<a href="../jdbc/CalciteConnection.html" title="interface in org.apache.calcite.jdbc">CalciteConnection</a>&nbsp;connection,
<a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a>&nbsp;schema,
java.util.List&lt;java.lang.String&gt;&nbsp;schemaPath,
java.lang.String&nbsp;sql)</code></th>
<td class="colLast">
<div class="block">Parses and validates a SQL query.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>static <a href="Schemas.PathImpl.html" title="class in org.apache.calcite.schema">Schemas.PathImpl</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#path(com.google.common.collect.ImmutableList)">path</a></span>&#8203;(com.google.common.collect.ImmutableList&lt;<a href="../util/Pair.html" title="class in org.apache.calcite.util">Pair</a>&lt;java.lang.String,&#8203;<a href="Schema.html" title="interface in org.apache.calcite.schema">Schema</a>&gt;&gt;&nbsp;build)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i19" class="rowColor">
<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>&#8203;(<a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a>&nbsp;rootSchema,
java.lang.Iterable&lt;java.lang.String&gt;&nbsp;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 id="i20" class="altColor">
<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>&#8203;(<a href="SchemaPlus.html" title="interface in org.apache.calcite.schema">SchemaPlus</a>&nbsp;schema)</code></th>
<td class="colLast">
<div class="block">Returns the path to get to a schema from its root.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>static <a href="../jdbc/CalcitePrepare.CalciteSignature.html" title="class in org.apache.calcite.jdbc">CalcitePrepare.CalciteSignature</a>&lt;java.lang.Object&gt;</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>&#8203;(<a href="../jdbc/CalciteConnection.html" title="interface in org.apache.calcite.jdbc">CalciteConnection</a>&nbsp;connection,
<a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a>&nbsp;schema,
java.util.List&lt;java.lang.String&gt;&nbsp;schemaPath,
java.lang.String&nbsp;sql,
com.google.common.collect.ImmutableMap&lt;<a href="../config/CalciteConnectionProperty.html" title="enum in org.apache.calcite.config">CalciteConnectionProperty</a>,&#8203;java.lang.String&gt;&nbsp;map)</code></th>
<td class="colLast">
<div class="block">Prepares a SQL query for execution.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<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>&#8203;(<a href="ScalarFunction.html" title="interface in org.apache.calcite.schema">ScalarFunction</a>&nbsp;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 id="i23" class="rowColor">
<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>&#8203;(<a href="Table.html" title="interface in org.apache.calcite.schema">Table</a>&nbsp;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 id="i24" class="altColor">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="../linq4j/Queryable.html" title="interface in org.apache.calcite.linq4j">Queryable</a>&lt;E&gt;</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>&#8203;(<a href="../DataContext.html" title="interface in org.apache.calcite">DataContext</a>&nbsp;root,
java.lang.Class&lt;E&gt;&nbsp;clazz,
java.lang.Iterable&lt;? extends java.lang.String&gt;&nbsp;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 id="i25" class="rowColor">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="../linq4j/Queryable.html" title="interface in org.apache.calcite.linq4j">Queryable</a>&lt;E&gt;</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>&#8203;(<a href="../DataContext.html" title="interface in org.apache.calcite">DataContext</a>&nbsp;root,
java.lang.Class&lt;E&gt;&nbsp;clazz,
java.lang.String...&nbsp;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 id="i26" class="altColor">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="../linq4j/Queryable.html" title="interface in org.apache.calcite.linq4j">Queryable</a>&lt;E&gt;</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>&#8203;(<a href="../DataContext.html" title="interface in org.apache.calcite">DataContext</a>&nbsp;root,
<a href="SchemaPlus.html" title="interface in org.apache.calcite.schema">SchemaPlus</a>&nbsp;schema,
java.lang.Class&lt;E&gt;&nbsp;clazz,
java.lang.String&nbsp;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 id="i27" class="rowColor">
<td class="colFirst"><code>static <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>&#8203;(<a href="../rel/type/RelDataTypeFactory.html" title="interface in org.apache.calcite.rel.type">RelDataTypeFactory</a>&nbsp;typeFactory,
java.lang.String&nbsp;name,
java.util.Collection&lt;<a href="../jdbc/CalciteSchema.FunctionEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.FunctionEntry</a>&gt;&nbsp;functionEntries,
java.util.List&lt;<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&gt;&nbsp;argumentTypes)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>static <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>&#8203;(<a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a>&nbsp;schema,
java.lang.Iterable&lt;java.lang.String&gt;&nbsp;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 id="i29" class="rowColor">
<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>&#8203;(<a href="SchemaPlus.html" title="interface in org.apache.calcite.schema">SchemaPlus</a>&nbsp;schema,
java.lang.String&nbsp;name,
java.lang.Class&nbsp;type)</code></th>
<td class="colLast">
<div class="block">Returns the expression for a sub-schema.</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>static <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>&#8203;(<a href="../DataContext.html" title="interface in org.apache.calcite">DataContext</a>&nbsp;root,
java.lang.String...&nbsp;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 id="i31" class="rowColor">
<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>&#8203;(<a href="SchemaPlus.html" title="interface in org.apache.calcite.schema">SchemaPlus</a>&nbsp;schema,
java.lang.reflect.Type&nbsp;elementType,
java.lang.String&nbsp;tableName,
java.lang.Class&nbsp;clazz)</code></th>
<td class="colLast">
<div class="block">Returns the expression to access a table within a schema.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>static java.lang.String</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>&#8203;(<a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a>&nbsp;schema,
java.lang.String&nbsp;base)</code></th>
<td class="colLast">
<div class="block">Generates a table name that is unique within the given schema.</div>
</td>
</tr>
<tr id="i33" class="rowColor">
<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>&#8203;(<a href="../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&nbsp;call,
java.lang.Class&nbsp;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>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>Schemas</h4>
<pre>private&nbsp;Schemas()</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="resolve(org.apache.calcite.rel.type.RelDataTypeFactory,java.lang.String,java.util.Collection,java.util.List)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resolve</h4>
<pre class="methodSignature">public static&nbsp;<a href="../jdbc/CalciteSchema.FunctionEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.FunctionEntry</a>&nbsp;resolve&#8203;(<a href="../rel/type/RelDataTypeFactory.html" title="interface in org.apache.calcite.rel.type">RelDataTypeFactory</a>&nbsp;typeFactory,
java.lang.String&nbsp;name,
java.util.Collection&lt;<a href="../jdbc/CalciteSchema.FunctionEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.FunctionEntry</a>&gt;&nbsp;functionEntries,
java.util.List&lt;<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&gt;&nbsp;argumentTypes)</pre>
</li>
</ul>
<a id="matches(org.apache.calcite.rel.type.RelDataTypeFactory,org.apache.calcite.schema.Function,java.util.List)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>matches</h4>
<pre class="methodSignature">private static&nbsp;boolean&nbsp;matches&#8203;(<a href="../rel/type/RelDataTypeFactory.html" title="interface in org.apache.calcite.rel.type">RelDataTypeFactory</a>&nbsp;typeFactory,
<a href="Function.html" title="interface in org.apache.calcite.schema">Function</a>&nbsp;member,
java.util.List&lt;<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&gt;&nbsp;argumentTypes)</pre>
</li>
</ul>
<a id="canConvert(org.apache.calcite.rel.type.RelDataType,org.apache.calcite.rel.type.RelDataType)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canConvert</h4>
<pre class="methodSignature">private static&nbsp;boolean&nbsp;canConvert&#8203;(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;fromType,
<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;toType)</pre>
</li>
</ul>
<a id="expression(org.apache.calcite.schema.SchemaPlus)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>expression</h4>
<pre class="methodSignature">public static&nbsp;<a href="../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&nbsp;expression&#8203;(<a href="SchemaPlus.html" title="interface in org.apache.calcite.schema">SchemaPlus</a>&nbsp;schema)</pre>
<div class="block">Returns the expression for a schema.</div>
</li>
</ul>
<a id="subSchemaExpression(org.apache.calcite.schema.SchemaPlus,java.lang.String,java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>subSchemaExpression</h4>
<pre class="methodSignature">public static&nbsp;<a href="../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&nbsp;subSchemaExpression&#8203;(<a href="SchemaPlus.html" title="interface in org.apache.calcite.schema">SchemaPlus</a>&nbsp;schema,
java.lang.String&nbsp;name,
java.lang.Class&nbsp;type)</pre>
<div class="block">Returns the expression for a sub-schema.</div>
</li>
</ul>
<a id="unwrap(org.apache.calcite.linq4j.tree.Expression,java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unwrap</h4>
<pre class="methodSignature">public static&nbsp;<a href="../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&nbsp;unwrap&#8203;(<a href="../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&nbsp;call,
java.lang.Class&nbsp;type)</pre>
<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>
</li>
</ul>
<a id="tableExpression(org.apache.calcite.schema.SchemaPlus,java.lang.reflect.Type,java.lang.String,java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>tableExpression</h4>
<pre class="methodSignature">public static&nbsp;<a href="../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&nbsp;tableExpression&#8203;(<a href="SchemaPlus.html" title="interface in org.apache.calcite.schema">SchemaPlus</a>&nbsp;schema,
java.lang.reflect.Type&nbsp;elementType,
java.lang.String&nbsp;tableName,
java.lang.Class&nbsp;clazz)</pre>
<div class="block">Returns the expression to access a table within a schema.</div>
</li>
</ul>
<a id="createDataContext(java.sql.Connection,org.apache.calcite.schema.SchemaPlus)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createDataContext</h4>
<pre class="methodSignature">public static&nbsp;<a href="../DataContext.html" title="interface in org.apache.calcite">DataContext</a>&nbsp;createDataContext&#8203;(java.sql.Connection&nbsp;connection,
<a href="SchemaPlus.html" title="interface in org.apache.calcite.schema">SchemaPlus</a>&nbsp;rootSchema)</pre>
</li>
</ul>
<a id="queryable(org.apache.calcite.DataContext,java.lang.Class,java.lang.String...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>queryable</h4>
<pre class="methodSignature">public static&nbsp;&lt;E&gt;&nbsp;<a href="../linq4j/Queryable.html" title="interface in org.apache.calcite.linq4j">Queryable</a>&lt;E&gt;&nbsp;queryable&#8203;(<a href="../DataContext.html" title="interface in org.apache.calcite">DataContext</a>&nbsp;root,
java.lang.Class&lt;E&gt;&nbsp;clazz,
java.lang.String...&nbsp;names)</pre>
<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>
</li>
</ul>
<a id="queryable(org.apache.calcite.DataContext,java.lang.Class,java.lang.Iterable)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>queryable</h4>
<pre class="methodSignature">public static&nbsp;&lt;E&gt;&nbsp;<a href="../linq4j/Queryable.html" title="interface in org.apache.calcite.linq4j">Queryable</a>&lt;E&gt;&nbsp;queryable&#8203;(<a href="../DataContext.html" title="interface in org.apache.calcite">DataContext</a>&nbsp;root,
java.lang.Class&lt;E&gt;&nbsp;clazz,
java.lang.Iterable&lt;? extends java.lang.String&gt;&nbsp;names)</pre>
<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>
</li>
</ul>
<a id="queryable(org.apache.calcite.DataContext,org.apache.calcite.schema.SchemaPlus,java.lang.Class,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>queryable</h4>
<pre class="methodSignature">public static&nbsp;&lt;E&gt;&nbsp;<a href="../linq4j/Queryable.html" title="interface in org.apache.calcite.linq4j">Queryable</a>&lt;E&gt;&nbsp;queryable&#8203;(<a href="../DataContext.html" title="interface in org.apache.calcite">DataContext</a>&nbsp;root,
<a href="SchemaPlus.html" title="interface in org.apache.calcite.schema">SchemaPlus</a>&nbsp;schema,
java.lang.Class&lt;E&gt;&nbsp;clazz,
java.lang.String&nbsp;tableName)</pre>
<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>
</li>
</ul>
<a id="enumerable(org.apache.calcite.schema.ScannableTable,org.apache.calcite.DataContext)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>enumerable</h4>
<pre class="methodSignature">public static&nbsp;<a href="../linq4j/Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;java.lang.Object[]&gt;&nbsp;enumerable&#8203;(<a href="ScannableTable.html" title="interface in org.apache.calcite.schema">ScannableTable</a>&nbsp;table,
<a href="../DataContext.html" title="interface in org.apache.calcite">DataContext</a>&nbsp;root)</pre>
<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>
</li>
</ul>
<a id="enumerable(org.apache.calcite.schema.FilterableTable,org.apache.calcite.DataContext)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>enumerable</h4>
<pre class="methodSignature">public static&nbsp;<a href="../linq4j/Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;java.lang.Object[]&gt;&nbsp;enumerable&#8203;(<a href="FilterableTable.html" title="interface in org.apache.calcite.schema">FilterableTable</a>&nbsp;table,
<a href="../DataContext.html" title="interface in org.apache.calcite">DataContext</a>&nbsp;root)</pre>
<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>
</li>
</ul>
<a id="enumerable(org.apache.calcite.schema.ProjectableFilterableTable,org.apache.calcite.DataContext)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>enumerable</h4>
<pre class="methodSignature">public static&nbsp;<a href="../linq4j/Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;java.lang.Object[]&gt;&nbsp;enumerable&#8203;(<a href="ProjectableFilterableTable.html" title="interface in org.apache.calcite.schema">ProjectableFilterableTable</a>&nbsp;table,
<a href="../DataContext.html" title="interface in org.apache.calcite">DataContext</a>&nbsp;root)</pre>
<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>
</li>
</ul>
<a id="identity(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>identity</h4>
<pre class="methodSignature">private static&nbsp;int[]&nbsp;identity&#8203;(int&nbsp;count)</pre>
</li>
</ul>
<a id="table(org.apache.calcite.DataContext,java.lang.String...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>table</h4>
<pre class="methodSignature">public static&nbsp;<a href="Table.html" title="interface in org.apache.calcite.schema">Table</a>&nbsp;table&#8203;(<a href="../DataContext.html" title="interface in org.apache.calcite">DataContext</a>&nbsp;root,
java.lang.String...&nbsp;names)</pre>
<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>
</li>
</ul>
<a id="parse(org.apache.calcite.jdbc.CalciteConnection,org.apache.calcite.jdbc.CalciteSchema,java.util.List,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parse</h4>
<pre class="methodSignature">public static&nbsp;<a href="../jdbc/CalcitePrepare.ParseResult.html" title="class in org.apache.calcite.jdbc">CalcitePrepare.ParseResult</a>&nbsp;parse&#8203;(<a href="../jdbc/CalciteConnection.html" title="interface in org.apache.calcite.jdbc">CalciteConnection</a>&nbsp;connection,
<a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a>&nbsp;schema,
java.util.List&lt;java.lang.String&gt;&nbsp;schemaPath,
java.lang.String&nbsp;sql)</pre>
<div class="block">Parses and validates a SQL query. For use within Calcite only.</div>
</li>
</ul>
<a id="convert(org.apache.calcite.jdbc.CalciteConnection,org.apache.calcite.jdbc.CalciteSchema,java.util.List,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>convert</h4>
<pre class="methodSignature">public static&nbsp;<a href="../jdbc/CalcitePrepare.ConvertResult.html" title="class in org.apache.calcite.jdbc">CalcitePrepare.ConvertResult</a>&nbsp;convert&#8203;(<a href="../jdbc/CalciteConnection.html" title="interface in org.apache.calcite.jdbc">CalciteConnection</a>&nbsp;connection,
<a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a>&nbsp;schema,
java.util.List&lt;java.lang.String&gt;&nbsp;schemaPath,
java.lang.String&nbsp;sql)</pre>
<div class="block">Parses and validates a SQL query and converts to relational algebra. For
use within Calcite only.</div>
</li>
</ul>
<a id="analyzeView(org.apache.calcite.jdbc.CalciteConnection,org.apache.calcite.jdbc.CalciteSchema,java.util.List,java.lang.String,java.util.List,boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>analyzeView</h4>
<pre class="methodSignature">public static&nbsp;<a href="../jdbc/CalcitePrepare.AnalyzeViewResult.html" title="class in org.apache.calcite.jdbc">CalcitePrepare.AnalyzeViewResult</a>&nbsp;analyzeView&#8203;(<a href="../jdbc/CalciteConnection.html" title="interface in org.apache.calcite.jdbc">CalciteConnection</a>&nbsp;connection,
<a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a>&nbsp;schema,
java.util.List&lt;java.lang.String&gt;&nbsp;schemaPath,
java.lang.String&nbsp;viewSql,
java.util.List&lt;java.lang.String&gt;&nbsp;viewPath,
boolean&nbsp;fail)</pre>
<div class="block">Analyzes a view. For use within Calcite only.</div>
</li>
</ul>
<a id="prepare(org.apache.calcite.jdbc.CalciteConnection,org.apache.calcite.jdbc.CalciteSchema,java.util.List,java.lang.String,com.google.common.collect.ImmutableMap)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>prepare</h4>
<pre class="methodSignature">public static&nbsp;<a href="../jdbc/CalcitePrepare.CalciteSignature.html" title="class in org.apache.calcite.jdbc">CalcitePrepare.CalciteSignature</a>&lt;java.lang.Object&gt;&nbsp;prepare&#8203;(<a href="../jdbc/CalciteConnection.html" title="interface in org.apache.calcite.jdbc">CalciteConnection</a>&nbsp;connection,
<a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a>&nbsp;schema,
java.util.List&lt;java.lang.String&gt;&nbsp;schemaPath,
java.lang.String&nbsp;sql,
com.google.common.collect.ImmutableMap&lt;<a href="../config/CalciteConnectionProperty.html" title="enum in org.apache.calcite.config">CalciteConnectionProperty</a>,&#8203;java.lang.String&gt;&nbsp;map)</pre>
<div class="block">Prepares a SQL query for execution. For use within Calcite only.</div>
</li>
</ul>
<a id="makeContext(org.apache.calcite.jdbc.CalciteConnection,org.apache.calcite.jdbc.CalciteSchema,java.util.List,java.util.List,com.google.common.collect.ImmutableMap)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>makeContext</h4>
<pre class="methodSignature">private static&nbsp;<a href="../jdbc/CalcitePrepare.Context.html" title="interface in org.apache.calcite.jdbc">CalcitePrepare.Context</a>&nbsp;makeContext&#8203;(<a href="../jdbc/CalciteConnection.html" title="interface in org.apache.calcite.jdbc">CalciteConnection</a>&nbsp;connection,
<a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a>&nbsp;schema,
java.util.List&lt;java.lang.String&gt;&nbsp;schemaPath,
java.util.List&lt;java.lang.String&gt;&nbsp;objectPath,
com.google.common.collect.ImmutableMap&lt;<a href="../config/CalciteConnectionProperty.html" title="enum in org.apache.calcite.config">CalciteConnectionProperty</a>,&#8203;java.lang.String&gt;&nbsp;propValues)</pre>
<div class="block">Creates a context for the purposes of preparing a statement.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>connection</code> - Connection</dd>
<dd><code>schema</code> - Schema</dd>
<dd><code>schemaPath</code> - Path wherein to look for functions</dd>
<dd><code>objectPath</code> - Path of the object being analyzed (usually a view),
or null</dd>
<dd><code>propValues</code> - Connection properties</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Context</dd>
</dl>
</li>
</ul>
<a id="mutate(org.apache.calcite.config.CalciteConnectionConfig,com.google.common.collect.ImmutableMap)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mutate</h4>
<pre class="methodSignature">private static&nbsp;<a href="../config/CalciteConnectionConfig.html" title="interface in org.apache.calcite.config">CalciteConnectionConfig</a>&nbsp;mutate&#8203;(<a href="../config/CalciteConnectionConfig.html" title="interface in org.apache.calcite.config">CalciteConnectionConfig</a>&nbsp;config,
com.google.common.collect.ImmutableMap&lt;<a href="../config/CalciteConnectionProperty.html" title="enum in org.apache.calcite.config">CalciteConnectionProperty</a>,&#8203;java.lang.String&gt;&nbsp;propValues)</pre>
</li>
</ul>
<a id="makeContext(org.apache.calcite.config.CalciteConnectionConfig,org.apache.calcite.adapter.java.JavaTypeFactory,org.apache.calcite.DataContext,org.apache.calcite.jdbc.CalciteSchema,java.util.List,java.util.List)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>makeContext</h4>
<pre class="methodSignature">private static&nbsp;<a href="../jdbc/CalcitePrepare.Context.html" title="interface in org.apache.calcite.jdbc">CalcitePrepare.Context</a>&nbsp;makeContext&#8203;(<a href="../config/CalciteConnectionConfig.html" title="interface in org.apache.calcite.config">CalciteConnectionConfig</a>&nbsp;connectionConfig,
<a href="../adapter/java/JavaTypeFactory.html" title="interface in org.apache.calcite.adapter.java">JavaTypeFactory</a>&nbsp;typeFactory,
<a href="../DataContext.html" title="interface in org.apache.calcite">DataContext</a>&nbsp;dataContext,
<a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a>&nbsp;schema,
java.util.List&lt;java.lang.String&gt;&nbsp;schemaPath,
java.util.List&lt;java.lang.String&gt;&nbsp;objectPath_)</pre>
</li>
</ul>
<a id="proto(org.apache.calcite.schema.Table)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>proto</h4>
<pre class="methodSignature">public static&nbsp;<a href="../rel/type/RelProtoDataType.html" title="interface in org.apache.calcite.rel.type">RelProtoDataType</a>&nbsp;proto&#8203;(<a href="Table.html" title="interface in org.apache.calcite.schema">Table</a>&nbsp;table)</pre>
<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>
</li>
</ul>
<a id="proto(org.apache.calcite.schema.ScalarFunction)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>proto</h4>
<pre class="methodSignature">public static&nbsp;<a href="../rel/type/RelProtoDataType.html" title="interface in org.apache.calcite.rel.type">RelProtoDataType</a>&nbsp;proto&#8203;(<a href="ScalarFunction.html" title="interface in org.apache.calcite.schema">ScalarFunction</a>&nbsp;function)</pre>
<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>
</li>
</ul>
<a id="getStarTables(org.apache.calcite.jdbc.CalciteSchema)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStarTables</h4>
<pre class="methodSignature">public static&nbsp;java.util.List&lt;<a href="../jdbc/CalciteSchema.TableEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TableEntry</a>&gt;&nbsp;getStarTables&#8203;(<a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a>&nbsp;schema)</pre>
<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>
</li>
</ul>
<a id="getLattices(org.apache.calcite.jdbc.CalciteSchema)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLattices</h4>
<pre class="methodSignature">public static&nbsp;java.util.List&lt;<a href="../materialize/Lattice.html" title="class in org.apache.calcite.materialize">Lattice</a>&gt;&nbsp;getLattices&#8203;(<a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a>&nbsp;schema)</pre>
<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>
</li>
</ul>
<a id="getLatticeEntries(org.apache.calcite.jdbc.CalciteSchema)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLatticeEntries</h4>
<pre class="methodSignature">public static&nbsp;java.util.List&lt;<a href="../jdbc/CalciteSchema.LatticeEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.LatticeEntry</a>&gt;&nbsp;getLatticeEntries&#8203;(<a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a>&nbsp;schema)</pre>
<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>
</li>
</ul>
<a id="gatherLattices(org.apache.calcite.jdbc.CalciteSchema,java.util.List)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>gatherLattices</h4>
<pre class="methodSignature">private static&nbsp;void&nbsp;gatherLattices&#8203;(<a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a>&nbsp;schema,
java.util.List&lt;<a href="../jdbc/CalciteSchema.LatticeEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.LatticeEntry</a>&gt;&nbsp;list)</pre>
</li>
</ul>
<a id="subSchema(org.apache.calcite.jdbc.CalciteSchema,java.lang.Iterable)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>subSchema</h4>
<pre class="methodSignature">public static&nbsp;<a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a>&nbsp;subSchema&#8203;(<a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a>&nbsp;schema,
java.lang.Iterable&lt;java.lang.String&gt;&nbsp;names)</pre>
<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>
</li>
</ul>
<a id="uniqueTableName(org.apache.calcite.jdbc.CalciteSchema,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>uniqueTableName</h4>
<pre class="methodSignature">public static&nbsp;java.lang.String&nbsp;uniqueTableName&#8203;(<a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a>&nbsp;schema,
java.lang.String&nbsp;base)</pre>
<div class="block">Generates a table name that is unique within the given schema.</div>
</li>
</ul>
<a id="path(org.apache.calcite.jdbc.CalciteSchema,java.lang.Iterable)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>path</h4>
<pre class="methodSignature">public static&nbsp;<a href="Path.html" title="interface in org.apache.calcite.schema">Path</a>&nbsp;path&#8203;(<a href="../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a>&nbsp;rootSchema,
java.lang.Iterable&lt;java.lang.String&gt;&nbsp;names)</pre>
<div class="block">Creates a path with a given list of names starting from a given root
schema.</div>
</li>
</ul>
<a id="path(com.google.common.collect.ImmutableList)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>path</h4>
<pre class="methodSignature">public static&nbsp;<a href="Schemas.PathImpl.html" title="class in org.apache.calcite.schema">Schemas.PathImpl</a>&nbsp;path&#8203;(com.google.common.collect.ImmutableList&lt;<a href="../util/Pair.html" title="class in org.apache.calcite.util">Pair</a>&lt;java.lang.String,&#8203;<a href="Schema.html" title="interface in org.apache.calcite.schema">Schema</a>&gt;&gt;&nbsp;build)</pre>
</li>
</ul>
<a id="path(org.apache.calcite.schema.SchemaPlus)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>path</h4>
<pre class="methodSignature">public static&nbsp;<a href="Path.html" title="interface in org.apache.calcite.schema">Path</a>&nbsp;path&#8203;(<a href="SchemaPlus.html" title="interface in org.apache.calcite.schema">SchemaPlus</a>&nbsp;schema)</pre>
<div class="block">Returns the path to get to a schema from its root.</div>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Schemas.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&nbsp;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:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</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 &#169; 2012&#x2013;2019 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</footer>
</body>
</html>