blob: 5d77261d82ca422038b7af28fccde17ddb512af8 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>JdbcTable (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="JdbcTable (Apache Calcite API)";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance 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/JdbcTable.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><a href="#field.summary">Field</a>&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><a href="#field.detail">Field</a>&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.adapter.jdbc</a></div>
<h2 title="Class JdbcTable" class="title">Class JdbcTable</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../../schema/impl/AbstractTable.html" title="class in org.apache.calcite.schema.impl">org.apache.calcite.schema.impl.AbstractTable</a></li>
<li>
<ul class="inheritance">
<li><a href="../java/AbstractQueryableTable.html" title="class in org.apache.calcite.adapter.java">org.apache.calcite.adapter.java.AbstractQueryableTable</a></li>
<li>
<ul class="inheritance">
<li>org.apache.calcite.adapter.jdbc.JdbcTable</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code><a href="../../schema/ModifiableTable.html" title="interface in org.apache.calcite.schema">ModifiableTable</a></code>, <code><a href="../../schema/QueryableTable.html" title="interface in org.apache.calcite.schema">QueryableTable</a></code>, <code><a href="../../schema/ScannableTable.html" title="interface in org.apache.calcite.schema">ScannableTable</a></code>, <code><a href="../../schema/Table.html" title="interface in org.apache.calcite.schema">Table</a></code>, <code><a href="../../schema/TranslatableTable.html" title="interface in org.apache.calcite.schema">TranslatableTable</a></code>, <code><a href="../../schema/Wrapper.html" title="interface in org.apache.calcite.schema">Wrapper</a></code></dd>
</dl>
<hr>
<pre>public class <span class="typeNameLabel">JdbcTable</span>
extends <a href="../java/AbstractQueryableTable.html" title="class in org.apache.calcite.adapter.java">AbstractQueryableTable</a>
implements <a href="../../schema/TranslatableTable.html" title="interface in org.apache.calcite.schema">TranslatableTable</a>, <a href="../../schema/ScannableTable.html" title="interface in org.apache.calcite.schema">ScannableTable</a>, <a href="../../schema/ModifiableTable.html" title="interface in org.apache.calcite.schema">ModifiableTable</a></pre>
<div class="block">Queryable that gets its data from a table within a JDBC connection.
<p>The idea is not to read the whole table, however. The idea is to use
this as a building block for a query, by applying Queryable operators
such as
<a href="../../linq4j/ExtendedEnumerable.html#where(org.apache.calcite.linq4j.function.Predicate2)"><code>ExtendedEnumerable.where(org.apache.calcite.linq4j.function.Predicate2)</code></a>.
The resulting queryable can then be converted to a SQL query, which can be
executed efficiently on the JDBC server.</p></div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary">
<caption><span>Nested Classes</span><span class="tabEnd">&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 class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="JdbcTable.JdbcTableQueryable.html" title="class in org.apache.calcite.adapter.jdbc">JdbcTable.JdbcTableQueryable</a>&lt;<a href="JdbcTable.JdbcTableQueryable.html" title="type parameter in JdbcTable.JdbcTableQueryable">T</a>&gt;</span></code></th>
<td class="colLast">
<div class="block">Enumerable that returns the contents of a <a href="JdbcTable.html" title="class in org.apache.calcite.adapter.jdbc"><code>JdbcTable</code></a> by connecting
to the JDBC data source.</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- =========== FIELD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Field</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#jdbcCatalogName">jdbcCatalogName</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="JdbcSchema.html" title="class in org.apache.calcite.adapter.jdbc">JdbcSchema</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#jdbcSchema">jdbcSchema</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#jdbcSchemaName">jdbcSchemaName</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#jdbcTableName">jdbcTableName</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../schema/Schema.TableType.html" title="enum in org.apache.calcite.schema">Schema.TableType</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#jdbcTableType">jdbcTableType</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <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="#protoRowType">protoRowType</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.org.apache.calcite.adapter.java.AbstractQueryableTable">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.calcite.adapter.java.<a href="../java/AbstractQueryableTable.html" title="class in org.apache.calcite.adapter.java">AbstractQueryableTable</a></h3>
<code><a href="../java/AbstractQueryableTable.html#elementType">elementType</a></code></li>
</ul>
</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">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.apache.calcite.adapter.jdbc.JdbcSchema,java.lang.String,java.lang.String,java.lang.String,org.apache.calcite.schema.Schema.TableType)">JdbcTable</a></span>&#8203;(<a href="JdbcSchema.html" title="class in org.apache.calcite.adapter.jdbc">JdbcSchema</a>&nbsp;jdbcSchema,
java.lang.String&nbsp;jdbcCatalogName,
java.lang.String&nbsp;jdbcSchemaName,
java.lang.String&nbsp;jdbcTableName,
<a href="../../schema/Schema.TableType.html" title="enum in org.apache.calcite.schema">Schema.TableType</a>&nbsp;jdbcTableType)</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="t2" class="tableTab"><span><a href="javascript:show(2);">Instance 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>&lt;T&gt;&nbsp;<a href="../../linq4j/Queryable.html" title="interface in org.apache.calcite.linq4j">Queryable</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#asQueryable(org.apache.calcite.linq4j.QueryProvider,org.apache.calcite.schema.SchemaPlus,java.lang.String)">asQueryable</a></span>&#8203;(<a href="../../linq4j/QueryProvider.html" title="interface in org.apache.calcite.linq4j">QueryProvider</a>&nbsp;queryProvider,
<a href="../../schema/SchemaPlus.html" title="interface in org.apache.calcite.schema">SchemaPlus</a>&nbsp;schema,
java.lang.String&nbsp;tableName)</code></th>
<td class="colLast">
<div class="block">Converts this table into a <a href="../../linq4j/Queryable.html" title="interface in org.apache.calcite.linq4j"><code>Queryable</code></a>.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>private java.util.List&lt;<a href="../../util/Pair.html" title="class in org.apache.calcite.util">Pair</a>&lt;org.apache.calcite.avatica.ColumnMetaData.Rep,&#8203;java.lang.Integer&gt;&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#fieldClasses(org.apache.calcite.adapter.java.JavaTypeFactory)">fieldClasses</a></span>&#8203;(<a href="../java/JavaTypeFactory.html" title="interface in org.apache.calcite.adapter.java">JavaTypeFactory</a>&nbsp;typeFactory)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>(package private) <a href="../../sql/util/SqlString.html" title="class in org.apache.calcite.sql.util">SqlString</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#generateSql()">generateSql</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../schema/Schema.TableType.html" title="enum in org.apache.calcite.schema">Schema.TableType</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getJdbcTableType()">getJdbcTableType</a></span>()</code></th>
<td class="colLast">
<div class="block">Type of table.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>java.util.Collection</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getModifiableCollection()">getModifiableCollection</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the modifiable collection.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRowType(org.apache.calcite.rel.type.RelDataTypeFactory)">getRowType</a></span>&#8203;(<a href="../../rel/type/RelDataTypeFactory.html" title="interface in org.apache.calcite.rel.type">RelDataTypeFactory</a>&nbsp;typeFactory)</code></th>
<td class="colLast">
<div class="block">Returns this table's row type.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><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="#scan(org.apache.calcite.DataContext)">scan</a></span>&#8203;(<a href="../../DataContext.html" title="interface in org.apache.calcite">DataContext</a>&nbsp;root)</code></th>
<td class="colLast">
<div class="block">Returns an enumerator over the rows in this Table.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="../../sql/SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#tableName()">tableName</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the table name, qualified with catalog and schema name if
applicable, as a parse tree node (<a href="../../sql/SqlIdentifier.html" title="class in org.apache.calcite.sql"><code>SqlIdentifier</code></a>).</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../rel/core/TableModify.html" title="class in org.apache.calcite.rel.core">TableModify</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toModificationRel(org.apache.calcite.plan.RelOptCluster,org.apache.calcite.plan.RelOptTable,org.apache.calcite.prepare.Prepare.CatalogReader,org.apache.calcite.rel.RelNode,org.apache.calcite.rel.core.TableModify.Operation,java.util.List,java.util.List,boolean)">toModificationRel</a></span>&#8203;(<a href="../../plan/RelOptCluster.html" title="class in org.apache.calcite.plan">RelOptCluster</a>&nbsp;cluster,
<a href="../../plan/RelOptTable.html" title="interface in org.apache.calcite.plan">RelOptTable</a>&nbsp;table,
<a href="../../prepare/Prepare.CatalogReader.html" title="interface in org.apache.calcite.prepare">Prepare.CatalogReader</a>&nbsp;catalogReader,
<a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>&nbsp;input,
<a href="../../rel/core/TableModify.Operation.html" title="enum in org.apache.calcite.rel.core">TableModify.Operation</a>&nbsp;operation,
java.util.List&lt;java.lang.String&gt;&nbsp;updateColumnList,
java.util.List&lt;<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;sourceExpressionList,
boolean&nbsp;flattened)</code></th>
<td class="colLast">
<div class="block">Creates a relational expression that modifies this table.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toRel(org.apache.calcite.plan.RelOptTable.ToRelContext,org.apache.calcite.plan.RelOptTable)">toRel</a></span>&#8203;(<a href="../../plan/RelOptTable.ToRelContext.html" title="interface in org.apache.calcite.plan">RelOptTable.ToRelContext</a>&nbsp;context,
<a href="../../plan/RelOptTable.html" title="interface in org.apache.calcite.plan">RelOptTable</a>&nbsp;relOptTable)</code></th>
<td class="colLast">
<div class="block">Converts this table into a <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel"><code>relational expression</code></a>.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toString()">toString</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.apache.calcite.adapter.java.AbstractQueryableTable">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.calcite.adapter.java.<a href="../java/AbstractQueryableTable.html" title="class in org.apache.calcite.adapter.java">AbstractQueryableTable</a></h3>
<code><a href="../java/AbstractQueryableTable.html#getElementType()">getElementType</a>, <a href="../java/AbstractQueryableTable.html#getExpression(org.apache.calcite.schema.SchemaPlus,java.lang.String,java.lang.Class)">getExpression</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.apache.calcite.schema.impl.AbstractTable">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.calcite.schema.impl.<a href="../../schema/impl/AbstractTable.html" title="class in org.apache.calcite.schema.impl">AbstractTable</a></h3>
<code><a href="../../schema/impl/AbstractTable.html#getStatistic()">getStatistic</a>, <a href="../../schema/impl/AbstractTable.html#isRolledUp(java.lang.String)">isRolledUp</a>, <a href="../../schema/impl/AbstractTable.html#rolledUpColumnValidInsideAgg(java.lang.String,org.apache.calcite.sql.SqlCall,org.apache.calcite.sql.SqlNode,org.apache.calcite.config.CalciteConnectionConfig)">rolledUpColumnValidInsideAgg</a>, <a href="../../schema/impl/AbstractTable.html#unwrap(java.lang.Class)">unwrap</a></code></li>
</ul>
<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, wait, wait, wait</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.apache.calcite.schema.QueryableTable">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.apache.calcite.schema.<a href="../../schema/QueryableTable.html" title="interface in org.apache.calcite.schema">QueryableTable</a></h3>
<code><a href="../../schema/QueryableTable.html#getElementType()">getElementType</a>, <a href="../../schema/QueryableTable.html#getExpression(org.apache.calcite.schema.SchemaPlus,java.lang.String,java.lang.Class)">getExpression</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.apache.calcite.schema.Table">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.apache.calcite.schema.<a href="../../schema/Table.html" title="interface in org.apache.calcite.schema">Table</a></h3>
<code><a href="../../schema/Table.html#getStatistic()">getStatistic</a>, <a href="../../schema/Table.html#isRolledUp(java.lang.String)">isRolledUp</a>, <a href="../../schema/Table.html#rolledUpColumnValidInsideAgg(java.lang.String,org.apache.calcite.sql.SqlCall,org.apache.calcite.sql.SqlNode,org.apache.calcite.config.CalciteConnectionConfig)">rolledUpColumnValidInsideAgg</a></code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a id="protoRowType">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>protoRowType</h4>
<pre>private&nbsp;<a href="../../rel/type/RelProtoDataType.html" title="interface in org.apache.calcite.rel.type">RelProtoDataType</a> protoRowType</pre>
</li>
</ul>
<a id="jdbcSchema">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>jdbcSchema</h4>
<pre>public final&nbsp;<a href="JdbcSchema.html" title="class in org.apache.calcite.adapter.jdbc">JdbcSchema</a> jdbcSchema</pre>
</li>
</ul>
<a id="jdbcCatalogName">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>jdbcCatalogName</h4>
<pre>public final&nbsp;java.lang.String jdbcCatalogName</pre>
</li>
</ul>
<a id="jdbcSchemaName">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>jdbcSchemaName</h4>
<pre>public final&nbsp;java.lang.String jdbcSchemaName</pre>
</li>
</ul>
<a id="jdbcTableName">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>jdbcTableName</h4>
<pre>public final&nbsp;java.lang.String jdbcTableName</pre>
</li>
</ul>
<a id="jdbcTableType">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>jdbcTableType</h4>
<pre>public final&nbsp;<a href="../../schema/Schema.TableType.html" title="enum in org.apache.calcite.schema">Schema.TableType</a> jdbcTableType</pre>
</li>
</ul>
</li>
</ul>
</section>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;(org.apache.calcite.adapter.jdbc.JdbcSchema,java.lang.String,java.lang.String,java.lang.String,org.apache.calcite.schema.Schema.TableType)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>JdbcTable</h4>
<pre>JdbcTable&#8203;(<a href="JdbcSchema.html" title="class in org.apache.calcite.adapter.jdbc">JdbcSchema</a>&nbsp;jdbcSchema,
java.lang.String&nbsp;jdbcCatalogName,
java.lang.String&nbsp;jdbcSchemaName,
java.lang.String&nbsp;jdbcTableName,
<a href="../../schema/Schema.TableType.html" title="enum in org.apache.calcite.schema">Schema.TableType</a>&nbsp;jdbcTableType)</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="toString()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre class="methodSignature">public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a id="getJdbcTableType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getJdbcTableType</h4>
<pre class="methodSignature">public&nbsp;<a href="../../schema/Schema.TableType.html" title="enum in org.apache.calcite.schema">Schema.TableType</a>&nbsp;getJdbcTableType()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../schema/Table.html#getJdbcTableType()">Table</a></code></span></div>
<div class="block">Type of table.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../schema/Table.html#getJdbcTableType()">getJdbcTableType</a></code>&nbsp;in interface&nbsp;<code><a href="../../schema/Table.html" title="interface in org.apache.calcite.schema">Table</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../schema/impl/AbstractTable.html#getJdbcTableType()">getJdbcTableType</a></code>&nbsp;in class&nbsp;<code><a href="../../schema/impl/AbstractTable.html" title="class in org.apache.calcite.schema.impl">AbstractTable</a></code></dd>
</dl>
</li>
</ul>
<a id="getRowType(org.apache.calcite.rel.type.RelDataTypeFactory)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRowType</h4>
<pre class="methodSignature">public&nbsp;<a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;getRowType&#8203;(<a href="../../rel/type/RelDataTypeFactory.html" title="interface in org.apache.calcite.rel.type">RelDataTypeFactory</a>&nbsp;typeFactory)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../schema/Table.html#getRowType(org.apache.calcite.rel.type.RelDataTypeFactory)">Table</a></code></span></div>
<div class="block">Returns this table's row type.
<p>This is a struct type whose
fields describe the names and types of the columns in this table.</p>
<p>The implementer must use the type factory provided. This ensures that
the type is converted into a canonical form; other equal types in the same
query will use the same object.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../schema/Table.html#getRowType(org.apache.calcite.rel.type.RelDataTypeFactory)">getRowType</a></code>&nbsp;in interface&nbsp;<code><a href="../../schema/Table.html" title="interface in org.apache.calcite.schema">Table</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>typeFactory</code> - Type factory with which to create the type</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Row type</dd>
</dl>
</li>
</ul>
<a id="fieldClasses(org.apache.calcite.adapter.java.JavaTypeFactory)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fieldClasses</h4>
<pre class="methodSignature">private&nbsp;java.util.List&lt;<a href="../../util/Pair.html" title="class in org.apache.calcite.util">Pair</a>&lt;org.apache.calcite.avatica.ColumnMetaData.Rep,&#8203;java.lang.Integer&gt;&gt;&nbsp;fieldClasses&#8203;(<a href="../java/JavaTypeFactory.html" title="interface in org.apache.calcite.adapter.java">JavaTypeFactory</a>&nbsp;typeFactory)</pre>
</li>
</ul>
<a id="generateSql()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generateSql</h4>
<pre class="methodSignature"><a href="../../sql/util/SqlString.html" title="class in org.apache.calcite.sql.util">SqlString</a>&nbsp;generateSql()</pre>
</li>
</ul>
<a id="tableName()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>tableName</h4>
<pre class="methodSignature">public&nbsp;<a href="../../sql/SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a>&nbsp;tableName()</pre>
<div class="block">Returns the table name, qualified with catalog and schema name if
applicable, as a parse tree node (<a href="../../sql/SqlIdentifier.html" title="class in org.apache.calcite.sql"><code>SqlIdentifier</code></a>).</div>
</li>
</ul>
<a id="toRel(org.apache.calcite.plan.RelOptTable.ToRelContext,org.apache.calcite.plan.RelOptTable)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toRel</h4>
<pre class="methodSignature">public&nbsp;<a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>&nbsp;toRel&#8203;(<a href="../../plan/RelOptTable.ToRelContext.html" title="interface in org.apache.calcite.plan">RelOptTable.ToRelContext</a>&nbsp;context,
<a href="../../plan/RelOptTable.html" title="interface in org.apache.calcite.plan">RelOptTable</a>&nbsp;relOptTable)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../schema/TranslatableTable.html#toRel(org.apache.calcite.plan.RelOptTable.ToRelContext,org.apache.calcite.plan.RelOptTable)">TranslatableTable</a></code></span></div>
<div class="block">Converts this table into a <a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel"><code>relational expression</code></a>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../schema/TranslatableTable.html#toRel(org.apache.calcite.plan.RelOptTable.ToRelContext,org.apache.calcite.plan.RelOptTable)">toRel</a></code>&nbsp;in interface&nbsp;<code><a href="../../schema/TranslatableTable.html" title="interface in org.apache.calcite.schema">TranslatableTable</a></code></dd>
</dl>
</li>
</ul>
<a id="asQueryable(org.apache.calcite.linq4j.QueryProvider,org.apache.calcite.schema.SchemaPlus,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asQueryable</h4>
<pre class="methodSignature">public&nbsp;&lt;T&gt;&nbsp;<a href="../../linq4j/Queryable.html" title="interface in org.apache.calcite.linq4j">Queryable</a>&lt;T&gt;&nbsp;asQueryable&#8203;(<a href="../../linq4j/QueryProvider.html" title="interface in org.apache.calcite.linq4j">QueryProvider</a>&nbsp;queryProvider,
<a href="../../schema/SchemaPlus.html" title="interface in org.apache.calcite.schema">SchemaPlus</a>&nbsp;schema,
java.lang.String&nbsp;tableName)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../schema/QueryableTable.html#asQueryable(org.apache.calcite.linq4j.QueryProvider,org.apache.calcite.schema.SchemaPlus,java.lang.String)">QueryableTable</a></code></span></div>
<div class="block">Converts this table into a <a href="../../linq4j/Queryable.html" title="interface in org.apache.calcite.linq4j"><code>Queryable</code></a>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../schema/QueryableTable.html#asQueryable(org.apache.calcite.linq4j.QueryProvider,org.apache.calcite.schema.SchemaPlus,java.lang.String)">asQueryable</a></code>&nbsp;in interface&nbsp;<code><a href="../../schema/QueryableTable.html" title="interface in org.apache.calcite.schema">QueryableTable</a></code></dd>
</dl>
</li>
</ul>
<a id="scan(org.apache.calcite.DataContext)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>scan</h4>
<pre class="methodSignature">public&nbsp;<a href="../../linq4j/Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;java.lang.Object[]&gt;&nbsp;scan&#8203;(<a href="../../DataContext.html" title="interface in org.apache.calcite">DataContext</a>&nbsp;root)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../schema/ScannableTable.html#scan(org.apache.calcite.DataContext)">ScannableTable</a></code></span></div>
<div class="block">Returns an enumerator over the rows in this Table. Each row is represented
as an array of its column values.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../schema/ScannableTable.html#scan(org.apache.calcite.DataContext)">scan</a></code>&nbsp;in interface&nbsp;<code><a href="../../schema/ScannableTable.html" title="interface in org.apache.calcite.schema">ScannableTable</a></code></dd>
</dl>
</li>
</ul>
<a id="getModifiableCollection()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getModifiableCollection</h4>
<pre class="methodSignature">public&nbsp;java.util.Collection&nbsp;getModifiableCollection()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../schema/ModifiableTable.html#getModifiableCollection()">ModifiableTable</a></code></span></div>
<div class="block">Returns the modifiable collection.
Modifying the collection will change the table's contents.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../schema/ModifiableTable.html#getModifiableCollection()">getModifiableCollection</a></code>&nbsp;in interface&nbsp;<code><a href="../../schema/ModifiableTable.html" title="interface in org.apache.calcite.schema">ModifiableTable</a></code></dd>
</dl>
</li>
</ul>
<a id="toModificationRel(org.apache.calcite.plan.RelOptCluster,org.apache.calcite.plan.RelOptTable,org.apache.calcite.prepare.Prepare.CatalogReader,org.apache.calcite.rel.RelNode,org.apache.calcite.rel.core.TableModify.Operation,java.util.List,java.util.List,boolean)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toModificationRel</h4>
<pre class="methodSignature">public&nbsp;<a href="../../rel/core/TableModify.html" title="class in org.apache.calcite.rel.core">TableModify</a>&nbsp;toModificationRel&#8203;(<a href="../../plan/RelOptCluster.html" title="class in org.apache.calcite.plan">RelOptCluster</a>&nbsp;cluster,
<a href="../../plan/RelOptTable.html" title="interface in org.apache.calcite.plan">RelOptTable</a>&nbsp;table,
<a href="../../prepare/Prepare.CatalogReader.html" title="interface in org.apache.calcite.prepare">Prepare.CatalogReader</a>&nbsp;catalogReader,
<a href="../../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>&nbsp;input,
<a href="../../rel/core/TableModify.Operation.html" title="enum in org.apache.calcite.rel.core">TableModify.Operation</a>&nbsp;operation,
java.util.List&lt;java.lang.String&gt;&nbsp;updateColumnList,
java.util.List&lt;<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;sourceExpressionList,
boolean&nbsp;flattened)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../schema/ModifiableTable.html#toModificationRel(org.apache.calcite.plan.RelOptCluster,org.apache.calcite.plan.RelOptTable,org.apache.calcite.prepare.Prepare.CatalogReader,org.apache.calcite.rel.RelNode,org.apache.calcite.rel.core.TableModify.Operation,java.util.List,java.util.List,boolean)">ModifiableTable</a></code></span></div>
<div class="block">Creates a relational expression that modifies this table.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../schema/ModifiableTable.html#toModificationRel(org.apache.calcite.plan.RelOptCluster,org.apache.calcite.plan.RelOptTable,org.apache.calcite.prepare.Prepare.CatalogReader,org.apache.calcite.rel.RelNode,org.apache.calcite.rel.core.TableModify.Operation,java.util.List,java.util.List,boolean)">toModificationRel</a></code>&nbsp;in interface&nbsp;<code><a href="../../schema/ModifiableTable.html" title="interface in org.apache.calcite.schema">ModifiableTable</a></code></dd>
</dl>
</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/JdbcTable.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><a href="#field.summary">Field</a>&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><a href="#field.detail">Field</a>&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>