| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="zh"> |
| <head> |
| <!-- Generated by javadoc --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>ModifiableView (Apache Calcite calcite API)</title> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="ModifiableView (Apache Calcite calcite API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":6,"i1":6,"i2":6,"i3":6}; |
| var tabs = {65535:["t0","所有方法"],2:["t2","实例方法"],4:["t3","抽象方法"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>您的浏览器已禁用 JavaScript。</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="导航"> |
| <li><a href="../../../../overview-summary.html">概览</a></li> |
| <li><a href="package-summary.html">程序包</a></li> |
| <li class="navBarCell1Rev">类</li> |
| <li><a href="package-tree.html">树</a></li> |
| <li><a href="../../../../deprecated-list.html">已过时</a></li> |
| <li><a href="../../../../index-all.html">索引</a></li> |
| <li><a href="../../../../help-doc.html">帮助</a></li> |
| </ul> |
| <div class="aboutLanguage"><b>Apache Calcite</b></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/calcite/schema/ModifiableTable.html" title="org.apache.calcite.schema中的接口"><span class="typeNameLink">上一个类</span></a></li> |
| <li><a href="../../../../org/apache/calcite/schema/Path.html" title="org.apache.calcite.schema中的接口"><span class="typeNameLink">下一个类</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/calcite/schema/ModifiableView.html" target="_top">框架</a></li> |
| <li><a href="ModifiableView.html" target="_top">无框架</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses-noframe.html">所有类</a></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> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>概要: </li> |
| <li>嵌套 | </li> |
| <li>字段 | </li> |
| <li>构造器 | </li> |
| <li><a href="#method.summary">方法</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>详细资料: </li> |
| <li>字段 | </li> |
| <li>构造器 | </li> |
| <li><a href="#method.detail">方法</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.calcite.schema</div> |
| <h2 title="接口 ModifiableView" class="title">接口 ModifiableView</h2> |
| </div> |
| <div class="contentContainer"> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>所有超级接口:</dt> |
| <dd><a href="../../../../org/apache/calcite/schema/Table.html" title="org.apache.calcite.schema中的接口">Table</a></dd> |
| </dl> |
| <dl> |
| <dt>所有已知实现类:</dt> |
| <dd><a href="../../../../org/apache/calcite/schema/impl/ModifiableViewTable.html" title="org.apache.calcite.schema.impl中的类">ModifiableViewTable</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public interface <span class="typeNameLabel">ModifiableView</span> |
| extends <a href="../../../../org/apache/calcite/schema/Table.html" title="org.apache.calcite.schema中的接口">Table</a></pre> |
| <div class="block">A modifiable view onto <a href="../../../../org/apache/calcite/schema/ModifiableTable.html" title="org.apache.calcite.schema中的接口"><code>ModifiableTable</code></a>. |
| |
| <p>It describes how its columns map onto the underlying table's columns, |
| and any constraints that incoming rows must satisfy. |
| |
| <p>For example, given |
| |
| <blockquote><pre> |
| CREATE TABLE emps (empno INTEGER, gender VARCHAR(1), deptno INTEGER); |
| CREATE VIEW female_emps AS |
| SELECT empno, deptno FROM emps WHERE gender = 'F'; |
| </pre></blockquote> |
| |
| <p>constraint is <code>$1 = 'F'</code> |
| and column mapping is <code>[0, 2]</code>. |
| |
| <p>NOTE: The current API is inefficient and experimental. It will change |
| without notice.</p></div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>方法概要</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="方法概要表, 列表方法和解释"> |
| <caption><span id="t0" class="activeTableTab"><span>所有方法</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">实例方法</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">抽象方法</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">限定符和类型</th> |
| <th class="colLast" scope="col">方法和说明</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/calcite/util/ImmutableIntList.html" title="org.apache.calcite.util中的类">ImmutableIntList</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/schema/ModifiableView.html#getColumnMapping--">getColumnMapping</a></span>()</code> |
| <div class="block">Returns the column mapping onto another table.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/schema/ModifiableView.html#getConstraint-org.apache.calcite.rex.RexBuilder-org.apache.calcite.rel.type.RelDataType-">getConstraint</a></span>(<a href="../../../../org/apache/calcite/rex/RexBuilder.html" title="org.apache.calcite.rex中的类">RexBuilder</a> rexBuilder, |
| <a href="../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a> tableRowType)</code> |
| <div class="block">Returns a constraint that each candidate row must satisfy.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/calcite/schema/Table.html" title="org.apache.calcite.schema中的接口">Table</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/schema/ModifiableView.html#getTable--">getTable</a></span>()</code> |
| <div class="block">Returns the underlying table.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/calcite/schema/Path.html" title="org.apache.calcite.schema中的接口">Path</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/schema/ModifiableView.html#getTablePath--">getTablePath</a></span>()</code> |
| <div class="block">Returns the full path of the underlying table.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.calcite.schema.Table"> |
| <!-- --> |
| </a> |
| <h3>从接口继承的方法 org.apache.calcite.schema.<a href="../../../../org/apache/calcite/schema/Table.html" title="org.apache.calcite.schema中的接口">Table</a></h3> |
| <code><a href="../../../../org/apache/calcite/schema/Table.html#getJdbcTableType--">getJdbcTableType</a>, <a href="../../../../org/apache/calcite/schema/Table.html#getRowType-org.apache.calcite.rel.type.RelDataTypeFactory-">getRowType</a>, <a href="../../../../org/apache/calcite/schema/Table.html#getStatistic--">getStatistic</a>, <a href="../../../../org/apache/calcite/schema/Table.html#isRolledUp-java.lang.String-">isRolledUp</a>, <a href="../../../../org/apache/calcite/schema/Table.html#rolledUpColumnValidInsideAgg-java.lang.String-org.apache.calcite.sql.SqlCall-org.apache.calcite.sql.SqlNode-org.apache.calcite.config.CalciteConnectionConfig-">rolledUpColumnValidInsideAgg</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>方法详细资料</h3> |
| <a name="getConstraint-org.apache.calcite.rex.RexBuilder-org.apache.calcite.rel.type.RelDataType-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getConstraint</h4> |
| <pre><a href="../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a> getConstraint(<a href="../../../../org/apache/calcite/rex/RexBuilder.html" title="org.apache.calcite.rex中的类">RexBuilder</a> rexBuilder, |
| <a href="../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a> tableRowType)</pre> |
| <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="paramLabel">参数:</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 name="getColumnMapping--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getColumnMapping</h4> |
| <pre><a href="../../../../org/apache/calcite/util/ImmutableIntList.html" title="org.apache.calcite.util中的类">ImmutableIntList</a> getColumnMapping()</pre> |
| <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> |
| </li> |
| </ul> |
| <a name="getTable--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTable</h4> |
| <pre><a href="../../../../org/apache/calcite/schema/Table.html" title="org.apache.calcite.schema中的接口">Table</a> getTable()</pre> |
| <div class="block">Returns the underlying table.</div> |
| </li> |
| </ul> |
| <a name="getTablePath--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>getTablePath</h4> |
| <pre><a href="../../../../org/apache/calcite/schema/Path.html" title="org.apache.calcite.schema中的接口">Path</a> getTablePath()</pre> |
| <div class="block">Returns the full path of the underlying table.</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="导航"> |
| <li><a href="../../../../overview-summary.html">概览</a></li> |
| <li><a href="package-summary.html">程序包</a></li> |
| <li class="navBarCell1Rev">类</li> |
| <li><a href="package-tree.html">树</a></li> |
| <li><a href="../../../../deprecated-list.html">已过时</a></li> |
| <li><a href="../../../../index-all.html">索引</a></li> |
| <li><a href="../../../../help-doc.html">帮助</a></li> |
| </ul> |
| <div class="aboutLanguage"><b>Apache Calcite</b></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/calcite/schema/ModifiableTable.html" title="org.apache.calcite.schema中的接口"><span class="typeNameLink">上一个类</span></a></li> |
| <li><a href="../../../../org/apache/calcite/schema/Path.html" title="org.apache.calcite.schema中的接口"><span class="typeNameLink">下一个类</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/calcite/schema/ModifiableView.html" target="_top">框架</a></li> |
| <li><a href="ModifiableView.html" target="_top">无框架</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses-noframe.html">所有类</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> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>概要: </li> |
| <li>嵌套 | </li> |
| <li>字段 | </li> |
| <li>构造器 | </li> |
| <li><a href="#method.summary">方法</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>详细资料: </li> |
| <li>字段 | </li> |
| <li>构造器 | </li> |
| <li><a href="#method.detail">方法</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2012-2020 Apache Software Foundation. All Rights Reserved.</small></p> |
| </body> |
| </html> |