| <!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>RelDataTypeImpl (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="RelDataTypeImpl (Apache Calcite calcite API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":9,"i3":6,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"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":10,"i25":10,"i26":10,"i27":9,"i28":9,"i29":9,"i30":9,"i31":10}; |
| var tabs = {65535:["t0","所有方法"],1:["t1","静态方法"],2:["t2","实例方法"],4:["t3","抽象方法"],8:["t4","具体方法"]}; |
| 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/rel/type/RelDataTypeFieldImpl.html" title="org.apache.calcite.rel.type中的类"><span class="typeNameLink">上一个类</span></a></li> |
| <li><a href="../../../../../org/apache/calcite/rel/type/RelDataTypePrecedenceList.html" title="org.apache.calcite.rel.type中的接口"><span class="typeNameLink">下一个类</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/calcite/rel/type/RelDataTypeImpl.html" target="_top">框架</a></li> |
| <li><a href="RelDataTypeImpl.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><a href="#field.summary">字段</a> | </li> |
| <li><a href="#constructor.summary">构造器</a> | </li> |
| <li><a href="#method.summary">方法</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>详细资料: </li> |
| <li><a href="#field.detail">字段</a> | </li> |
| <li><a href="#constructor.detail">构造器</a> | </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.rel.type</div> |
| <h2 title="类 RelDataTypeImpl" class="title">类 RelDataTypeImpl</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.calcite.rel.type.RelDataTypeImpl</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>所有已实现的接口:</dt> |
| <dd><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a>, <a href="../../../../../org/apache/calcite/rel/type/RelDataTypeFamily.html" title="org.apache.calcite.rel.type中的接口">RelDataTypeFamily</a></dd> |
| </dl> |
| <dl> |
| <dt>直接已知子类:</dt> |
| <dd><a href="../../../../../org/apache/calcite/sql/type/AbstractSqlType.html" title="org.apache.calcite.sql.type中的类">AbstractSqlType</a>, <a href="../../../../../org/apache/calcite/rel/type/DynamicRecordType.html" title="org.apache.calcite.rel.type中的类">DynamicRecordType</a>, <a href="../../../../../org/apache/calcite/rel/type/RelCrossType.html" title="org.apache.calcite.rel.type中的类">RelCrossType</a>, <a href="../../../../../org/apache/calcite/rel/type/RelDataTypeFactoryImpl.JavaType.html" title="org.apache.calcite.rel.type中的类">RelDataTypeFactoryImpl.JavaType</a>, <a href="../../../../../org/apache/calcite/rel/type/RelRecordType.html" title="org.apache.calcite.rel.type中的类">RelRecordType</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public abstract class <span class="typeNameLabel">RelDataTypeImpl</span> |
| extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a> |
| implements <a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a>, <a href="../../../../../org/apache/calcite/rel/type/RelDataTypeFamily.html" title="org.apache.calcite.rel.type中的接口">RelDataTypeFamily</a></pre> |
| <div class="block">RelDataTypeImpl is an abstract base for implementations of |
| <a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口"><code>RelDataType</code></a>. |
| |
| <p>Identity is based upon the <a href="../../../../../org/apache/calcite/rel/type/RelDataTypeImpl.html#digest"><code>digest</code></a> field, which each derived class |
| should set during construction.</p></div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.summary"> |
| <!-- --> |
| </a> |
| <h3>字段概要</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="字段概要表, 列表字段和解释"> |
| <caption><span>字段</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">限定符和类型</th> |
| <th class="colLast" scope="col">字段和说明</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeImpl.html#digest">digest</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a><<a href="../../../../../org/apache/calcite/rel/type/RelDataTypeField.html" title="org.apache.calcite.rel.type中的接口">RelDataTypeField</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeImpl.html#fieldList">fieldList</a></span></code> </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields.inherited.from.class.org.apache.calcite.rel.type.RelDataType"> |
| <!-- --> |
| </a> |
| <h3>从接口继承的字段 org.apache.calcite.rel.type.<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a></h3> |
| <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#PRECISION_NOT_SPECIFIED">PRECISION_NOT_SPECIFIED</a>, <a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#SCALE_NOT_SPECIFIED">SCALE_NOT_SPECIFIED</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>构造器概要</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="构造器概要表, 列表构造器和解释"> |
| <caption><span>构造器</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">限定符</th> |
| <th class="colLast" scope="col">构造器和说明</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeImpl.html#RelDataTypeImpl--">RelDataTypeImpl</a></span>()</code> |
| <div class="block">Default constructor, to allow derived classes such as |
| <a href="../../../../../org/apache/calcite/sql/type/BasicSqlType.html" title="org.apache.calcite.sql.type中的类"><code>BasicSqlType</code></a> to be <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="java.io中的类或接口"><code>Serializable</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeImpl.html#RelDataTypeImpl-java.util.List-">RelDataTypeImpl</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a><? extends <a href="../../../../../org/apache/calcite/rel/type/RelDataTypeField.html" title="org.apache.calcite.rel.type中的接口">RelDataTypeField</a>> fieldList)</code> |
| <div class="block">Creates a RelDataTypeImpl.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== 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="t1" class="tableTab"><span><a href="javascript:show(1);">静态方法</a></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><span id="t4" class="tableTab"><span><a href="javascript:show(8);">具体方法</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>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeImpl.html#computeDigest--">computeDigest</a></span>()</code> |
| <div class="block">Computes the digest field.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeImpl.html#equals-java.lang.Object-">equals</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a> obj)</code> </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../../org/apache/calcite/rel/type/RelDataTypeField.html" title="org.apache.calcite.rel.type中的接口">RelDataTypeField</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeImpl.html#extra-org.apache.calcite.rel.type.RelDataType-">extra</a></span>(<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a> rowType)</code> |
| <div class="block">Returns the "extra" field in a row type whose presence signals that |
| fields will come into existence just by asking for them.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>protected abstract void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeImpl.html#generateTypeString-java.lang.StringBuilder-boolean-">generateTypeString</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html?is-external=true" title="java.lang中的类或接口">StringBuilder</a> sb, |
| boolean withDetail)</code> |
| <div class="block">Generates a string representation of this type.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html?is-external=true" title="java.nio.charset中的类或接口">Charset</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeImpl.html#getCharset--">getCharset</a></span>()</code> |
| <div class="block">Gets this type's character set, or null if this type cannot carry a |
| character set or has no character set defined.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/calcite/sql/SqlCollation.html" title="org.apache.calcite.sql中的类">SqlCollation</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeImpl.html#getCollation--">getCollation</a></span>()</code> |
| <div class="block">Gets this type's collation, or null if this type cannot carry a collation |
| or has no collation defined.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeComparability.html" title="org.apache.calcite.rel.type中的枚举">RelDataTypeComparability</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeImpl.html#getComparability--">getComparability</a></span>()</code> </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeImpl.html#getComponentType--">getComponentType</a></span>()</code> |
| <div class="block">Gets the component type if this type is a collection, otherwise null.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeFamily.html" title="org.apache.calcite.rel.type中的接口">RelDataTypeFamily</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeImpl.html#getFamily--">getFamily</a></span>()</code> |
| <div class="block">Gets a canonical object representing the family of this type.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeField.html" title="org.apache.calcite.rel.type中的接口">RelDataTypeField</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeImpl.html#getField-java.lang.String-boolean-boolean-">getField</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a> fieldName, |
| boolean caseSensitive, |
| boolean elideRecord)</code> |
| <div class="block">Looks up a field by name.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeImpl.html#getFieldCount--">getFieldCount</a></span>()</code> |
| <div class="block">Returns the number of fields in a struct type.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a><<a href="../../../../../org/apache/calcite/rel/type/RelDataTypeField.html" title="org.apache.calcite.rel.type中的接口">RelDataTypeField</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeImpl.html#getFieldList--">getFieldList</a></span>()</code> |
| <div class="block">Gets the fields in a struct type.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeImpl.html#getFieldNames--">getFieldNames</a></span>()</code> |
| <div class="block">Returns the names of the fields in a struct type.</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeImpl.html#getFullTypeString--">getFullTypeString</a></span>()</code> |
| <div class="block">Gets a string representation of this type with full detail such as |
| character set and nullability.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/calcite/sql/SqlIntervalQualifier.html" title="org.apache.calcite.sql中的类">SqlIntervalQualifier</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeImpl.html#getIntervalQualifier--">getIntervalQualifier</a></span>()</code> |
| <div class="block">Gets this type's interval qualifier, or null if this is not an interval |
| type.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeImpl.html#getKeyType--">getKeyType</a></span>()</code> |
| <div class="block">Gets the key type if this type is a map, otherwise null.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/calcite/rel/type/RelDataTypePrecedenceList.html" title="org.apache.calcite.rel.type中的接口">RelDataTypePrecedenceList</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeImpl.html#getPrecedenceList--">getPrecedenceList</a></span>()</code> </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeImpl.html#getPrecision--">getPrecision</a></span>()</code> |
| <div class="block">Gets the JDBC-defined precision for values of this type.</div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeImpl.html#getScale--">getScale</a></span>()</code> |
| <div class="block">Gets the scale of this type.</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/calcite/sql/SqlIdentifier.html" title="org.apache.calcite.sql中的类">SqlIdentifier</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeImpl.html#getSqlIdentifier--">getSqlIdentifier</a></span>()</code> |
| <div class="block">Gets the <a href="../../../../../org/apache/calcite/sql/SqlIdentifier.html" title="org.apache.calcite.sql中的类"><code>SqlIdentifier</code></a> associated with this type.</div> |
| </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/calcite/sql/type/SqlTypeName.html" title="org.apache.calcite.sql.type中的枚举">SqlTypeName</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeImpl.html#getSqlTypeName--">getSqlTypeName</a></span>()</code> |
| <div class="block">Gets the <a href="../../../../../org/apache/calcite/sql/type/SqlTypeName.html" title="org.apache.calcite.sql.type中的枚举"><code>SqlTypeName</code></a> of this type.</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/calcite/rel/type/StructKind.html" title="org.apache.calcite.rel.type中的枚举">StructKind</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeImpl.html#getStructKind--">getStructKind</a></span>()</code> |
| <div class="block">Returns the rule for resolving the fields of a structured type, |
| or <a href="../../../../../org/apache/calcite/rel/type/StructKind.html#NONE"><code>StructKind.NONE</code></a> if this is not a structured type.</div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeImpl.html#getValueType--">getValueType</a></span>()</code> |
| <div class="block">Gets the value type if this type is a map, otherwise null.</div> |
| </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeImpl.html#hashCode--">hashCode</a></span>()</code> </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeImpl.html#isDynamicStruct--">isDynamicStruct</a></span>()</code> </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeImpl.html#isNullable--">isNullable</a></span>()</code> |
| <div class="block">Queries whether this type allows null values.</div> |
| </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeImpl.html#isStruct--">isStruct</a></span>()</code> |
| <div class="block">Queries whether this is a structured type.</div> |
| </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../../../org/apache/calcite/rel/type/RelProtoDataType.html" title="org.apache.calcite.rel.type中的接口">RelProtoDataType</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeImpl.html#proto-org.apache.calcite.rel.type.RelDataType-">proto</a></span>(<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a> protoType)</code> |
| <div class="block">Returns an implementation of |
| <a href="../../../../../org/apache/calcite/rel/type/RelProtoDataType.html" title="org.apache.calcite.rel.type中的接口"><code>RelProtoDataType</code></a> |
| that copies a given type using the given type factory.</div> |
| </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../../org/apache/calcite/rel/type/RelProtoDataType.html" title="org.apache.calcite.rel.type中的接口">RelProtoDataType</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeImpl.html#proto-org.apache.calcite.sql.type.SqlTypeName-boolean-">proto</a></span>(<a href="../../../../../org/apache/calcite/sql/type/SqlTypeName.html" title="org.apache.calcite.sql.type中的枚举">SqlTypeName</a> typeName, |
| boolean nullable)</code> |
| <div class="block">Returns a <a href="../../../../../org/apache/calcite/rel/type/RelProtoDataType.html" title="org.apache.calcite.rel.type中的接口"><code>RelProtoDataType</code></a> |
| that will create a type <code>typeName</code>.</div> |
| </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../../../org/apache/calcite/rel/type/RelProtoDataType.html" title="org.apache.calcite.rel.type中的接口">RelProtoDataType</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeImpl.html#proto-org.apache.calcite.sql.type.SqlTypeName-int-boolean-">proto</a></span>(<a href="../../../../../org/apache/calcite/sql/type/SqlTypeName.html" title="org.apache.calcite.sql.type中的枚举">SqlTypeName</a> typeName, |
| int precision, |
| boolean nullable)</code> |
| <div class="block">Returns a <a href="../../../../../org/apache/calcite/rel/type/RelProtoDataType.html" title="org.apache.calcite.rel.type中的接口"><code>RelProtoDataType</code></a> |
| that will create a type <code>typeName(precision)</code>.</div> |
| </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../../org/apache/calcite/rel/type/RelProtoDataType.html" title="org.apache.calcite.rel.type中的接口">RelProtoDataType</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeImpl.html#proto-org.apache.calcite.sql.type.SqlTypeName-int-int-boolean-">proto</a></span>(<a href="../../../../../org/apache/calcite/sql/type/SqlTypeName.html" title="org.apache.calcite.sql.type中的枚举">SqlTypeName</a> typeName, |
| int precision, |
| int scale, |
| boolean nullable)</code> |
| <div class="block">Returns a <a href="../../../../../org/apache/calcite/rel/type/RelProtoDataType.html" title="org.apache.calcite.rel.type中的接口"><code>RelProtoDataType</code></a> |
| that will create a type <code>typeName(precision, scale)</code>.</div> |
| </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/type/RelDataTypeImpl.html#toString--">toString</a></span>()</code> |
| <div class="block">Gets a string representation of this type without detail such as |
| character set and nullability.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>从类继承的方法 java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a></h3> |
| <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="java.lang中的类或接口">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="java.lang中的类或接口">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="java.lang中的类或接口">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="java.lang中的类或接口">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="java.lang中的类或接口">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="java.lang中的类或接口">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="java.lang中的类或接口">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="java.lang中的类或接口">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.detail"> |
| <!-- --> |
| </a> |
| <h3>字段详细资料</h3> |
| <a name="fieldList"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>fieldList</h4> |
| <pre>protected final <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a><<a href="../../../../../org/apache/calcite/rel/type/RelDataTypeField.html" title="org.apache.calcite.rel.type中的接口">RelDataTypeField</a>> fieldList</pre> |
| </li> |
| </ul> |
| <a name="digest"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>digest</h4> |
| <pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a> digest</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>构造器详细资料</h3> |
| <a name="RelDataTypeImpl-java.util.List-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>RelDataTypeImpl</h4> |
| <pre>protected RelDataTypeImpl(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a><? extends <a href="../../../../../org/apache/calcite/rel/type/RelDataTypeField.html" title="org.apache.calcite.rel.type中的接口">RelDataTypeField</a>> fieldList)</pre> |
| <div class="block">Creates a RelDataTypeImpl.</div> |
| <dl> |
| <dt><span class="paramLabel">参数:</span></dt> |
| <dd><code>fieldList</code> - List of fields</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="RelDataTypeImpl--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>RelDataTypeImpl</h4> |
| <pre>protected RelDataTypeImpl()</pre> |
| <div class="block">Default constructor, to allow derived classes such as |
| <a href="../../../../../org/apache/calcite/sql/type/BasicSqlType.html" title="org.apache.calcite.sql.type中的类"><code>BasicSqlType</code></a> to be <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="java.io中的类或接口"><code>Serializable</code></a>. |
| |
| <p>(The serialization specification says that a class can be serializable |
| even if its base class is not serializable, provided that the base class |
| has a public or protected zero-args constructor.)</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>方法详细资料</h3> |
| <a name="getField-java.lang.String-boolean-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getField</h4> |
| <pre>public <a href="../../../../../org/apache/calcite/rel/type/RelDataTypeField.html" title="org.apache.calcite.rel.type中的接口">RelDataTypeField</a> getField(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a> fieldName, |
| boolean caseSensitive, |
| boolean elideRecord)</pre> |
| <div class="block"><span class="descfrmTypeLabel">从接口复制的说明: <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#getField-java.lang.String-boolean-boolean-">RelDataType</a></code></span></div> |
| <div class="block">Looks up a field by name. |
| |
| <p>NOTE: Be careful choosing the value of <code>caseSensitive</code>:</p> |
| <ul> |
| <li>If the field name was supplied by an end-user (e.g. as a column alias |
| in SQL), use your session's case-sensitivity setting.</li> |
| <li>Only hard-code <code>true</code> if you are sure that the field name is |
| internally generated.</li> |
| <li>Hard-coding <code>false</code> is almost certainly wrong.</li> |
| </ul></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#getField-java.lang.String-boolean-boolean-">getField</a></code> 在接口中 <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a></code></dd> |
| <dt><span class="paramLabel">参数:</span></dt> |
| <dd><code>fieldName</code> - Name of field to find</dd> |
| <dd><code>caseSensitive</code> - Whether match is case-sensitive</dd> |
| <dd><code>elideRecord</code> - Whether to find fields nested within records</dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>named field, or null if not found</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getFieldList--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFieldList</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a><<a href="../../../../../org/apache/calcite/rel/type/RelDataTypeField.html" title="org.apache.calcite.rel.type中的接口">RelDataTypeField</a>> getFieldList()</pre> |
| <div class="block"><span class="descfrmTypeLabel">从接口复制的说明: <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#getFieldList--">RelDataType</a></code></span></div> |
| <div class="block">Gets the fields in a struct type. The field count is equal to the size of |
| the returned list.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#getFieldList--">getFieldList</a></code> 在接口中 <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a></code></dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>read-only list of fields</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getFieldNames--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFieldNames</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>> getFieldNames()</pre> |
| <div class="block"><span class="descfrmTypeLabel">从接口复制的说明: <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#getFieldNames--">RelDataType</a></code></span></div> |
| <div class="block">Returns the names of the fields in a struct type. The field count is |
| equal to the size of the returned list.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#getFieldNames--">getFieldNames</a></code> 在接口中 <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a></code></dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>read-only list of field names</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getFieldCount--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFieldCount</h4> |
| <pre>public int getFieldCount()</pre> |
| <div class="block"><span class="descfrmTypeLabel">从接口复制的说明: <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#getFieldCount--">RelDataType</a></code></span></div> |
| <div class="block">Returns the number of fields in a struct type. |
| |
| <p>This method is equivalent to |
| <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#getFieldList--"><code>RelDataType.getFieldList()</code></a>.size()</code>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#getFieldCount--">getFieldCount</a></code> 在接口中 <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getStructKind--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getStructKind</h4> |
| <pre>public <a href="../../../../../org/apache/calcite/rel/type/StructKind.html" title="org.apache.calcite.rel.type中的枚举">StructKind</a> getStructKind()</pre> |
| <div class="block"><span class="descfrmTypeLabel">从接口复制的说明: <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#getStructKind--">RelDataType</a></code></span></div> |
| <div class="block">Returns the rule for resolving the fields of a structured type, |
| or <a href="../../../../../org/apache/calcite/rel/type/StructKind.html#NONE"><code>StructKind.NONE</code></a> if this is not a structured type.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#getStructKind--">getStructKind</a></code> 在接口中 <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a></code></dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>the StructKind that determines how this type's fields are resolved</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getComponentType--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getComponentType</h4> |
| <pre>public <a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a> getComponentType()</pre> |
| <div class="block"><span class="descfrmTypeLabel">从接口复制的说明: <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#getComponentType--">RelDataType</a></code></span></div> |
| <div class="block">Gets the component type if this type is a collection, otherwise null.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#getComponentType--">getComponentType</a></code> 在接口中 <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a></code></dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>canonical type descriptor for components</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getKeyType--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getKeyType</h4> |
| <pre>public <a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a> getKeyType()</pre> |
| <div class="block"><span class="descfrmTypeLabel">从接口复制的说明: <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#getKeyType--">RelDataType</a></code></span></div> |
| <div class="block">Gets the key type if this type is a map, otherwise null.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#getKeyType--">getKeyType</a></code> 在接口中 <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a></code></dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>canonical type descriptor for key</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getValueType--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getValueType</h4> |
| <pre>public <a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a> getValueType()</pre> |
| <div class="block"><span class="descfrmTypeLabel">从接口复制的说明: <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#getValueType--">RelDataType</a></code></span></div> |
| <div class="block">Gets the value type if this type is a map, otherwise null.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#getValueType--">getValueType</a></code> 在接口中 <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a></code></dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>canonical type descriptor for value</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isStruct--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isStruct</h4> |
| <pre>public boolean isStruct()</pre> |
| <div class="block"><span class="descfrmTypeLabel">从接口复制的说明: <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#isStruct--">RelDataType</a></code></span></div> |
| <div class="block">Queries whether this is a structured type.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#isStruct--">isStruct</a></code> 在接口中 <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a></code></dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>whether this type has fields; examples include rows and |
| user-defined structured types in SQL, and classes in Java</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="equals-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>equals</h4> |
| <pre>public boolean equals(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a> obj)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">覆盖:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="java.lang中的类或接口">equals</a></code> 在类中 <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="hashCode--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hashCode</h4> |
| <pre>public int hashCode()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">覆盖:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="java.lang中的类或接口">hashCode</a></code> 在类中 <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getFullTypeString--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFullTypeString</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a> getFullTypeString()</pre> |
| <div class="block"><span class="descfrmTypeLabel">从接口复制的说明: <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#getFullTypeString--">RelDataType</a></code></span></div> |
| <div class="block">Gets a string representation of this type with full detail such as |
| character set and nullability. The string must serve as a "digest" for |
| this type, meaning two types can be considered identical iff their |
| digests are equal.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#getFullTypeString--">getFullTypeString</a></code> 在接口中 <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a></code></dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>full type string</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isNullable--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isNullable</h4> |
| <pre>public boolean isNullable()</pre> |
| <div class="block"><span class="descfrmTypeLabel">从接口复制的说明: <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#isNullable--">RelDataType</a></code></span></div> |
| <div class="block">Queries whether this type allows null values.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#isNullable--">isNullable</a></code> 在接口中 <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a></code></dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>whether type allows null values</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getCharset--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCharset</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html?is-external=true" title="java.nio.charset中的类或接口">Charset</a> getCharset()</pre> |
| <div class="block"><span class="descfrmTypeLabel">从接口复制的说明: <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#getCharset--">RelDataType</a></code></span></div> |
| <div class="block">Gets this type's character set, or null if this type cannot carry a |
| character set or has no character set defined.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#getCharset--">getCharset</a></code> 在接口中 <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a></code></dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>charset of type</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getCollation--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCollation</h4> |
| <pre>public <a href="../../../../../org/apache/calcite/sql/SqlCollation.html" title="org.apache.calcite.sql中的类">SqlCollation</a> getCollation()</pre> |
| <div class="block"><span class="descfrmTypeLabel">从接口复制的说明: <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#getCollation--">RelDataType</a></code></span></div> |
| <div class="block">Gets this type's collation, or null if this type cannot carry a collation |
| or has no collation defined.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#getCollation--">getCollation</a></code> 在接口中 <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a></code></dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>collation of type</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getIntervalQualifier--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getIntervalQualifier</h4> |
| <pre>public <a href="../../../../../org/apache/calcite/sql/SqlIntervalQualifier.html" title="org.apache.calcite.sql中的类">SqlIntervalQualifier</a> getIntervalQualifier()</pre> |
| <div class="block"><span class="descfrmTypeLabel">从接口复制的说明: <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#getIntervalQualifier--">RelDataType</a></code></span></div> |
| <div class="block">Gets this type's interval qualifier, or null if this is not an interval |
| type.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#getIntervalQualifier--">getIntervalQualifier</a></code> 在接口中 <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a></code></dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>interval qualifier</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getPrecision--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPrecision</h4> |
| <pre>public int getPrecision()</pre> |
| <div class="block"><span class="descfrmTypeLabel">从接口复制的说明: <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#getPrecision--">RelDataType</a></code></span></div> |
| <div class="block">Gets the JDBC-defined precision for values of this type. Note that this |
| is not always the same as the user-specified precision. For example, the |
| type INTEGER has no user-specified precision, but this method returns 10 |
| for an INTEGER type. |
| |
| <p>Returns <a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#PRECISION_NOT_SPECIFIED"><code>RelDataType.PRECISION_NOT_SPECIFIED</code></a> (-1) if precision is not |
| applicable for this type.</p></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#getPrecision--">getPrecision</a></code> 在接口中 <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a></code></dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>number of decimal digits for exact numeric types; number of |
| decimal digits in mantissa for approximate numeric types; number of |
| decimal digits for fractional seconds of datetime types; length in |
| characters for character types; length in bytes for binary types; length |
| in bits for bit types; 1 for BOOLEAN; -1 if precision is not valid for |
| this type</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getScale--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getScale</h4> |
| <pre>public int getScale()</pre> |
| <div class="block"><span class="descfrmTypeLabel">从接口复制的说明: <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#getScale--">RelDataType</a></code></span></div> |
| <div class="block">Gets the scale of this type. Returns <a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#SCALE_NOT_SPECIFIED"><code>RelDataType.SCALE_NOT_SPECIFIED</code></a> (-1) if |
| scale is not valid for this type.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#getScale--">getScale</a></code> 在接口中 <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a></code></dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>number of digits of scale</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getSqlTypeName--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSqlTypeName</h4> |
| <pre>public <a href="../../../../../org/apache/calcite/sql/type/SqlTypeName.html" title="org.apache.calcite.sql.type中的枚举">SqlTypeName</a> getSqlTypeName()</pre> |
| <div class="block"><span class="descfrmTypeLabel">从接口复制的说明: <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#getSqlTypeName--">RelDataType</a></code></span></div> |
| <div class="block">Gets the <a href="../../../../../org/apache/calcite/sql/type/SqlTypeName.html" title="org.apache.calcite.sql.type中的枚举"><code>SqlTypeName</code></a> of this type.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#getSqlTypeName--">getSqlTypeName</a></code> 在接口中 <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a></code></dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>SqlTypeName, or null if this is not an SQL predefined type</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getSqlIdentifier--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSqlIdentifier</h4> |
| <pre>public <a href="../../../../../org/apache/calcite/sql/SqlIdentifier.html" title="org.apache.calcite.sql中的类">SqlIdentifier</a> getSqlIdentifier()</pre> |
| <div class="block"><span class="descfrmTypeLabel">从接口复制的说明: <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#getSqlIdentifier--">RelDataType</a></code></span></div> |
| <div class="block">Gets the <a href="../../../../../org/apache/calcite/sql/SqlIdentifier.html" title="org.apache.calcite.sql中的类"><code>SqlIdentifier</code></a> associated with this type. For a |
| predefined type, this is a simple identifier based on |
| <a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#getSqlTypeName--"><code>RelDataType.getSqlTypeName()</code></a>. For a user-defined type, this is a compound |
| identifier which uniquely names the type.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#getSqlIdentifier--">getSqlIdentifier</a></code> 在接口中 <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a></code></dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>SqlIdentifier, or null if this is not an SQL type</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getFamily--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFamily</h4> |
| <pre>public <a href="../../../../../org/apache/calcite/rel/type/RelDataTypeFamily.html" title="org.apache.calcite.rel.type中的接口">RelDataTypeFamily</a> getFamily()</pre> |
| <div class="block"><span class="descfrmTypeLabel">从接口复制的说明: <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#getFamily--">RelDataType</a></code></span></div> |
| <div class="block">Gets a canonical object representing the family of this type. Two values |
| can be compared if and only if their types are in the same family.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#getFamily--">getFamily</a></code> 在接口中 <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a></code></dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>canonical object representing type family</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="generateTypeString-java.lang.StringBuilder-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>generateTypeString</h4> |
| <pre>protected abstract void generateTypeString(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html?is-external=true" title="java.lang中的类或接口">StringBuilder</a> sb, |
| boolean withDetail)</pre> |
| <div class="block">Generates a string representation of this type.</div> |
| <dl> |
| <dt><span class="paramLabel">参数:</span></dt> |
| <dd><code>sb</code> - StringBuilder into which to generate the string</dd> |
| <dd><code>withDetail</code> - when true, all detail information needed to compute a |
| unique digest (and return from getFullTypeString) should |
| be included;</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="computeDigest--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>computeDigest</h4> |
| <pre>protected void computeDigest()</pre> |
| <div class="block">Computes the digest field. This should be called in every non-abstract |
| subclass constructor once the type is fully defined.</div> |
| </li> |
| </ul> |
| <a name="toString--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toString</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a> toString()</pre> |
| <div class="block"><span class="descfrmTypeLabel">从接口复制的说明: <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#toString--">RelDataType</a></code></span></div> |
| <div class="block">Gets a string representation of this type without detail such as |
| character set and nullability.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#toString--">toString</a></code> 在接口中 <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">覆盖:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="java.lang中的类或接口">toString</a></code> 在类中 <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a></code></dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>abbreviated type string</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getPrecedenceList--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPrecedenceList</h4> |
| <pre>public <a href="../../../../../org/apache/calcite/rel/type/RelDataTypePrecedenceList.html" title="org.apache.calcite.rel.type中的接口">RelDataTypePrecedenceList</a> getPrecedenceList()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#getPrecedenceList--">getPrecedenceList</a></code> 在接口中 <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a></code></dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>precedence list for this type</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getComparability--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getComparability</h4> |
| <pre>public <a href="../../../../../org/apache/calcite/rel/type/RelDataTypeComparability.html" title="org.apache.calcite.rel.type中的枚举">RelDataTypeComparability</a> getComparability()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#getComparability--">getComparability</a></code> 在接口中 <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a></code></dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>the category of comparison operators which make sense when |
| applied to values of this type</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="proto-org.apache.calcite.rel.type.RelDataType-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>proto</h4> |
| <pre>public static <a href="../../../../../org/apache/calcite/rel/type/RelProtoDataType.html" title="org.apache.calcite.rel.type中的接口">RelProtoDataType</a> proto(<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a> protoType)</pre> |
| <div class="block">Returns an implementation of |
| <a href="../../../../../org/apache/calcite/rel/type/RelProtoDataType.html" title="org.apache.calcite.rel.type中的接口"><code>RelProtoDataType</code></a> |
| that copies a given type using the given type factory.</div> |
| </li> |
| </ul> |
| <a name="proto-org.apache.calcite.sql.type.SqlTypeName-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>proto</h4> |
| <pre>public static <a href="../../../../../org/apache/calcite/rel/type/RelProtoDataType.html" title="org.apache.calcite.rel.type中的接口">RelProtoDataType</a> proto(<a href="../../../../../org/apache/calcite/sql/type/SqlTypeName.html" title="org.apache.calcite.sql.type中的枚举">SqlTypeName</a> typeName, |
| boolean nullable)</pre> |
| <div class="block">Returns a <a href="../../../../../org/apache/calcite/rel/type/RelProtoDataType.html" title="org.apache.calcite.rel.type中的接口"><code>RelProtoDataType</code></a> |
| that will create a type <code>typeName</code>. |
| |
| <p>For example, <code>proto(SqlTypeName.DATE), false</code> |
| will create <code>DATE NOT NULL</code>.</p></div> |
| <dl> |
| <dt><span class="paramLabel">参数:</span></dt> |
| <dd><code>typeName</code> - Type name</dd> |
| <dd><code>nullable</code> - Whether nullable</dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>Proto data type</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="proto-org.apache.calcite.sql.type.SqlTypeName-int-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>proto</h4> |
| <pre>public static <a href="../../../../../org/apache/calcite/rel/type/RelProtoDataType.html" title="org.apache.calcite.rel.type中的接口">RelProtoDataType</a> proto(<a href="../../../../../org/apache/calcite/sql/type/SqlTypeName.html" title="org.apache.calcite.sql.type中的枚举">SqlTypeName</a> typeName, |
| int precision, |
| boolean nullable)</pre> |
| <div class="block">Returns a <a href="../../../../../org/apache/calcite/rel/type/RelProtoDataType.html" title="org.apache.calcite.rel.type中的接口"><code>RelProtoDataType</code></a> |
| that will create a type <code>typeName(precision)</code>. |
| |
| <p>For example, <code>proto(SqlTypeName.VARCHAR, 100, false)</code> |
| will create <code>VARCHAR(100) NOT NULL</code>.</p></div> |
| <dl> |
| <dt><span class="paramLabel">参数:</span></dt> |
| <dd><code>typeName</code> - Type name</dd> |
| <dd><code>precision</code> - Precision</dd> |
| <dd><code>nullable</code> - Whether nullable</dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>Proto data type</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="proto-org.apache.calcite.sql.type.SqlTypeName-int-int-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>proto</h4> |
| <pre>public static <a href="../../../../../org/apache/calcite/rel/type/RelProtoDataType.html" title="org.apache.calcite.rel.type中的接口">RelProtoDataType</a> proto(<a href="../../../../../org/apache/calcite/sql/type/SqlTypeName.html" title="org.apache.calcite.sql.type中的枚举">SqlTypeName</a> typeName, |
| int precision, |
| int scale, |
| boolean nullable)</pre> |
| <div class="block">Returns a <a href="../../../../../org/apache/calcite/rel/type/RelProtoDataType.html" title="org.apache.calcite.rel.type中的接口"><code>RelProtoDataType</code></a> |
| that will create a type <code>typeName(precision, scale)</code>. |
| |
| <p>For example, <code>proto(SqlTypeName.DECIMAL, 7, 2, false)</code> |
| will create <code>DECIMAL(7, 2) NOT NULL</code>.</p></div> |
| <dl> |
| <dt><span class="paramLabel">参数:</span></dt> |
| <dd><code>typeName</code> - Type name</dd> |
| <dd><code>precision</code> - Precision</dd> |
| <dd><code>scale</code> - Scale</dd> |
| <dd><code>nullable</code> - Whether nullable</dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>Proto data type</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="extra-org.apache.calcite.rel.type.RelDataType-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>extra</h4> |
| <pre>public static <a href="../../../../../org/apache/calcite/rel/type/RelDataTypeField.html" title="org.apache.calcite.rel.type中的接口">RelDataTypeField</a> extra(<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a> rowType)</pre> |
| <div class="block">Returns the "extra" field in a row type whose presence signals that |
| fields will come into existence just by asking for them.</div> |
| <dl> |
| <dt><span class="paramLabel">参数:</span></dt> |
| <dd><code>rowType</code> - Row type</dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>The "extra" field, or null</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isDynamicStruct--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>isDynamicStruct</h4> |
| <pre>public boolean isDynamicStruct()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html#isDynamicStruct--">isDynamicStruct</a></code> 在接口中 <code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a></code></dd> |
| <dt><span class="returnLabel">返回:</span></dt> |
| <dd>whether it has dynamic structure (for "schema-on-read" table)</dd> |
| </dl> |
| </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/rel/type/RelDataTypeFieldImpl.html" title="org.apache.calcite.rel.type中的类"><span class="typeNameLink">上一个类</span></a></li> |
| <li><a href="../../../../../org/apache/calcite/rel/type/RelDataTypePrecedenceList.html" title="org.apache.calcite.rel.type中的接口"><span class="typeNameLink">下一个类</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/calcite/rel/type/RelDataTypeImpl.html" target="_top">框架</a></li> |
| <li><a href="RelDataTypeImpl.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><a href="#field.summary">字段</a> | </li> |
| <li><a href="#constructor.summary">构造器</a> | </li> |
| <li><a href="#method.summary">方法</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>详细资料: </li> |
| <li><a href="#field.detail">字段</a> | </li> |
| <li><a href="#constructor.detail">构造器</a> | </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> |