blob: 31049179ac4e37bbccef0d3e1d61c5ae5029ad9d [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>DynamicRecordTypeImpl (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="DynamicRecordTypeImpl (Apache Calcite API)";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../../";
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/DynamicRecordTypeImpl.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>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><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.rel.type</a></div>
<h2 title="Class DynamicRecordTypeImpl" class="title">Class DynamicRecordTypeImpl</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="RelDataTypeImpl.html" title="class in org.apache.calcite.rel.type">org.apache.calcite.rel.type.RelDataTypeImpl</a></li>
<li>
<ul class="inheritance">
<li><a href="DynamicRecordType.html" title="class in org.apache.calcite.rel.type">org.apache.calcite.rel.type.DynamicRecordType</a></li>
<li>
<ul class="inheritance">
<li>org.apache.calcite.rel.type.DynamicRecordTypeImpl</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="RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a></code>, <code><a href="RelDataTypeFamily.html" title="interface in org.apache.calcite.rel.type">RelDataTypeFamily</a></code></dd>
</dl>
<hr>
<pre>public class <span class="typeNameLabel">DynamicRecordTypeImpl</span>
extends <a href="DynamicRecordType.html" title="class in org.apache.calcite.rel.type">DynamicRecordType</a></pre>
<div class="block">Implementation of <a href="RelDataType.html" title="interface in org.apache.calcite.rel.type"><code>RelDataType</code></a> for a dynamic table.
<p>It's used during SQL validation, where the field list is mutable for
the getField() call. After SQL validation, a normal <a href="RelDataTypeImpl.html" title="class in org.apache.calcite.rel.type"><code>RelDataTypeImpl</code></a>
with an immutable field list takes the place of the DynamicRecordTypeImpl
instance.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== 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="RelDataTypeHolder.html" title="class in org.apache.calcite.rel.type">RelDataTypeHolder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#holder">holder</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.rel.type.DynamicRecordType">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.calcite.rel.type.<a href="DynamicRecordType.html" title="class in org.apache.calcite.rel.type">DynamicRecordType</a></h3>
<code><a href="DynamicRecordType.html#DYNAMIC_STAR_PREFIX">DYNAMIC_STAR_PREFIX</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.org.apache.calcite.rel.type.RelDataTypeImpl">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.calcite.rel.type.<a href="RelDataTypeImpl.html" title="class in org.apache.calcite.rel.type">RelDataTypeImpl</a></h3>
<code><a href="RelDataTypeImpl.html#digest">digest</a>, <a href="RelDataTypeImpl.html#fieldList">fieldList</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.org.apache.calcite.rel.type.RelDataType">
<!-- -->
</a>
<h3>Fields inherited from interface&nbsp;org.apache.calcite.rel.type.<a href="RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a></h3>
<code><a href="RelDataType.html#PRECISION_NOT_SPECIFIED">PRECISION_NOT_SPECIFIED</a>, <a href="RelDataType.html#SCALE_NOT_SPECIFIED">SCALE_NOT_SPECIFIED</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(org.apache.calcite.rel.type.RelDataTypeFactory)">DynamicRecordTypeImpl</a></span>&#8203;(<a href="RelDataTypeFactory.html" title="interface in org.apache.calcite.rel.type">RelDataTypeFactory</a>&nbsp;typeFactory)</code></th>
<td class="colLast">
<div class="block">Creates a DynamicRecordTypeImpl.</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="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>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#generateTypeString(java.lang.StringBuilder,boolean)">generateTypeString</a></span>&#8203;(java.lang.StringBuilder&nbsp;sb,
boolean&nbsp;withDetail)</code></th>
<td class="colLast">
<div class="block">Generates a string representation of this type.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="RelDataTypeFamily.html" title="interface in org.apache.calcite.rel.type">RelDataTypeFamily</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFamily()">getFamily</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets a canonical object representing the family of this type.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="RelDataTypeField.html" title="interface in org.apache.calcite.rel.type">RelDataTypeField</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getField(java.lang.String,boolean,boolean)">getField</a></span>&#8203;(java.lang.String&nbsp;fieldName,
boolean&nbsp;caseSensitive,
boolean&nbsp;elideRecord)</code></th>
<td class="colLast">
<div class="block">Looks up a field by name.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFieldCount()">getFieldCount</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the number of fields in a struct type.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="RelDataTypeField.html" title="interface in org.apache.calcite.rel.type">RelDataTypeField</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFieldList()">getFieldList</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets the fields in a struct type.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>java.util.List&lt;java.lang.String&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFieldNames()">getFieldNames</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the names of the fields in a struct type.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="RelDataTypePrecedenceList.html" title="interface in org.apache.calcite.rel.type">RelDataTypePrecedenceList</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPrecedenceList()">getPrecedenceList</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="../../sql/type/SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSqlTypeName()">getSqlTypeName</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets the <a href="../../sql/type/SqlTypeName.html" title="enum in org.apache.calcite.sql.type"><code>SqlTypeName</code></a> of this type.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isStruct()">isStruct</a></span>()</code></th>
<td class="colLast">
<div class="block">Queries whether this is a structured type.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.apache.calcite.rel.type.DynamicRecordType">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.calcite.rel.type.<a href="DynamicRecordType.html" title="class in org.apache.calcite.rel.type">DynamicRecordType</a></h3>
<code><a href="DynamicRecordType.html#isDynamicStarColName(java.lang.String)">isDynamicStarColName</a>, <a href="DynamicRecordType.html#isDynamicStruct()">isDynamicStruct</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.apache.calcite.rel.type.RelDataTypeImpl">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.calcite.rel.type.<a href="RelDataTypeImpl.html" title="class in org.apache.calcite.rel.type">RelDataTypeImpl</a></h3>
<code><a href="RelDataTypeImpl.html#computeDigest()">computeDigest</a>, <a href="RelDataTypeImpl.html#equals(java.lang.Object)">equals</a>, <a href="RelDataTypeImpl.html#extra(org.apache.calcite.rel.type.RelDataType)">extra</a>, <a href="RelDataTypeImpl.html#getCharset()">getCharset</a>, <a href="RelDataTypeImpl.html#getCollation()">getCollation</a>, <a href="RelDataTypeImpl.html#getComparability()">getComparability</a>, <a href="RelDataTypeImpl.html#getComponentType()">getComponentType</a>, <a href="RelDataTypeImpl.html#getFullTypeString()">getFullTypeString</a>, <a href="RelDataTypeImpl.html#getIntervalQualifier()">getIntervalQualifier</a>, <a href="RelDataTypeImpl.html#getKeyType()">getKeyType</a>, <a href="RelDataTypeImpl.html#getPrecision()">getPrecision</a>, <a href="RelDataTypeImpl.html#getScale()">getScale</a>, <a href="RelDataTypeImpl.html#getSqlIdentifier()">getSqlIdentifier</a>, <a href="RelDataTypeImpl.html#getStructKind()">getStructKind</a>, <a href="RelDataTypeImpl.html#getValueType()">getValueType</a>, <a href="RelDataTypeImpl.html#hashCode()">hashCode</a>, <a href="RelDataTypeImpl.html#isNullable()">isNullable</a>, <a href="RelDataTypeImpl.html#proto(org.apache.calcite.rel.type.RelDataType)">proto</a>, <a href="RelDataTypeImpl.html#proto(org.apache.calcite.sql.type.SqlTypeName,boolean)">proto</a>, <a href="RelDataTypeImpl.html#proto(org.apache.calcite.sql.type.SqlTypeName,int,boolean)">proto</a>, <a href="RelDataTypeImpl.html#proto(org.apache.calcite.sql.type.SqlTypeName,int,int,boolean)">proto</a>, <a href="RelDataTypeImpl.html#toString()">toString</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a id="holder">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>holder</h4>
<pre>private final&nbsp;<a href="RelDataTypeHolder.html" title="class in org.apache.calcite.rel.type">RelDataTypeHolder</a> holder</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;(org.apache.calcite.rel.type.RelDataTypeFactory)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>DynamicRecordTypeImpl</h4>
<pre>public&nbsp;DynamicRecordTypeImpl&#8203;(<a href="RelDataTypeFactory.html" title="interface in org.apache.calcite.rel.type">RelDataTypeFactory</a>&nbsp;typeFactory)</pre>
<div class="block">Creates a DynamicRecordTypeImpl.</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="getFieldList()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFieldList</h4>
<pre class="methodSignature">public&nbsp;java.util.List&lt;<a href="RelDataTypeField.html" title="interface in org.apache.calcite.rel.type">RelDataTypeField</a>&gt;&nbsp;getFieldList()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="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">Specified by:</span></dt>
<dd><code><a href="RelDataType.html#getFieldList()">getFieldList</a></code>&nbsp;in interface&nbsp;<code><a href="RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="RelDataTypeImpl.html#getFieldList()">getFieldList</a></code>&nbsp;in class&nbsp;<code><a href="RelDataTypeImpl.html" title="class in org.apache.calcite.rel.type">RelDataTypeImpl</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>read-only list of fields</dd>
</dl>
</li>
</ul>
<a id="getFieldCount()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFieldCount</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;getFieldCount()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="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="RelDataType.html#getFieldList()"><code>RelDataType.getFieldList()</code></a>.size()</code>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="RelDataType.html#getFieldCount()">getFieldCount</a></code>&nbsp;in interface&nbsp;<code><a href="RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="RelDataTypeImpl.html#getFieldCount()">getFieldCount</a></code>&nbsp;in class&nbsp;<code><a href="RelDataTypeImpl.html" title="class in org.apache.calcite.rel.type">RelDataTypeImpl</a></code></dd>
</dl>
</li>
</ul>
<a id="getField(java.lang.String,boolean,boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getField</h4>
<pre class="methodSignature">public&nbsp;<a href="RelDataTypeField.html" title="interface in org.apache.calcite.rel.type">RelDataTypeField</a>&nbsp;getField&#8203;(java.lang.String&nbsp;fieldName,
boolean&nbsp;caseSensitive,
boolean&nbsp;elideRecord)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="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">Specified by:</span></dt>
<dd><code><a href="RelDataType.html#getField(java.lang.String,boolean,boolean)">getField</a></code>&nbsp;in interface&nbsp;<code><a href="RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="RelDataTypeImpl.html#getField(java.lang.String,boolean,boolean)">getField</a></code>&nbsp;in class&nbsp;<code><a href="RelDataTypeImpl.html" title="class in org.apache.calcite.rel.type">RelDataTypeImpl</a></code></dd>
<dt><span class="paramLabel">Parameters:</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">Returns:</span></dt>
<dd>named field, or null if not found</dd>
</dl>
</li>
</ul>
<a id="getFieldNames()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFieldNames</h4>
<pre class="methodSignature">public&nbsp;java.util.List&lt;java.lang.String&gt;&nbsp;getFieldNames()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="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">Specified by:</span></dt>
<dd><code><a href="RelDataType.html#getFieldNames()">getFieldNames</a></code>&nbsp;in interface&nbsp;<code><a href="RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="RelDataTypeImpl.html#getFieldNames()">getFieldNames</a></code>&nbsp;in class&nbsp;<code><a href="RelDataTypeImpl.html" title="class in org.apache.calcite.rel.type">RelDataTypeImpl</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>read-only list of field names</dd>
</dl>
</li>
</ul>
<a id="getSqlTypeName()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSqlTypeName</h4>
<pre class="methodSignature">public&nbsp;<a href="../../sql/type/SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&nbsp;getSqlTypeName()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="RelDataType.html#getSqlTypeName()">RelDataType</a></code></span></div>
<div class="block">Gets the <a href="../../sql/type/SqlTypeName.html" title="enum in org.apache.calcite.sql.type"><code>SqlTypeName</code></a> of this type.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="RelDataType.html#getSqlTypeName()">getSqlTypeName</a></code>&nbsp;in interface&nbsp;<code><a href="RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="RelDataTypeImpl.html#getSqlTypeName()">getSqlTypeName</a></code>&nbsp;in class&nbsp;<code><a href="RelDataTypeImpl.html" title="class in org.apache.calcite.rel.type">RelDataTypeImpl</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>SqlTypeName, or null if this is not an SQL predefined type</dd>
</dl>
</li>
</ul>
<a id="getPrecedenceList()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPrecedenceList</h4>
<pre class="methodSignature">public&nbsp;<a href="RelDataTypePrecedenceList.html" title="interface in org.apache.calcite.rel.type">RelDataTypePrecedenceList</a>&nbsp;getPrecedenceList()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="RelDataType.html#getPrecedenceList()">getPrecedenceList</a></code>&nbsp;in interface&nbsp;<code><a href="RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="RelDataTypeImpl.html#getPrecedenceList()">getPrecedenceList</a></code>&nbsp;in class&nbsp;<code><a href="RelDataTypeImpl.html" title="class in org.apache.calcite.rel.type">RelDataTypeImpl</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>precedence list for this type</dd>
</dl>
</li>
</ul>
<a id="generateTypeString(java.lang.StringBuilder,boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generateTypeString</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;generateTypeString&#8203;(java.lang.StringBuilder&nbsp;sb,
boolean&nbsp;withDetail)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="RelDataTypeImpl.html#generateTypeString(java.lang.StringBuilder,boolean)">RelDataTypeImpl</a></code></span></div>
<div class="block">Generates a string representation of this type.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="RelDataTypeImpl.html#generateTypeString(java.lang.StringBuilder,boolean)">generateTypeString</a></code>&nbsp;in class&nbsp;<code><a href="RelDataTypeImpl.html" title="class in org.apache.calcite.rel.type">RelDataTypeImpl</a></code></dd>
<dt><span class="paramLabel">Parameters:</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 id="isStruct()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isStruct</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;isStruct()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="RelDataType.html#isStruct()">RelDataType</a></code></span></div>
<div class="block">Queries whether this is a structured type.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="RelDataType.html#isStruct()">isStruct</a></code>&nbsp;in interface&nbsp;<code><a href="RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="RelDataTypeImpl.html#isStruct()">isStruct</a></code>&nbsp;in class&nbsp;<code><a href="RelDataTypeImpl.html" title="class in org.apache.calcite.rel.type">RelDataTypeImpl</a></code></dd>
<dt><span class="returnLabel">Returns:</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 id="getFamily()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getFamily</h4>
<pre class="methodSignature">public&nbsp;<a href="RelDataTypeFamily.html" title="interface in org.apache.calcite.rel.type">RelDataTypeFamily</a>&nbsp;getFamily()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="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">Specified by:</span></dt>
<dd><code><a href="RelDataType.html#getFamily()">getFamily</a></code>&nbsp;in interface&nbsp;<code><a href="RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="RelDataTypeImpl.html#getFamily()">getFamily</a></code>&nbsp;in class&nbsp;<code><a href="RelDataTypeImpl.html" title="class in org.apache.calcite.rel.type">RelDataTypeImpl</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>canonical object representing type family</dd>
</dl>
</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/DynamicRecordTypeImpl.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>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><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>