blob: e7a0c00d691f6b6253c22564d0c060810237dc31 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>ModifiableViewTable (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="ModifiableViewTable (Apache Calcite API)";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":9,"i5":10,"i6":10,"i7":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/ModifiableViewTable.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.schema.impl</a></div>
<h2 title="Class ModifiableViewTable" class="title">Class ModifiableViewTable</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="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="../../adapter/java/AbstractQueryableTable.html" title="class in org.apache.calcite.adapter.java">org.apache.calcite.adapter.java.AbstractQueryableTable</a></li>
<li>
<ul class="inheritance">
<li><a href="ViewTable.html" title="class in org.apache.calcite.schema.impl">org.apache.calcite.schema.impl.ViewTable</a></li>
<li>
<ul class="inheritance">
<li>org.apache.calcite.schema.impl.ModifiableViewTable</li>
</ul>
</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="../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>
</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="ModifiableViewTable.ModifiableViewTableInitializerExpressionFactory.html" title="class in org.apache.calcite.schema.impl">ModifiableViewTable.ModifiableViewTableInitializerExpressionFactory</a></span></code></th>
<td class="colLast">
<div class="block">Initializes columns based on the view constraint.</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>private <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="#columnMapping">columnMapping</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <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="#constraint">constraint</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="../../sql2rel/InitializerExpressionFactory.html" title="interface in org.apache.calcite.sql2rel">InitializerExpressionFactory</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#initializerExpressionFactory">initializerExpressionFactory</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="../Table.html" title="interface in org.apache.calcite.schema">Table</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#table">table</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <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="#tablePath">tablePath</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="../../adapter/java/AbstractQueryableTable.html" title="class in org.apache.calcite.adapter.java">AbstractQueryableTable</a></h3>
<code><a href="../../adapter/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(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;(java.lang.reflect.Type&nbsp;elementType,
<a href="../../rel/type/RelProtoDataType.html" title="interface in org.apache.calcite.rel.type">RelProtoDataType</a>&nbsp;rowType,
java.lang.String&nbsp;viewSql,
java.util.List&lt;java.lang.String&gt;&nbsp;schemaPath,
java.util.List&lt;java.lang.String&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>
</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><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;(java.util.List&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 id="i1" class="rowColor">
<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 id="i2" class="altColor">
<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 id="i3" class="rowColor">
<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 id="i4" class="altColor">
<td class="colFirst"><code>private static <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="#getNewColumnMapping(org.apache.calcite.schema.Table,org.apache.calcite.util.ImmutableIntList,java.util.List,org.apache.calcite.rel.type.RelDataTypeFactory)">getNewColumnMapping</a></span>&#8203;(<a href="../Table.html" title="interface in org.apache.calcite.schema">Table</a>&nbsp;underlying,
<a href="../../util/ImmutableIntList.html" title="class in org.apache.calcite.util">ImmutableIntList</a>&nbsp;oldColumnMapping,
java.util.List&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">Creates a mapping from the view index to the index in the underlying table.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<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 id="i6" class="altColor">
<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 id="i7" class="rowColor">
<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;(java.lang.Class&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>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.apache.calcite.schema.impl.ViewTable">
<!-- -->
</a>
<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>
<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></li>
</ul>
<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="../../adapter/java/AbstractQueryableTable.html" title="class in org.apache.calcite.adapter.java">AbstractQueryableTable</a></h3>
<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></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="AbstractTable.html" title="class in org.apache.calcite.schema.impl">AbstractTable</a></h3>
<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></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, toString, wait, wait, wait</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="../Table.html" title="interface in org.apache.calcite.schema">Table</a></h3>
<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></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="table">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>table</h4>
<pre>private final&nbsp;<a href="../Table.html" title="interface in org.apache.calcite.schema">Table</a> table</pre>
</li>
</ul>
<a id="tablePath">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>tablePath</h4>
<pre>private final&nbsp;<a href="../Path.html" title="interface in org.apache.calcite.schema">Path</a> tablePath</pre>
</li>
</ul>
<a id="constraint">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>constraint</h4>
<pre>private final&nbsp;<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> constraint</pre>
</li>
</ul>
<a id="columnMapping">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>columnMapping</h4>
<pre>private final&nbsp;<a href="../../util/ImmutableIntList.html" title="class in org.apache.calcite.util">ImmutableIntList</a> columnMapping</pre>
</li>
</ul>
<a id="initializerExpressionFactory">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>initializerExpressionFactory</h4>
<pre>private final&nbsp;<a href="../../sql2rel/InitializerExpressionFactory.html" title="interface in org.apache.calcite.sql2rel">InitializerExpressionFactory</a> initializerExpressionFactory</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;(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)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ModifiableViewTable</h4>
<pre>public&nbsp;ModifiableViewTable&#8203;(java.lang.reflect.Type&nbsp;elementType,
<a href="../../rel/type/RelProtoDataType.html" title="interface in org.apache.calcite.rel.type">RelProtoDataType</a>&nbsp;rowType,
java.lang.String&nbsp;viewSql,
java.util.List&lt;java.lang.String&gt;&nbsp;schemaPath,
java.util.List&lt;java.lang.String&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)</pre>
<div class="block">Creates a ModifiableViewTable.</div>
</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="getConstraint(org.apache.calcite.rex.RexBuilder,org.apache.calcite.rel.type.RelDataType)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConstraint</h4>
<pre class="methodSignature">public&nbsp;<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;getConstraint&#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)</pre>
<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>
</li>
</ul>
<a id="getColumnMapping()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getColumnMapping</h4>
<pre class="methodSignature">public&nbsp;<a href="../../util/ImmutableIntList.html" title="class in org.apache.calcite.util">ImmutableIntList</a>&nbsp;getColumnMapping()</pre>
<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>
</li>
</ul>
<a id="getTable()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTable</h4>
<pre class="methodSignature">public&nbsp;<a href="../Table.html" title="interface in org.apache.calcite.schema">Table</a>&nbsp;getTable()</pre>
<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>
</li>
</ul>
<a id="getTablePath()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTablePath</h4>
<pre class="methodSignature">public&nbsp;<a href="../Path.html" title="interface in org.apache.calcite.schema">Path</a>&nbsp;getTablePath()</pre>
<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>
</li>
</ul>
<a id="unwrap(java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unwrap</h4>
<pre class="methodSignature">public&nbsp;&lt;C&gt;&nbsp;C&nbsp;unwrap&#8203;(java.lang.Class&lt;C&gt;&nbsp;aClass)</pre>
<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>
</li>
</ul>
<a id="extend(java.util.List,org.apache.calcite.rel.type.RelDataTypeFactory)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>extend</h4>
<pre class="methodSignature">public final&nbsp;<a href="ModifiableViewTable.html" title="class in org.apache.calcite.schema.impl">ModifiableViewTable</a>&nbsp;extend&#8203;(java.util.List&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)</pre>
<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>
</li>
</ul>
<a id="getNewColumnMapping(org.apache.calcite.schema.Table,org.apache.calcite.util.ImmutableIntList,java.util.List,org.apache.calcite.rel.type.RelDataTypeFactory)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNewColumnMapping</h4>
<pre class="methodSignature">private static&nbsp;<a href="../../util/ImmutableIntList.html" title="class in org.apache.calcite.util">ImmutableIntList</a>&nbsp;getNewColumnMapping&#8203;(<a href="../Table.html" title="interface in org.apache.calcite.schema">Table</a>&nbsp;underlying,
<a href="../../util/ImmutableIntList.html" title="class in org.apache.calcite.util">ImmutableIntList</a>&nbsp;oldColumnMapping,
java.util.List&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)</pre>
<div class="block">Creates a mapping from the view index to the index in the underlying table.</div>
</li>
</ul>
<a id="extend(org.apache.calcite.schema.Table,org.apache.calcite.rel.type.RelProtoDataType,org.apache.calcite.util.ImmutableIntList)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>extend</h4>
<pre class="methodSignature">protected&nbsp;<a href="ModifiableViewTable.html" title="class in org.apache.calcite.schema.impl">ModifiableViewTable</a>&nbsp;extend&#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)</pre>
</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/ModifiableViewTable.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>