blob: 49e9fba53cc392e56b8c17078d38edc31aeb8bfe [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>RelOptTableImpl (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="RelOptTableImpl (Apache Calcite API)";
}
}
catch(err) {
}
//-->
var data = {"i0":9,"i1":10,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":10,"i8":10,"i9":10,"i10":9,"i11":9,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":9,"i25":9,"i26":10,"i27":10,"i28":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static 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/RelOptTableImpl.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.prepare</a></div>
<h2 title="Class RelOptTableImpl" class="title">Class RelOptTableImpl</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="Prepare.AbstractPreparingTable.html" title="class in org.apache.calcite.prepare">org.apache.calcite.prepare.Prepare.AbstractPreparingTable</a></li>
<li>
<ul class="inheritance">
<li>org.apache.calcite.prepare.RelOptTableImpl</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="../plan/RelOptTable.html" title="interface in org.apache.calcite.plan">RelOptTable</a></code>, <code><a href="Prepare.PreparingTable.html" title="interface in org.apache.calcite.prepare">Prepare.PreparingTable</a></code>, <code><a href="../schema/Wrapper.html" title="interface in org.apache.calcite.schema">Wrapper</a></code>, <code><a href="../sql/validate/SqlValidatorTable.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorTable</a></code></dd>
</dl>
<hr>
<pre>public class <span class="typeNameLabel">RelOptTableImpl</span>
extends <a href="Prepare.AbstractPreparingTable.html" title="class in org.apache.calcite.prepare">Prepare.AbstractPreparingTable</a></pre>
<div class="block">Implementation of <a href="../plan/RelOptTable.html" title="interface in org.apache.calcite.plan"><code>RelOptTable</code></a>.</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="RelOptTableImpl.MySchemaPlus.html" title="class in org.apache.calcite.prepare">RelOptTableImpl.MySchemaPlus</a></span></code></th>
<td class="colLast">
<div class="block">Implementation of <a href="../schema/SchemaPlus.html" title="interface in org.apache.calcite.schema"><code>SchemaPlus</code></a> that wraps a regular schema and knows
its name and parent.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="nested.classes.inherited.from.class.org.apache.calcite.plan.RelOptTable">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface&nbsp;org.apache.calcite.plan.<a href="../plan/RelOptTable.html" title="interface in org.apache.calcite.plan">RelOptTable</a></h3>
<code><a href="../plan/RelOptTable.ToRelContext.html" title="interface in org.apache.calcite.plan">RelOptTable.ToRelContext</a>, <a href="../plan/RelOptTable.ViewExpander.html" title="interface in org.apache.calcite.plan">RelOptTable.ViewExpander</a></code></li>
</ul>
</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>private java.util.function.Function&lt;java.lang.Class,&#8203;<a href="../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#expressionFunction">expressionFunction</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private com.google.common.collect.ImmutableList&lt;java.lang.String&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#names">names</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private java.lang.Double</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rowCount">rowCount</a></span></code></th>
<td class="colLast">
<div class="block">Estimate for the row count, or null.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <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="#rowType">rowType</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="../plan/RelOptSchema.html" title="interface in org.apache.calcite.plan">RelOptSchema</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#schema">schema</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="../schema/Table.html" title="interface in org.apache.calcite.schema">Table</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#table">table</a></span></code></th>
<td class="colLast">&nbsp;</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(org.apache.calcite.plan.RelOptSchema,org.apache.calcite.rel.type.RelDataType,java.util.List,org.apache.calcite.schema.Table,java.util.function.Function,java.lang.Double)">RelOptTableImpl</a></span>&#8203;(<a href="../plan/RelOptSchema.html" title="interface in org.apache.calcite.plan">RelOptSchema</a>&nbsp;schema,
<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;rowType,
java.util.List&lt;java.lang.String&gt;&nbsp;names,
<a href="../schema/Table.html" title="interface in org.apache.calcite.schema">Table</a>&nbsp;table,
java.util.function.Function&lt;java.lang.Class,&#8203;<a href="../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&gt;&nbsp;expressionFunction,
java.lang.Double&nbsp;rowCount)</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="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>static java.util.List&lt;<a href="../schema/ColumnStrategy.html" title="enum in org.apache.calcite.schema">ColumnStrategy</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#columnStrategies(org.apache.calcite.plan.RelOptTable)">columnStrategies</a></span>&#8203;(<a href="../plan/RelOptTable.html" title="interface in org.apache.calcite.plan">RelOptTable</a>&nbsp;table)</code></th>
<td class="colLast">
<div class="block">Helper for <a href="Prepare.AbstractPreparingTable.html#getColumnStrategies()"><code>Prepare.AbstractPreparingTable.getColumnStrategies()</code></a>.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="RelOptTableImpl.html" title="class in org.apache.calcite.prepare">RelOptTableImpl</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#copy(org.apache.calcite.rel.type.RelDataType)">copy</a></span>&#8203;(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;newRowType)</code></th>
<td class="colLast">
<div class="block">Creates a copy of this RelOptTable.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static <a href="RelOptTableImpl.html" title="class in org.apache.calcite.prepare">RelOptTableImpl</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#create(org.apache.calcite.plan.RelOptSchema,org.apache.calcite.rel.type.RelDataType,java.util.List,org.apache.calcite.linq4j.tree.Expression)">create</a></span>&#8203;(<a href="../plan/RelOptSchema.html" title="interface in org.apache.calcite.plan">RelOptSchema</a>&nbsp;schema,
<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;rowType,
java.util.List&lt;java.lang.String&gt;&nbsp;names,
<a href="../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&nbsp;expression)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>static <a href="RelOptTableImpl.html" title="class in org.apache.calcite.prepare">RelOptTableImpl</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#create(org.apache.calcite.plan.RelOptSchema,org.apache.calcite.rel.type.RelDataType,java.util.List,org.apache.calcite.schema.Table,org.apache.calcite.linq4j.tree.Expression)">create</a></span>&#8203;(<a href="../plan/RelOptSchema.html" title="interface in org.apache.calcite.plan">RelOptSchema</a>&nbsp;schema,
<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;rowType,
java.util.List&lt;java.lang.String&gt;&nbsp;names,
<a href="../schema/Table.html" title="interface in org.apache.calcite.schema">Table</a>&nbsp;table,
<a href="../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&nbsp;expression)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>static <a href="RelOptTableImpl.html" title="class in org.apache.calcite.prepare">RelOptTableImpl</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#create(org.apache.calcite.plan.RelOptSchema,org.apache.calcite.rel.type.RelDataType,org.apache.calcite.jdbc.CalciteSchema.TableEntry,java.lang.Double)">create</a></span>&#8203;(<a href="../plan/RelOptSchema.html" title="interface in org.apache.calcite.plan">RelOptSchema</a>&nbsp;schema,
<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;rowType,
<a href="../jdbc/CalciteSchema.TableEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TableEntry</a>&nbsp;tableEntry,
java.lang.Double&nbsp;rowCount)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>static <a href="RelOptTableImpl.html" title="class in org.apache.calcite.prepare">RelOptTableImpl</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#create(org.apache.calcite.plan.RelOptSchema,org.apache.calcite.rel.type.RelDataType,org.apache.calcite.schema.Table,com.google.common.collect.ImmutableList)">create</a></span>&#8203;(<a href="../plan/RelOptSchema.html" title="interface in org.apache.calcite.plan">RelOptSchema</a>&nbsp;schema,
<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;rowType,
<a href="../schema/Table.html" title="interface in org.apache.calcite.schema">Table</a>&nbsp;table,
com.google.common.collect.ImmutableList&lt;java.lang.String&gt;&nbsp;names)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>static <a href="RelOptTableImpl.html" title="class in org.apache.calcite.prepare">RelOptTableImpl</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#create(org.apache.calcite.plan.RelOptSchema,org.apache.calcite.rel.type.RelDataType,org.apache.calcite.schema.Table,org.apache.calcite.schema.Path)">create</a></span>&#8203;(<a href="../plan/RelOptSchema.html" title="interface in org.apache.calcite.plan">RelOptSchema</a>&nbsp;schema,
<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;rowType,
<a href="../schema/Table.html" title="interface in org.apache.calcite.schema">Table</a>&nbsp;table,
<a href="../schema/Path.html" title="interface in org.apache.calcite.schema">Path</a>&nbsp;path)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#equals(java.lang.Object)">equals</a></span>&#8203;(java.lang.Object&nbsp;obj)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>protected <a href="../plan/RelOptTable.html" title="interface in org.apache.calcite.plan">RelOptTable</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#extend(org.apache.calcite.schema.Table)">extend</a></span>&#8203;(<a href="../schema/Table.html" title="interface in org.apache.calcite.schema">Table</a>&nbsp;extendedTable)</code></th>
<td class="colLast">
<div class="block">Implementation-specific code to instantiate a new <a href="../plan/RelOptTable.html" title="interface in org.apache.calcite.plan"><code>RelOptTable</code></a>
based on a <a href="../schema/Table.html" title="interface in org.apache.calcite.schema"><code>Table</code></a> that has been extended.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../sql/SqlAccessType.html" title="class in org.apache.calcite.sql">SqlAccessType</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAllowedAccess()">getAllowedAccess</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the access type of the table</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>private static java.util.function.Function&lt;java.lang.Class,&#8203;<a href="../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getClassExpressionFunction(org.apache.calcite.jdbc.CalciteSchema.TableEntry,org.apache.calcite.schema.Table)">getClassExpressionFunction</a></span>&#8203;(<a href="../jdbc/CalciteSchema.TableEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TableEntry</a>&nbsp;tableEntry,
<a href="../schema/Table.html" title="interface in org.apache.calcite.schema">Table</a>&nbsp;table)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>private static java.util.function.Function&lt;java.lang.Class,&#8203;<a href="../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getClassExpressionFunction(org.apache.calcite.schema.SchemaPlus,java.lang.String,org.apache.calcite.schema.Table)">getClassExpressionFunction</a></span>&#8203;(<a href="../schema/SchemaPlus.html" title="interface in org.apache.calcite.schema">SchemaPlus</a>&nbsp;schema,
java.lang.String&nbsp;tableName,
<a href="../schema/Table.html" title="interface in org.apache.calcite.schema">Table</a>&nbsp;table)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../rel/RelCollation.html" title="interface in org.apache.calcite.rel">RelCollation</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCollationList()">getCollationList</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns a description of the physical ordering (or orderings) of the rows
returned from this table.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="../rel/RelDistribution.html" title="interface in org.apache.calcite.rel">RelDistribution</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDistribution()">getDistribution</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns a description of the physical distribution of the rows
in this table.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><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="#getExpression(java.lang.Class)">getExpression</a></span>&#8203;(java.lang.Class&nbsp;clazz)</code></th>
<td class="colLast">
<div class="block">Generates code for this table.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="../sql/validate/SqlMonotonicity.html" title="enum in org.apache.calcite.sql.validate">SqlMonotonicity</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMonotonicity(java.lang.String)">getMonotonicity</a></span>&#8203;(java.lang.String&nbsp;columnName)</code></th>
<td class="colLast">
<div class="block">Returns whether a given column is monotonic.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>java.util.List&lt;java.lang.String&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getQualifiedName()">getQualifiedName</a></span>()</code></th>
<td class="colLast">
<div class="block">Obtains an identifier for this table.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../rel/RelReferentialConstraint.html" title="interface in org.apache.calcite.rel">RelReferentialConstraint</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getReferentialConstraints()">getReferentialConstraints</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the referential constraints existing for this table.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code><a href="../plan/RelOptSchema.html" title="interface in org.apache.calcite.plan">RelOptSchema</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRelOptSchema()">getRelOptSchema</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the <a href="../plan/RelOptSchema.html" title="interface in org.apache.calcite.plan"><code>RelOptSchema</code></a> this table belongs to.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>double</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRowCount()">getRowCount</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns an estimate of the number of rows in the table.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<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()">getRowType</a></span>()</code></th>
<td class="colLast">
<div class="block">Describes the type of rows returned by this table.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hashCode()">hashCode</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isKey(org.apache.calcite.util.ImmutableBitSet)">isKey</a></span>&#8203;(<a href="../util/ImmutableBitSet.html" title="class in org.apache.calcite.util">ImmutableBitSet</a>&nbsp;columns)</code></th>
<td class="colLast">
<div class="block">Returns whether the given columns are a key or a superset of a unique key
of this table.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isTemporal()">isTemporal</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns whether the table is temporal.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#realOrdinal(org.apache.calcite.plan.RelOptTable,int)">realOrdinal</a></span>&#8203;(<a href="../plan/RelOptTable.html" title="interface in org.apache.calcite.plan">RelOptTable</a>&nbsp;table,
int&nbsp;i)</code></th>
<td class="colLast">
<div class="block">Converts the ordinal of a field into the ordinal of a stored field.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>static <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="#realRowType(org.apache.calcite.plan.RelOptTable)">realRowType</a></span>&#8203;(<a href="../plan/RelOptTable.html" title="interface in org.apache.calcite.plan">RelOptTable</a>&nbsp;table)</code></th>
<td class="colLast">
<div class="block">Returns the row type of a table after any <a href="../schema/ColumnStrategy.html#VIRTUAL"><code>ColumnStrategy.VIRTUAL</code></a>
columns have been removed.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#supportsModality(org.apache.calcite.sql.validate.SqlModality)">supportsModality</a></span>&#8203;(<a href="../sql/validate/SqlModality.html" title="enum in org.apache.calcite.sql.validate">SqlModality</a>&nbsp;modality)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i27" 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)">toRel</a></span>&#8203;(<a href="../plan/RelOptTable.ToRelContext.html" title="interface in org.apache.calcite.plan">RelOptTable.ToRelContext</a>&nbsp;context)</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="i28" class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#unwrap(java.lang.Class)">unwrap</a></span>&#8203;(java.lang.Class&lt;T&gt;&nbsp;clazz)</code></th>
<td class="colLast">
<div class="block">Finds an instance of an interface implemented by this object,
or returns null if this object does not support that interface.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.apache.calcite.prepare.Prepare.AbstractPreparingTable">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.calcite.prepare.<a href="Prepare.AbstractPreparingTable.html" title="class in org.apache.calcite.prepare">Prepare.AbstractPreparingTable</a></h3>
<code><a href="Prepare.AbstractPreparingTable.html#columnHasDefaultValue(org.apache.calcite.rel.type.RelDataType,int,org.apache.calcite.sql2rel.InitializerContext)">columnHasDefaultValue</a>, <a href="Prepare.AbstractPreparingTable.html#extend(java.util.List)">extend</a>, <a href="Prepare.AbstractPreparingTable.html#getColumnStrategies()">getColumnStrategies</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, finalize, getClass, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a id="schema">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>schema</h4>
<pre>private final&nbsp;<a href="../plan/RelOptSchema.html" title="interface in org.apache.calcite.plan">RelOptSchema</a> schema</pre>
</li>
</ul>
<a id="rowType">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rowType</h4>
<pre>private final&nbsp;<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a> rowType</pre>
</li>
</ul>
<a id="table">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>table</h4>
<pre>private final&nbsp;<a href="../schema/Table.html" title="interface in org.apache.calcite.schema">Table</a> table</pre>
</li>
</ul>
<a id="expressionFunction">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>expressionFunction</h4>
<pre>private final&nbsp;java.util.function.Function&lt;java.lang.Class,&#8203;<a href="../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&gt; expressionFunction</pre>
</li>
</ul>
<a id="names">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>names</h4>
<pre>private final&nbsp;com.google.common.collect.ImmutableList&lt;java.lang.String&gt; names</pre>
</li>
</ul>
<a id="rowCount">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>rowCount</h4>
<pre>private final&nbsp;java.lang.Double rowCount</pre>
<div class="block">Estimate for the row count, or null.
<p>If not null, overrides the estimate from the actual table.
<p>Useful when a table that contains a materialized query result is being
used to replace a query expression that wildly underestimates the row
count. Now the materialized table can tell the same lie.</div>
</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.plan.RelOptSchema,org.apache.calcite.rel.type.RelDataType,java.util.List,org.apache.calcite.schema.Table,java.util.function.Function,java.lang.Double)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>RelOptTableImpl</h4>
<pre>private&nbsp;RelOptTableImpl&#8203;(<a href="../plan/RelOptSchema.html" title="interface in org.apache.calcite.plan">RelOptSchema</a>&nbsp;schema,
<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;rowType,
java.util.List&lt;java.lang.String&gt;&nbsp;names,
<a href="../schema/Table.html" title="interface in org.apache.calcite.schema">Table</a>&nbsp;table,
java.util.function.Function&lt;java.lang.Class,&#8203;<a href="../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&gt;&nbsp;expressionFunction,
java.lang.Double&nbsp;rowCount)</pre>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="create(org.apache.calcite.plan.RelOptSchema,org.apache.calcite.rel.type.RelDataType,java.util.List,org.apache.calcite.linq4j.tree.Expression)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>create</h4>
<pre class="methodSignature">public static&nbsp;<a href="RelOptTableImpl.html" title="class in org.apache.calcite.prepare">RelOptTableImpl</a>&nbsp;create&#8203;(<a href="../plan/RelOptSchema.html" title="interface in org.apache.calcite.plan">RelOptSchema</a>&nbsp;schema,
<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;rowType,
java.util.List&lt;java.lang.String&gt;&nbsp;names,
<a href="../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&nbsp;expression)</pre>
</li>
</ul>
<a id="create(org.apache.calcite.plan.RelOptSchema,org.apache.calcite.rel.type.RelDataType,java.util.List,org.apache.calcite.schema.Table,org.apache.calcite.linq4j.tree.Expression)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>create</h4>
<pre class="methodSignature">public static&nbsp;<a href="RelOptTableImpl.html" title="class in org.apache.calcite.prepare">RelOptTableImpl</a>&nbsp;create&#8203;(<a href="../plan/RelOptSchema.html" title="interface in org.apache.calcite.plan">RelOptSchema</a>&nbsp;schema,
<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;rowType,
java.util.List&lt;java.lang.String&gt;&nbsp;names,
<a href="../schema/Table.html" title="interface in org.apache.calcite.schema">Table</a>&nbsp;table,
<a href="../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&nbsp;expression)</pre>
</li>
</ul>
<a id="create(org.apache.calcite.plan.RelOptSchema,org.apache.calcite.rel.type.RelDataType,org.apache.calcite.schema.Table,org.apache.calcite.schema.Path)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>create</h4>
<pre class="methodSignature">public static&nbsp;<a href="RelOptTableImpl.html" title="class in org.apache.calcite.prepare">RelOptTableImpl</a>&nbsp;create&#8203;(<a href="../plan/RelOptSchema.html" title="interface in org.apache.calcite.plan">RelOptSchema</a>&nbsp;schema,
<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;rowType,
<a href="../schema/Table.html" title="interface in org.apache.calcite.schema">Table</a>&nbsp;table,
<a href="../schema/Path.html" title="interface in org.apache.calcite.schema">Path</a>&nbsp;path)</pre>
</li>
</ul>
<a id="create(org.apache.calcite.plan.RelOptSchema,org.apache.calcite.rel.type.RelDataType,org.apache.calcite.jdbc.CalciteSchema.TableEntry,java.lang.Double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>create</h4>
<pre class="methodSignature">public static&nbsp;<a href="RelOptTableImpl.html" title="class in org.apache.calcite.prepare">RelOptTableImpl</a>&nbsp;create&#8203;(<a href="../plan/RelOptSchema.html" title="interface in org.apache.calcite.plan">RelOptSchema</a>&nbsp;schema,
<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;rowType,
<a href="../jdbc/CalciteSchema.TableEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TableEntry</a>&nbsp;tableEntry,
java.lang.Double&nbsp;rowCount)</pre>
</li>
</ul>
<a id="copy(org.apache.calcite.rel.type.RelDataType)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>copy</h4>
<pre class="methodSignature">public&nbsp;<a href="RelOptTableImpl.html" title="class in org.apache.calcite.prepare">RelOptTableImpl</a>&nbsp;copy&#8203;(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;newRowType)</pre>
<div class="block">Creates a copy of this RelOptTable. The new RelOptTable will have newRowType.</div>
</li>
</ul>
<a id="getClassExpressionFunction(org.apache.calcite.jdbc.CalciteSchema.TableEntry,org.apache.calcite.schema.Table)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getClassExpressionFunction</h4>
<pre class="methodSignature">private static&nbsp;java.util.function.Function&lt;java.lang.Class,&#8203;<a href="../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&gt;&nbsp;getClassExpressionFunction&#8203;(<a href="../jdbc/CalciteSchema.TableEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TableEntry</a>&nbsp;tableEntry,
<a href="../schema/Table.html" title="interface in org.apache.calcite.schema">Table</a>&nbsp;table)</pre>
</li>
</ul>
<a id="getClassExpressionFunction(org.apache.calcite.schema.SchemaPlus,java.lang.String,org.apache.calcite.schema.Table)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getClassExpressionFunction</h4>
<pre class="methodSignature">private static&nbsp;java.util.function.Function&lt;java.lang.Class,&#8203;<a href="../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&gt;&nbsp;getClassExpressionFunction&#8203;(<a href="../schema/SchemaPlus.html" title="interface in org.apache.calcite.schema">SchemaPlus</a>&nbsp;schema,
java.lang.String&nbsp;tableName,
<a href="../schema/Table.html" title="interface in org.apache.calcite.schema">Table</a>&nbsp;table)</pre>
</li>
</ul>
<a id="create(org.apache.calcite.plan.RelOptSchema,org.apache.calcite.rel.type.RelDataType,org.apache.calcite.schema.Table,com.google.common.collect.ImmutableList)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>create</h4>
<pre class="methodSignature">public static&nbsp;<a href="RelOptTableImpl.html" title="class in org.apache.calcite.prepare">RelOptTableImpl</a>&nbsp;create&#8203;(<a href="../plan/RelOptSchema.html" title="interface in org.apache.calcite.plan">RelOptSchema</a>&nbsp;schema,
<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;rowType,
<a href="../schema/Table.html" title="interface in org.apache.calcite.schema">Table</a>&nbsp;table,
com.google.common.collect.ImmutableList&lt;java.lang.String&gt;&nbsp;names)</pre>
</li>
</ul>
<a id="unwrap(java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unwrap</h4>
<pre class="methodSignature">public&nbsp;&lt;T&gt;&nbsp;T&nbsp;unwrap&#8203;(java.lang.Class&lt;T&gt;&nbsp;clazz)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../schema/Wrapper.html#unwrap(java.lang.Class)">Wrapper</a></code></span></div>
<div class="block">Finds an instance of an interface implemented by this object,
or returns null if this object does not support that interface.</div>
</li>
</ul>
<a id="getExpression(java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getExpression</h4>
<pre class="methodSignature">public&nbsp;<a href="../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&nbsp;getExpression&#8203;(java.lang.Class&nbsp;clazz)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../plan/RelOptTable.html#getExpression(java.lang.Class)">RelOptTable</a></code></span></div>
<div class="block">Generates code for this table.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>clazz</code> - The desired collection class; for example <code>Queryable</code>.</dd>
</dl>
</li>
</ul>
<a id="extend(org.apache.calcite.schema.Table)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>extend</h4>
<pre class="methodSignature">protected&nbsp;<a href="../plan/RelOptTable.html" title="interface in org.apache.calcite.plan">RelOptTable</a>&nbsp;extend&#8203;(<a href="../schema/Table.html" title="interface in org.apache.calcite.schema">Table</a>&nbsp;extendedTable)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="Prepare.AbstractPreparingTable.html#extend(org.apache.calcite.schema.Table)">Prepare.AbstractPreparingTable</a></code></span></div>
<div class="block">Implementation-specific code to instantiate a new <a href="../plan/RelOptTable.html" title="interface in org.apache.calcite.plan"><code>RelOptTable</code></a>
based on a <a href="../schema/Table.html" title="interface in org.apache.calcite.schema"><code>Table</code></a> that has been extended.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="Prepare.AbstractPreparingTable.html#extend(org.apache.calcite.schema.Table)">extend</a></code>&nbsp;in class&nbsp;<code><a href="Prepare.AbstractPreparingTable.html" title="class in org.apache.calcite.prepare">Prepare.AbstractPreparingTable</a></code></dd>
</dl>
</li>
</ul>
<a id="equals(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;equals&#8203;(java.lang.Object&nbsp;obj)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a id="hashCode()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a id="getRowCount()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRowCount</h4>
<pre class="methodSignature">public&nbsp;double&nbsp;getRowCount()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../plan/RelOptTable.html#getRowCount()">RelOptTable</a></code></span></div>
<div class="block">Returns an estimate of the number of rows in the table.</div>
</li>
</ul>
<a id="getRelOptSchema()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRelOptSchema</h4>
<pre class="methodSignature">public&nbsp;<a href="../plan/RelOptSchema.html" title="interface in org.apache.calcite.plan">RelOptSchema</a>&nbsp;getRelOptSchema()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../plan/RelOptTable.html#getRelOptSchema()">RelOptTable</a></code></span></div>
<div class="block">Returns the <a href="../plan/RelOptSchema.html" title="interface in org.apache.calcite.plan"><code>RelOptSchema</code></a> this table belongs to.</div>
</li>
</ul>
<a id="toRel(org.apache.calcite.plan.RelOptTable.ToRelContext)">
<!-- -->
</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)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../plan/RelOptTable.html#toRel(org.apache.calcite.plan.RelOptTable.ToRelContext)">RelOptTable</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>.
<p>The <a href="../plan/RelOptPlanner.html" title="interface in org.apache.calcite.plan"><code>planner</code></a> calls this
method to convert a table into an initial relational expression,
generally something abstract, such as a
<a href="../rel/logical/LogicalTableScan.html" title="class in org.apache.calcite.rel.logical"><code>LogicalTableScan</code></a>,
then optimizes this expression by
applying <a href="../plan/RelOptRule.html" title="class in org.apache.calcite.plan"><code>rules</code></a> to transform it
into more efficient access methods for this table.</p></div>
</li>
</ul>
<a id="getCollationList()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCollationList</h4>
<pre class="methodSignature">public&nbsp;java.util.List&lt;<a href="../rel/RelCollation.html" title="interface in org.apache.calcite.rel">RelCollation</a>&gt;&nbsp;getCollationList()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../plan/RelOptTable.html#getCollationList()">RelOptTable</a></code></span></div>
<div class="block">Returns a description of the physical ordering (or orderings) of the rows
returned from this table.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../rel/metadata/RelMetadataQuery.html#collations(org.apache.calcite.rel.RelNode)"><code>RelMetadataQuery.collations(RelNode)</code></a></dd>
</dl>
</li>
</ul>
<a id="getDistribution()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDistribution</h4>
<pre class="methodSignature">public&nbsp;<a href="../rel/RelDistribution.html" title="interface in org.apache.calcite.rel">RelDistribution</a>&nbsp;getDistribution()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../plan/RelOptTable.html#getDistribution()">RelOptTable</a></code></span></div>
<div class="block">Returns a description of the physical distribution of the rows
in this table.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../rel/metadata/RelMetadataQuery.html#distribution(org.apache.calcite.rel.RelNode)"><code>RelMetadataQuery.distribution(RelNode)</code></a></dd>
</dl>
</li>
</ul>
<a id="isKey(org.apache.calcite.util.ImmutableBitSet)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isKey</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;isKey&#8203;(<a href="../util/ImmutableBitSet.html" title="class in org.apache.calcite.util">ImmutableBitSet</a>&nbsp;columns)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../plan/RelOptTable.html#isKey(org.apache.calcite.util.ImmutableBitSet)">RelOptTable</a></code></span></div>
<div class="block">Returns whether the given columns are a key or a superset of a unique key
of this table.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>columns</code> - Ordinals of key columns</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Whether the given columns are a key or a superset of a key</dd>
</dl>
</li>
</ul>
<a id="getReferentialConstraints()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getReferentialConstraints</h4>
<pre class="methodSignature">public&nbsp;java.util.List&lt;<a href="../rel/RelReferentialConstraint.html" title="interface in org.apache.calcite.rel">RelReferentialConstraint</a>&gt;&nbsp;getReferentialConstraints()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../plan/RelOptTable.html#getReferentialConstraints()">RelOptTable</a></code></span></div>
<div class="block">Returns the referential constraints existing for this table. These constraints
are represented over other tables using <a href="../rel/RelReferentialConstraint.html" title="interface in org.apache.calcite.rel"><code>RelReferentialConstraint</code></a> nodes.</div>
</li>
</ul>
<a id="getRowType()">
<!-- -->
</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()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../plan/RelOptTable.html#getRowType()">RelOptTable</a></code></span></div>
<div class="block">Describes the type of rows returned by this table.</div>
</li>
</ul>
<a id="supportsModality(org.apache.calcite.sql.validate.SqlModality)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>supportsModality</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;supportsModality&#8203;(<a href="../sql/validate/SqlModality.html" title="enum in org.apache.calcite.sql.validate">SqlModality</a>&nbsp;modality)</pre>
</li>
</ul>
<a id="isTemporal()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isTemporal</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;isTemporal()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../sql/validate/SqlValidatorTable.html#isTemporal()">SqlValidatorTable</a></code></span></div>
<div class="block">Returns whether the table is temporal.</div>
</li>
</ul>
<a id="getQualifiedName()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getQualifiedName</h4>
<pre class="methodSignature">public&nbsp;java.util.List&lt;java.lang.String&gt;&nbsp;getQualifiedName()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../plan/RelOptTable.html#getQualifiedName()">RelOptTable</a></code></span></div>
<div class="block">Obtains an identifier for this table. The identifier must be unique with
respect to the Connection producing this table.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>qualified name</dd>
</dl>
</li>
</ul>
<a id="getMonotonicity(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMonotonicity</h4>
<pre class="methodSignature">public&nbsp;<a href="../sql/validate/SqlMonotonicity.html" title="enum in org.apache.calcite.sql.validate">SqlMonotonicity</a>&nbsp;getMonotonicity&#8203;(java.lang.String&nbsp;columnName)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../sql/validate/SqlValidatorTable.html#getMonotonicity(java.lang.String)">SqlValidatorTable</a></code></span></div>
<div class="block">Returns whether a given column is monotonic.</div>
</li>
</ul>
<a id="getAllowedAccess()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllowedAccess</h4>
<pre class="methodSignature">public&nbsp;<a href="../sql/SqlAccessType.html" title="class in org.apache.calcite.sql">SqlAccessType</a>&nbsp;getAllowedAccess()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../sql/validate/SqlValidatorTable.html#getAllowedAccess()">SqlValidatorTable</a></code></span></div>
<div class="block">Returns the access type of the table</div>
</li>
</ul>
<a id="columnStrategies(org.apache.calcite.plan.RelOptTable)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>columnStrategies</h4>
<pre class="methodSignature">public static&nbsp;java.util.List&lt;<a href="../schema/ColumnStrategy.html" title="enum in org.apache.calcite.schema">ColumnStrategy</a>&gt;&nbsp;columnStrategies&#8203;(<a href="../plan/RelOptTable.html" title="interface in org.apache.calcite.plan">RelOptTable</a>&nbsp;table)</pre>
<div class="block">Helper for <a href="Prepare.AbstractPreparingTable.html#getColumnStrategies()"><code>Prepare.AbstractPreparingTable.getColumnStrategies()</code></a>.</div>
</li>
</ul>
<a id="realOrdinal(org.apache.calcite.plan.RelOptTable,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>realOrdinal</h4>
<pre class="methodSignature">public static&nbsp;int&nbsp;realOrdinal&#8203;(<a href="../plan/RelOptTable.html" title="interface in org.apache.calcite.plan">RelOptTable</a>&nbsp;table,
int&nbsp;i)</pre>
<div class="block">Converts the ordinal of a field into the ordinal of a stored field.
That is, it subtracts the number of virtual fields that come before it.</div>
</li>
</ul>
<a id="realRowType(org.apache.calcite.plan.RelOptTable)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>realRowType</h4>
<pre class="methodSignature">public static&nbsp;<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;realRowType&#8203;(<a href="../plan/RelOptTable.html" title="interface in org.apache.calcite.plan">RelOptTable</a>&nbsp;table)</pre>
<div class="block">Returns the row type of a table after any <a href="../schema/ColumnStrategy.html#VIRTUAL"><code>ColumnStrategy.VIRTUAL</code></a>
columns have been removed. This is the type of the records that are
actually stored.</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/RelOptTableImpl.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>