blob: 9754283881d009ba02f72556735461df3c6a451a [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>ModifiableViewTable (Apache Calcite calcite API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="declaration: package: org.apache.calcite.schema.impl, class: ModifiableViewTable">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../script-dir/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../script-dir/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../script-dir/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../../script-dir/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../../script-dir/jquery-3.4.1.js"></script>
<script type="text/javascript" src="../../../../../script-dir/jquery-ui.js"></script>
</head>
<body class="class-declaration">
<script type="text/javascript">var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":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 = "../../../../../";
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="flexBox">
<header role="banner" class="flexHeader">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><b>Apache Calcite</b></div>
</div>
<div class="subNav">
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&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>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<div class="navListSearch"><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="skipNav"><a id="skip.navbar.top">
<!-- -->
</a></div>
</nav>
</header>
<div class="flexContent">
<main role="main">
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.apache.calcite.schema.impl</a></div>
<h1 title="Class ModifiableViewTable" class="title">Class ModifiableViewTable</h1>
</div>
<div class="contentContainer">
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Object</a>
<div class="inheritance"><a href="AbstractTable.html" title="class in org.apache.calcite.schema.impl">org.apache.calcite.schema.impl.AbstractTable</a>
<div class="inheritance"><a href="../../adapter/java/AbstractQueryableTable.html" title="class in org.apache.calcite.adapter.java">org.apache.calcite.adapter.java.AbstractQueryableTable</a>
<div class="inheritance"><a href="ViewTable.html" title="class in org.apache.calcite.schema.impl">org.apache.calcite.schema.impl.ViewTable</a>
<div class="inheritance">org.apache.calcite.schema.impl.ModifiableViewTable</div>
</div>
</div>
</div>
</div>
<section class="description">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code><a href="../ModifiableView.html" title="interface in org.apache.calcite.schema">ModifiableView</a></code>, <code><a href="../QueryableTable.html" title="interface in org.apache.calcite.schema">QueryableTable</a></code>, <code><a href="../Table.html" title="interface in org.apache.calcite.schema">Table</a></code>, <code><a href="../TranslatableTable.html" title="interface in org.apache.calcite.schema">TranslatableTable</a></code>, <code><a href="../Wrapper.html" title="interface in org.apache.calcite.schema">Wrapper</a></code></dd>
</dl>
<hr>
<pre>public class <span class="typeNameLabel">ModifiableViewTable</span>
extends <a href="ViewTable.html" title="class in org.apache.calcite.schema.impl">ViewTable</a>
implements <a href="../ModifiableView.html" title="interface in org.apache.calcite.schema">ModifiableView</a>, <a href="../Wrapper.html" title="interface in org.apache.calcite.schema">Wrapper</a></pre>
<div class="block">Extension to <a href="ViewTable.html" title="class in org.apache.calcite.schema.impl"><code>ViewTable</code></a> that is modifiable.</div>
</section>
<section class="summary">
<ul class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<li class="blockList">
<section class="fieldSummary"><a id="field.summary">
<!-- -->
</a>
<h2>Field Summary</h2>
<div class="inheritedList">
<h3>Fields inherited from class&nbsp;org.apache.calcite.adapter.java.<a href="../../adapter/java/AbstractQueryableTable.html" title="class in org.apache.calcite.adapter.java">AbstractQueryableTable</a></h3>
<a id="fields.inherited.from.class.org.apache.calcite.adapter.java.AbstractQueryableTable">
<!-- -->
</a><code><a href="../../adapter/java/AbstractQueryableTable.html#elementType">elementType</a></code></div>
</section>
</li>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<li class="blockList">
<section class="constructorSummary"><a id="constructor.summary">
<!-- -->
</a>
<h2>Constructor Summary</h2>
<div class="memberSummary">
<table>
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<thead>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(java.lang.reflect.Type,org.apache.calcite.rel.type.RelProtoDataType,java.lang.String,java.util.List,java.util.List,org.apache.calcite.schema.Table,org.apache.calcite.schema.Path,org.apache.calcite.rex.RexNode,org.apache.calcite.util.ImmutableIntList)">ModifiableViewTable</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect" class="externalLink">Type</a>&nbsp;elementType,
<a href="../../rel/type/RelProtoDataType.html" title="interface in org.apache.calcite.rel.type">RelProtoDataType</a>&nbsp;rowType,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;viewSql,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&gt;&nbsp;schemaPath,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&gt;&nbsp;viewPath,
<a href="../Table.html" title="interface in org.apache.calcite.schema">Table</a>&nbsp;table,
<a href="../Path.html" title="interface in org.apache.calcite.schema">Path</a>&nbsp;tablePath,
<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;constraint,
<a href="../../util/ImmutableIntList.html" title="class in org.apache.calcite.util">ImmutableIntList</a>&nbsp;columnMapping)</code></th>
<td class="colLast">
<div class="block">Creates a ModifiableViewTable.</div>
</td>
</tr>
</tbody>
</table>
</div>
</section>
</li>
<!-- ========== METHOD SUMMARY =========== -->
<li class="blockList">
<section class="methodSummary"><a id="method.summary">
<!-- -->
</a>
<h2>Method Summary</h2>
<div class="memberSummary">
<div role="tablist" aria-orientation="horizontal"><button role="tab" aria-selected="true" aria-controls="memberSummary_tabpanel" tabindex="0" onkeydown="switchTab(event)" id="t0" class="activeTableTab">All Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t2" class="tableTab" onclick="show(2);">Instance Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t4" class="tableTab" onclick="show(8);">Concrete Methods</button></div>
<div id="memberSummary_tabpanel" role="tabpanel">
<table aria-labelledby="t0">
<thead>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr class="altColor" id="i0">
<td class="colFirst"><code><a href="ModifiableViewTable.html" title="class in org.apache.calcite.schema.impl">ModifiableViewTable</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#extend(java.util.List,org.apache.calcite.rel.type.RelDataTypeFactory)">extend</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="../../rel/type/RelDataTypeField.html" title="interface in org.apache.calcite.rel.type">RelDataTypeField</a>&gt;&nbsp;extendedColumns,
<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">Extends the underlying table and returns a new view with updated row-type
and column-mapping.</div>
</td>
</tr>
<tr class="rowColor" id="i1">
<td class="colFirst"><code>protected <a href="ModifiableViewTable.html" title="class in org.apache.calcite.schema.impl">ModifiableViewTable</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#extend(org.apache.calcite.schema.Table,org.apache.calcite.rel.type.RelProtoDataType,org.apache.calcite.util.ImmutableIntList)">extend</a></span>&#8203;(<a href="../Table.html" title="interface in org.apache.calcite.schema">Table</a>&nbsp;extendedTable,
<a href="../../rel/type/RelProtoDataType.html" title="interface in org.apache.calcite.rel.type">RelProtoDataType</a>&nbsp;protoRowType,
<a href="../../util/ImmutableIntList.html" title="class in org.apache.calcite.util">ImmutableIntList</a>&nbsp;newColumnMapping)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i2">
<td class="colFirst"><code><a href="../../util/ImmutableIntList.html" title="class in org.apache.calcite.util">ImmutableIntList</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getColumnMapping()">getColumnMapping</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the column mapping onto another table.</div>
</td>
</tr>
<tr class="rowColor" id="i3">
<td class="colFirst"><code><a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getConstraint(org.apache.calcite.rex.RexBuilder,org.apache.calcite.rel.type.RelDataType)">getConstraint</a></span>&#8203;(<a href="../../rex/RexBuilder.html" title="class in org.apache.calcite.rex">RexBuilder</a>&nbsp;rexBuilder,
<a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;tableRowType)</code></th>
<td class="colLast">
<div class="block">Returns a constraint that each candidate row must satisfy.</div>
</td>
</tr>
<tr class="altColor" id="i4">
<td class="colFirst"><code><a href="../Table.html" title="interface in org.apache.calcite.schema">Table</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTable()">getTable</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the underlying table.</div>
</td>
</tr>
<tr class="rowColor" id="i5">
<td class="colFirst"><code><a href="../Path.html" title="interface in org.apache.calcite.schema">Path</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTablePath()">getTablePath</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the full path of the underlying table.</div>
</td>
</tr>
<tr class="altColor" id="i6">
<td class="colFirst"><code>&lt;C&gt;&nbsp;C</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#unwrap(java.lang.Class)">unwrap</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;C&gt;&nbsp;aClass)</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>
</tbody>
</table>
</div>
</div>
<div class="inheritedList">
<h3>Methods inherited from class&nbsp;org.apache.calcite.schema.impl.<a href="ViewTable.html" title="class in org.apache.calcite.schema.impl">ViewTable</a></h3>
<a id="methods.inherited.from.class.org.apache.calcite.schema.impl.ViewTable">
<!-- -->
</a><code><a href="ViewTable.html#asQueryable(org.apache.calcite.linq4j.QueryProvider,org.apache.calcite.schema.SchemaPlus,java.lang.String)">asQueryable</a>, <a href="ViewTable.html#getJdbcTableType()">getJdbcTableType</a>, <a href="ViewTable.html#getRowType(org.apache.calcite.rel.type.RelDataTypeFactory)">getRowType</a>, <a href="ViewTable.html#getSchemaPath()">getSchemaPath</a>, <a href="ViewTable.html#getViewPath()">getViewPath</a>, <a href="ViewTable.html#getViewSql()">getViewSql</a>, <a href="ViewTable.html#toRel(org.apache.calcite.plan.RelOptTable.ToRelContext,org.apache.calcite.plan.RelOptTable)">toRel</a>, <a href="ViewTable.html#viewMacro(org.apache.calcite.schema.SchemaPlus,java.lang.String,java.util.List)">viewMacro</a>, <a href="ViewTable.html#viewMacro(org.apache.calcite.schema.SchemaPlus,java.lang.String,java.util.List,java.lang.Boolean)">viewMacro</a>, <a href="ViewTable.html#viewMacro(org.apache.calcite.schema.SchemaPlus,java.lang.String,java.util.List,java.util.List,java.lang.Boolean)">viewMacro</a></code></div>
<div class="inheritedList">
<h3>Methods inherited from class&nbsp;org.apache.calcite.adapter.java.<a href="../../adapter/java/AbstractQueryableTable.html" title="class in org.apache.calcite.adapter.java">AbstractQueryableTable</a></h3>
<a id="methods.inherited.from.class.org.apache.calcite.adapter.java.AbstractQueryableTable">
<!-- -->
</a><code><a href="../../adapter/java/AbstractQueryableTable.html#getElementType()">getElementType</a>, <a href="../../adapter/java/AbstractQueryableTable.html#getExpression(org.apache.calcite.schema.SchemaPlus,java.lang.String,java.lang.Class)">getExpression</a></code></div>
<div class="inheritedList">
<h3>Methods inherited from class&nbsp;org.apache.calcite.schema.impl.<a href="AbstractTable.html" title="class in org.apache.calcite.schema.impl">AbstractTable</a></h3>
<a id="methods.inherited.from.class.org.apache.calcite.schema.impl.AbstractTable">
<!-- -->
</a><code><a href="AbstractTable.html#getStatistic()">getStatistic</a>, <a href="AbstractTable.html#isRolledUp(java.lang.String)">isRolledUp</a>, <a href="AbstractTable.html#rolledUpColumnValidInsideAgg(java.lang.String,org.apache.calcite.sql.SqlCall,org.apache.calcite.sql.SqlNode,org.apache.calcite.config.CalciteConnectionConfig)">rolledUpColumnValidInsideAgg</a></code></div>
<div class="inheritedList">
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3>
<a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a><code><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></code></div>
<div class="inheritedList">
<h3>Methods inherited from interface&nbsp;org.apache.calcite.schema.<a href="../Table.html" title="interface in org.apache.calcite.schema">Table</a></h3>
<a id="methods.inherited.from.class.org.apache.calcite.schema.Table">
<!-- -->
</a><code><a href="../Table.html#getJdbcTableType()">getJdbcTableType</a>, <a href="../Table.html#getRowType(org.apache.calcite.rel.type.RelDataTypeFactory)">getRowType</a>, <a href="../Table.html#getStatistic()">getStatistic</a>, <a href="../Table.html#isRolledUp(java.lang.String)">isRolledUp</a>, <a href="../Table.html#rolledUpColumnValidInsideAgg(java.lang.String,org.apache.calcite.sql.SqlCall,org.apache.calcite.sql.SqlNode,org.apache.calcite.config.CalciteConnectionConfig)">rolledUpColumnValidInsideAgg</a></code></div>
</section>
</li>
</ul>
</section>
<section class="details">
<ul class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<li class="blockList">
<section class="constructorDetails"><a id="constructor.detail">
<!-- -->
</a>
<h2>Constructor Details</h2>
<ul class="blockList">
<li class="blockList">
<section class="detail">
<h3><a id="&lt;init&gt;(java.lang.reflect.Type,org.apache.calcite.rel.type.RelProtoDataType,java.lang.String,java.util.List,java.util.List,org.apache.calcite.schema.Table,org.apache.calcite.schema.Path,org.apache.calcite.rex.RexNode,org.apache.calcite.util.ImmutableIntList)">ModifiableViewTable</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="memberName">ModifiableViewTable</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect" class="externalLink">Type</a>&nbsp;elementType,
<a href="../../rel/type/RelProtoDataType.html" title="interface in org.apache.calcite.rel.type">RelProtoDataType</a>&nbsp;rowType,
<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;viewSql,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&gt;&nbsp;schemaPath,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&gt;&nbsp;viewPath,
<a href="../Table.html" title="interface in org.apache.calcite.schema">Table</a>&nbsp;table,
<a href="../Path.html" title="interface in org.apache.calcite.schema">Path</a>&nbsp;tablePath,
<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;constraint,
<a href="../../util/ImmutableIntList.html" title="class in org.apache.calcite.util">ImmutableIntList</a>&nbsp;columnMapping)</span></div>
<div class="block">Creates a ModifiableViewTable.</div>
</section>
</li>
</ul>
</section>
</li>
<!-- ============ METHOD DETAIL ========== -->
<li class="blockList">
<section class="methodDetails"><a id="method.detail">
<!-- -->
</a>
<h2>Method Details</h2>
<ul class="blockList">
<li class="blockList">
<section class="detail">
<h3><a id="getConstraint(org.apache.calcite.rex.RexBuilder,org.apache.calcite.rel.type.RelDataType)">getConstraint</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></span>&nbsp;<span class="memberName">getConstraint</span>&#8203;(<span class="arguments"><a href="../../rex/RexBuilder.html" title="class in org.apache.calcite.rex">RexBuilder</a>&nbsp;rexBuilder,
<a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;tableRowType)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../ModifiableView.html#getConstraint(org.apache.calcite.rex.RexBuilder,org.apache.calcite.rel.type.RelDataType)">ModifiableView</a></code></span></div>
<div class="block">Returns a constraint that each candidate row must satisfy.
<p>Never null; if there is no constraint, returns "true".</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../ModifiableView.html#getConstraint(org.apache.calcite.rex.RexBuilder,org.apache.calcite.rel.type.RelDataType)">getConstraint</a></code>&nbsp;in interface&nbsp;<code><a href="../ModifiableView.html" title="interface in org.apache.calcite.schema">ModifiableView</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rexBuilder</code> - Rex builder</dd>
<dd><code>tableRowType</code> - Row type of the table that this view maps onto</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="getColumnMapping()">getColumnMapping</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="../../util/ImmutableIntList.html" title="class in org.apache.calcite.util">ImmutableIntList</a></span>&nbsp;<span class="memberName">getColumnMapping</span>()</div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../ModifiableView.html#getColumnMapping()">ModifiableView</a></code></span></div>
<div class="block">Returns the column mapping onto another table.
<p><code>mapping[i]</code> contains the column of the underlying table that the
<code>i</code>th column of the view comes from, or -1 if it is based on an
expression.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../ModifiableView.html#getColumnMapping()">getColumnMapping</a></code>&nbsp;in interface&nbsp;<code><a href="../ModifiableView.html" title="interface in org.apache.calcite.schema">ModifiableView</a></code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="getTable()">getTable</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="../Table.html" title="interface in org.apache.calcite.schema">Table</a></span>&nbsp;<span class="memberName">getTable</span>()</div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../ModifiableView.html#getTable()">ModifiableView</a></code></span></div>
<div class="block">Returns the underlying table.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../ModifiableView.html#getTable()">getTable</a></code>&nbsp;in interface&nbsp;<code><a href="../ModifiableView.html" title="interface in org.apache.calcite.schema">ModifiableView</a></code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="getTablePath()">getTablePath</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="../Path.html" title="interface in org.apache.calcite.schema">Path</a></span>&nbsp;<span class="memberName">getTablePath</span>()</div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../ModifiableView.html#getTablePath()">ModifiableView</a></code></span></div>
<div class="block">Returns the full path of the underlying table.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../ModifiableView.html#getTablePath()">getTablePath</a></code>&nbsp;in interface&nbsp;<code><a href="../ModifiableView.html" title="interface in org.apache.calcite.schema">ModifiableView</a></code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="unwrap(java.lang.Class)">unwrap</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="typeParameters">&lt;C&gt;</span>&nbsp;<span class="returnType">C</span>&nbsp;<span class="memberName">unwrap</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;C&gt;&nbsp;aClass)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../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>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../Wrapper.html#unwrap(java.lang.Class)">unwrap</a></code>&nbsp;in interface&nbsp;<code><a href="../Wrapper.html" title="interface in org.apache.calcite.schema">Wrapper</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="AbstractTable.html#unwrap(java.lang.Class)">unwrap</a></code>&nbsp;in class&nbsp;<code><a href="AbstractTable.html" title="class in org.apache.calcite.schema.impl">AbstractTable</a></code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="extend(java.util.List,org.apache.calcite.rel.type.RelDataTypeFactory)">extend</a></h3>
<div class="memberSignature"><span class="modifiers">public final</span>&nbsp;<span class="returnType"><a href="ModifiableViewTable.html" title="class in org.apache.calcite.schema.impl">ModifiableViewTable</a></span>&nbsp;<span class="memberName">extend</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="../../rel/type/RelDataTypeField.html" title="interface in org.apache.calcite.rel.type">RelDataTypeField</a>&gt;&nbsp;extendedColumns,
<a href="../../rel/type/RelDataTypeFactory.html" title="interface in org.apache.calcite.rel.type">RelDataTypeFactory</a>&nbsp;typeFactory)</span></div>
<div class="block">Extends the underlying table and returns a new view with updated row-type
and column-mapping.
<p>The type factory is used to perform some scratch calculations, viz the
type mapping, but the "real" row-type will be assigned later, when the
table has been bound to the statement's type factory. The is important,
because adding types to type factories that do not belong to a statement
could potentially leak memory.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>extendedColumns</code> - Extended fields</dd>
<dd><code>typeFactory</code> - Type factory</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="extend(org.apache.calcite.schema.Table,org.apache.calcite.rel.type.RelProtoDataType,org.apache.calcite.util.ImmutableIntList)">extend</a></h3>
<div class="memberSignature"><span class="modifiers">protected</span>&nbsp;<span class="returnType"><a href="ModifiableViewTable.html" title="class in org.apache.calcite.schema.impl">ModifiableViewTable</a></span>&nbsp;<span class="memberName">extend</span>&#8203;(<span class="arguments"><a href="../Table.html" title="interface in org.apache.calcite.schema">Table</a>&nbsp;extendedTable,
<a href="../../rel/type/RelProtoDataType.html" title="interface in org.apache.calcite.rel.type">RelProtoDataType</a>&nbsp;protoRowType,
<a href="../../util/ImmutableIntList.html" title="class in org.apache.calcite.util">ImmutableIntList</a>&nbsp;newColumnMapping)</span></div>
</section>
</li>
</ul>
</section>
</li>
</ul>
</section>
</div>
<!-- ========= END OF CLASS DATA ========= -->
</main>
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><b>Apache Calcite</b></div>
</div>
<div class="subNav">
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&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>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &copy; 2012-2020 Apache Software Foundation. All Rights Reserved.</small></p>
</footer>
</div>
</div>
</body>
</html>