blob: 005386022ff8f3e26f98a6f5accde38cdd197afb [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>SqlTypeName (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="SqlTypeName (Apache Calcite API)";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":9,"i6":10,"i7":9,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":9,"i17":10,"i18":10,"i19":10,"i20":10,"i21":9,"i22":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/SqlTypeName.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#enum.constant.summary">Enum Constants</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#enum.constant.detail">Enum Constants</a>&nbsp;|&nbsp;</li>
<li><a href="#field.detail">Field</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.sql.type</a></div>
<h2 title="Enum SqlTypeName" class="title">Enum SqlTypeName</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>java.lang.Enum&lt;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt;</li>
<li>
<ul class="inheritance">
<li>org.apache.calcite.sql.type.SqlTypeName</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code>java.io.Serializable</code>, <code>java.lang.Comparable&lt;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt;</code></dd>
</dl>
<hr>
<pre>public enum <span class="typeNameLabel">SqlTypeName</span>
extends java.lang.Enum&lt;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt;</pre>
<div class="block">Enumeration of the type names which can be used to construct a SQL type.
Rationale for this class's existence (instead of just using the standard
java.sql.Type ordinals):
<ul>
<li><code>Types</code> does not include all SQL2003 data-types;
<li>SqlTypeName provides a type-safe enumeration;
<li>SqlTypeName provides a place to hang extra information such as whether
the type carries precision and scale.
</ul></div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="SqlTypeName.Limit.html" title="enum in org.apache.calcite.sql.type">SqlTypeName.Limit</a></span></code></th>
<td class="colLast">
<div class="block">Limit.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private static interface&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="SqlTypeName.PrecScale.html" title="interface in org.apache.calcite.sql.type">SqlTypeName.PrecScale</a></span></code></th>
<td class="colLast">
<div class="block">Flags indicating precision/scale combinations.</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="enum.constant.summary">
<!-- -->
</a>
<h3>Enum Constant Summary</h3>
<table class="memberSummary">
<caption><span>Enum Constants</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Enum Constant</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#ANY">ANY</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#ARRAY">ARRAY</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#BIGINT">BIGINT</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#BINARY">BINARY</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#BOOLEAN">BOOLEAN</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#CHAR">CHAR</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#COLUMN_LIST">COLUMN_LIST</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#CURSOR">CURSOR</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#DATE">DATE</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#DECIMAL">DECIMAL</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#DISTINCT">DISTINCT</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#DOUBLE">DOUBLE</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#DYNAMIC_STAR">DYNAMIC_STAR</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#FLOAT">FLOAT</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#GEOMETRY">GEOMETRY</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#INTEGER">INTEGER</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#INTERVAL_DAY">INTERVAL_DAY</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#INTERVAL_DAY_HOUR">INTERVAL_DAY_HOUR</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#INTERVAL_DAY_MINUTE">INTERVAL_DAY_MINUTE</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#INTERVAL_DAY_SECOND">INTERVAL_DAY_SECOND</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#INTERVAL_HOUR">INTERVAL_HOUR</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#INTERVAL_HOUR_MINUTE">INTERVAL_HOUR_MINUTE</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#INTERVAL_HOUR_SECOND">INTERVAL_HOUR_SECOND</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#INTERVAL_MINUTE">INTERVAL_MINUTE</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#INTERVAL_MINUTE_SECOND">INTERVAL_MINUTE_SECOND</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#INTERVAL_MONTH">INTERVAL_MONTH</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#INTERVAL_SECOND">INTERVAL_SECOND</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#INTERVAL_YEAR">INTERVAL_YEAR</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#INTERVAL_YEAR_MONTH">INTERVAL_YEAR_MONTH</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#MAP">MAP</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#MULTISET">MULTISET</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#NULL">NULL</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#OTHER">OTHER</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#REAL">REAL</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#ROW">ROW</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#SMALLINT">SMALLINT</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#STRUCTURED">STRUCTURED</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#SYMBOL">SYMBOL</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#TIME">TIME</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#TIME_WITH_LOCAL_TIME_ZONE">TIME_WITH_LOCAL_TIME_ZONE</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#TIMESTAMP">TIMESTAMP</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#TIMESTAMP_WITH_LOCAL_TIME_ZONE">TIMESTAMP_WITH_LOCAL_TIME_ZONE</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#TINYINT">TINYINT</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#VARBINARY">VARBINARY</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#VARCHAR">VARCHAR</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- =========== FIELD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Field</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.util.List&lt;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ALL_TYPES">ALL_TYPES</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.util.List&lt;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#APPROX_TYPES">APPROX_TYPES</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.util.List&lt;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#BINARY_TYPES">BINARY_TYPES</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.util.List&lt;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#BOOLEAN_TYPES">BOOLEAN_TYPES</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.util.List&lt;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#CHAR_TYPES">CHAR_TYPES</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.util.List&lt;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DATETIME_TYPES">DATETIME_TYPES</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.util.Set&lt;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DAY_INTERVAL_TYPES">DAY_INTERVAL_TYPES</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DEFAULT_INTERVAL_FRACTIONAL_SECOND_PRECISION">DEFAULT_INTERVAL_FRACTIONAL_SECOND_PRECISION</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DEFAULT_INTERVAL_START_PRECISION">DEFAULT_INTERVAL_START_PRECISION</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.util.List&lt;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#EXACT_TYPES">EXACT_TYPES</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="SqlTypeFamily.html" title="enum in org.apache.calcite.sql.type">SqlTypeFamily</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#family">family</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.util.List&lt;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#FRACTIONAL_TYPES">FRACTIONAL_TYPES</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.util.List&lt;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#INT_TYPES">INT_TYPES</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.util.Set&lt;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#INTERVAL_TYPES">INTERVAL_TYPES</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private static java.util.Map&lt;java.lang.Integer,&#8203;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#JDBC_TYPE_TO_NAME">JDBC_TYPE_TO_NAME</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#jdbcOrdinal">jdbcOrdinal</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MAX_DATETIME_PRECISION">MAX_DATETIME_PRECISION</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MAX_INTERVAL_FRACTIONAL_SECOND_PRECISION">MAX_INTERVAL_FRACTIONAL_SECOND_PRECISION</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MAX_INTERVAL_START_PRECISION">MAX_INTERVAL_START_PRECISION</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MIN_INTERVAL_FRACTIONAL_SECOND_PRECISION">MIN_INTERVAL_FRACTIONAL_SECOND_PRECISION</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MIN_INTERVAL_START_PRECISION">MIN_INTERVAL_START_PRECISION</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.util.List&lt;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#NUMERIC_TYPES">NUMERIC_TYPES</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#signatures">signatures</a></span></code></th>
<td class="colLast">
<div class="block">Bitwise-or of flags indicating allowable precision/scale combinations.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#special">special</a></span></code></th>
<td class="colLast">
<div class="block">Returns true if not of a "pure" standard sql type.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.util.List&lt;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#STRING_TYPES">STRING_TYPES</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private static java.util.Map&lt;java.lang.String,&#8203;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#VALUES_MAP">VALUES_MAP</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.util.Set&lt;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#YEAR_INTERVAL_TYPES">YEAR_INTERVAL_TYPES</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
</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">Modifier</th>
<th class="colSecond" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private </code></td>
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(int,boolean,int,org.apache.calcite.sql.type.SqlTypeFamily)">SqlTypeName</a></span>&#8203;(int&nbsp;signatures,
boolean&nbsp;special,
int&nbsp;jdbcType,
<a href="SqlTypeFamily.html" title="enum in org.apache.calcite.sql.type">SqlTypeFamily</a>&nbsp;family)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#allowsNoPrecNoScale()">allowsNoPrecNoScale</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#allowsPrec()">allowsPrec</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#allowsPrecNoScale()">allowsPrecNoScale</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#allowsPrecScale(boolean,boolean)">allowsPrecScale</a></span>&#8203;(boolean&nbsp;precision,
boolean&nbsp;scale)</code></th>
<td class="colLast">
<div class="block">Returns whether this type can be specified with a given combination of
precision and scale.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#allowsScale()">allowsScale</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>private static java.util.List&lt;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#combine(java.util.List,java.util.List)">combine</a></span>&#8203;(java.util.List&lt;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt;&nbsp;list0,
java.util.List&lt;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt;&nbsp;list1)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../SqlLiteral.html" title="class in org.apache.calcite.sql">SqlLiteral</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createLiteral(java.lang.Object,org.apache.calcite.sql.parser.SqlParserPos)">createLiteral</a></span>&#8203;(java.lang.Object&nbsp;o,
<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&nbsp;pos)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>static <a href="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="#get(java.lang.String)">get</a></span>&#8203;(java.lang.String&nbsp;name)</code></th>
<td class="colLast">
<div class="block">Looks up a type name from its name.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDefaultScale()">getDefaultScale</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>org.apache.calcite.avatica.util.TimeUnit</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEndUnit()">getEndUnit</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns <code>SECOND</code> for both <code>HOUR TO SECOND</code> and
<code>SECOND</code>.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="SqlTypeFamily.html" title="enum in org.apache.calcite.sql.type">SqlTypeFamily</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 the SqlTypeFamily containing this SqlTypeName.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getJdbcOrdinal()">getJdbcOrdinal</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>java.lang.Object</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLimit(boolean,org.apache.calcite.sql.type.SqlTypeName.Limit,boolean,int,int)">getLimit</a></span>&#8203;(boolean&nbsp;sign,
<a href="SqlTypeName.Limit.html" title="enum in org.apache.calcite.sql.type">SqlTypeName.Limit</a>&nbsp;limit,
boolean&nbsp;beyond,
int&nbsp;precision,
int&nbsp;scale)</code></th>
<td class="colLast">
<div class="block">Returns the limit of this datatype.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMinPrecision()">getMinPrecision</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the minimum precision (or length) allowed for this type, or -1 if
precision/length are not applicable for this type.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMinScale()">getMinScale</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the minimum scale (or fractional second precision in the case of
intervals) allowed for this type, or -1 if precision/length are not
applicable for this type.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getName()">getName</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>static <a href="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="#getNameForJdbcType(int)">getNameForJdbcType</a></span>&#8203;(int&nbsp;jdbcType)</code></th>
<td class="colLast">
<div class="block">Gets the SqlTypeName corresponding to a JDBC type.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>private java.math.BigDecimal</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getNumericLimit(int,int,boolean,org.apache.calcite.sql.type.SqlTypeName.Limit,boolean)">getNumericLimit</a></span>&#8203;(int&nbsp;radix,
int&nbsp;exponent,
boolean&nbsp;sign,
<a href="SqlTypeName.Limit.html" title="enum in org.apache.calcite.sql.type">SqlTypeName.Limit</a>&nbsp;limit,
boolean&nbsp;beyond)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>org.apache.calcite.avatica.util.TimeUnit</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getStartUnit()">getStartUnit</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns <code>HOUR</code> for <code>HOUR TO SECOND</code> and
<code>HOUR</code>, <code>SECOND</code> for <code>SECOND</code>.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isSpecial()">isSpecial</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isYearMonth()">isYearMonth</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>static <a href="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="#valueOf(java.lang.String)">valueOf</a></span>&#8203;(java.lang.String&nbsp;name)</code></th>
<td class="colLast">
<div class="block">Returns the enum constant of this type with the specified name.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>static <a href="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="#values()">values</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Enum">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Enum</h3>
<code>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf</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>getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ ENUM CONSTANT DETAIL =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="enum.constant.detail">
<!-- -->
</a>
<h3>Enum Constant Detail</h3>
<a id="BOOLEAN">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>BOOLEAN</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> BOOLEAN</pre>
</li>
</ul>
<a id="TINYINT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TINYINT</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> TINYINT</pre>
</li>
</ul>
<a id="SMALLINT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SMALLINT</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> SMALLINT</pre>
</li>
</ul>
<a id="INTEGER">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>INTEGER</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> INTEGER</pre>
</li>
</ul>
<a id="BIGINT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>BIGINT</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> BIGINT</pre>
</li>
</ul>
<a id="DECIMAL">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DECIMAL</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> DECIMAL</pre>
</li>
</ul>
<a id="FLOAT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FLOAT</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> FLOAT</pre>
</li>
</ul>
<a id="REAL">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>REAL</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> REAL</pre>
</li>
</ul>
<a id="DOUBLE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DOUBLE</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> DOUBLE</pre>
</li>
</ul>
<a id="DATE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DATE</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> DATE</pre>
</li>
</ul>
<a id="TIME">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TIME</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> TIME</pre>
</li>
</ul>
<a id="TIME_WITH_LOCAL_TIME_ZONE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TIME_WITH_LOCAL_TIME_ZONE</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> TIME_WITH_LOCAL_TIME_ZONE</pre>
</li>
</ul>
<a id="TIMESTAMP">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TIMESTAMP</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> TIMESTAMP</pre>
</li>
</ul>
<a id="TIMESTAMP_WITH_LOCAL_TIME_ZONE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TIMESTAMP_WITH_LOCAL_TIME_ZONE</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> TIMESTAMP_WITH_LOCAL_TIME_ZONE</pre>
</li>
</ul>
<a id="INTERVAL_YEAR">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>INTERVAL_YEAR</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> INTERVAL_YEAR</pre>
</li>
</ul>
<a id="INTERVAL_YEAR_MONTH">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>INTERVAL_YEAR_MONTH</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> INTERVAL_YEAR_MONTH</pre>
</li>
</ul>
<a id="INTERVAL_MONTH">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>INTERVAL_MONTH</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> INTERVAL_MONTH</pre>
</li>
</ul>
<a id="INTERVAL_DAY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>INTERVAL_DAY</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> INTERVAL_DAY</pre>
</li>
</ul>
<a id="INTERVAL_DAY_HOUR">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>INTERVAL_DAY_HOUR</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> INTERVAL_DAY_HOUR</pre>
</li>
</ul>
<a id="INTERVAL_DAY_MINUTE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>INTERVAL_DAY_MINUTE</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> INTERVAL_DAY_MINUTE</pre>
</li>
</ul>
<a id="INTERVAL_DAY_SECOND">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>INTERVAL_DAY_SECOND</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> INTERVAL_DAY_SECOND</pre>
</li>
</ul>
<a id="INTERVAL_HOUR">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>INTERVAL_HOUR</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> INTERVAL_HOUR</pre>
</li>
</ul>
<a id="INTERVAL_HOUR_MINUTE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>INTERVAL_HOUR_MINUTE</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> INTERVAL_HOUR_MINUTE</pre>
</li>
</ul>
<a id="INTERVAL_HOUR_SECOND">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>INTERVAL_HOUR_SECOND</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> INTERVAL_HOUR_SECOND</pre>
</li>
</ul>
<a id="INTERVAL_MINUTE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>INTERVAL_MINUTE</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> INTERVAL_MINUTE</pre>
</li>
</ul>
<a id="INTERVAL_MINUTE_SECOND">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>INTERVAL_MINUTE_SECOND</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> INTERVAL_MINUTE_SECOND</pre>
</li>
</ul>
<a id="INTERVAL_SECOND">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>INTERVAL_SECOND</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> INTERVAL_SECOND</pre>
</li>
</ul>
<a id="CHAR">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CHAR</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> CHAR</pre>
</li>
</ul>
<a id="VARCHAR">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>VARCHAR</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> VARCHAR</pre>
</li>
</ul>
<a id="BINARY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>BINARY</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> BINARY</pre>
</li>
</ul>
<a id="VARBINARY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>VARBINARY</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> VARBINARY</pre>
</li>
</ul>
<a id="NULL">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>NULL</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> NULL</pre>
</li>
</ul>
<a id="ANY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ANY</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> ANY</pre>
</li>
</ul>
<a id="SYMBOL">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SYMBOL</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> SYMBOL</pre>
</li>
</ul>
<a id="MULTISET">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MULTISET</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> MULTISET</pre>
</li>
</ul>
<a id="ARRAY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ARRAY</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> ARRAY</pre>
</li>
</ul>
<a id="MAP">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MAP</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> MAP</pre>
</li>
</ul>
<a id="DISTINCT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DISTINCT</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> DISTINCT</pre>
</li>
</ul>
<a id="STRUCTURED">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>STRUCTURED</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> STRUCTURED</pre>
</li>
</ul>
<a id="ROW">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ROW</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> ROW</pre>
</li>
</ul>
<a id="OTHER">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>OTHER</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> OTHER</pre>
</li>
</ul>
<a id="CURSOR">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CURSOR</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> CURSOR</pre>
</li>
</ul>
<a id="COLUMN_LIST">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>COLUMN_LIST</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> COLUMN_LIST</pre>
</li>
</ul>
<a id="DYNAMIC_STAR">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DYNAMIC_STAR</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> DYNAMIC_STAR</pre>
</li>
</ul>
<a id="GEOMETRY">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>GEOMETRY</h4>
<pre>public static final&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a> GEOMETRY</pre>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ FIELD DETAIL =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a id="MAX_DATETIME_PRECISION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MAX_DATETIME_PRECISION</h4>
<pre>public static final&nbsp;int MAX_DATETIME_PRECISION</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.calcite.sql.type.SqlTypeName.MAX_DATETIME_PRECISION">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="DEFAULT_INTERVAL_START_PRECISION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_INTERVAL_START_PRECISION</h4>
<pre>public static final&nbsp;int DEFAULT_INTERVAL_START_PRECISION</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.calcite.sql.type.SqlTypeName.DEFAULT_INTERVAL_START_PRECISION">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="DEFAULT_INTERVAL_FRACTIONAL_SECOND_PRECISION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_INTERVAL_FRACTIONAL_SECOND_PRECISION</h4>
<pre>public static final&nbsp;int DEFAULT_INTERVAL_FRACTIONAL_SECOND_PRECISION</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.calcite.sql.type.SqlTypeName.DEFAULT_INTERVAL_FRACTIONAL_SECOND_PRECISION">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="MIN_INTERVAL_START_PRECISION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MIN_INTERVAL_START_PRECISION</h4>
<pre>public static final&nbsp;int MIN_INTERVAL_START_PRECISION</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.calcite.sql.type.SqlTypeName.MIN_INTERVAL_START_PRECISION">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="MIN_INTERVAL_FRACTIONAL_SECOND_PRECISION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MIN_INTERVAL_FRACTIONAL_SECOND_PRECISION</h4>
<pre>public static final&nbsp;int MIN_INTERVAL_FRACTIONAL_SECOND_PRECISION</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.calcite.sql.type.SqlTypeName.MIN_INTERVAL_FRACTIONAL_SECOND_PRECISION">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="MAX_INTERVAL_START_PRECISION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MAX_INTERVAL_START_PRECISION</h4>
<pre>public static final&nbsp;int MAX_INTERVAL_START_PRECISION</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.calcite.sql.type.SqlTypeName.MAX_INTERVAL_START_PRECISION">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="MAX_INTERVAL_FRACTIONAL_SECOND_PRECISION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MAX_INTERVAL_FRACTIONAL_SECOND_PRECISION</h4>
<pre>public static final&nbsp;int MAX_INTERVAL_FRACTIONAL_SECOND_PRECISION</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.calcite.sql.type.SqlTypeName.MAX_INTERVAL_FRACTIONAL_SECOND_PRECISION">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="VALUES_MAP">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>VALUES_MAP</h4>
<pre>private static final&nbsp;java.util.Map&lt;java.lang.String,&#8203;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt; VALUES_MAP</pre>
</li>
</ul>
<a id="ALL_TYPES">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ALL_TYPES</h4>
<pre>public static final&nbsp;java.util.List&lt;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt; ALL_TYPES</pre>
</li>
</ul>
<a id="BOOLEAN_TYPES">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>BOOLEAN_TYPES</h4>
<pre>public static final&nbsp;java.util.List&lt;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt; BOOLEAN_TYPES</pre>
</li>
</ul>
<a id="BINARY_TYPES">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>BINARY_TYPES</h4>
<pre>public static final&nbsp;java.util.List&lt;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt; BINARY_TYPES</pre>
</li>
</ul>
<a id="INT_TYPES">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>INT_TYPES</h4>
<pre>public static final&nbsp;java.util.List&lt;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt; INT_TYPES</pre>
</li>
</ul>
<a id="EXACT_TYPES">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>EXACT_TYPES</h4>
<pre>public static final&nbsp;java.util.List&lt;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt; EXACT_TYPES</pre>
</li>
</ul>
<a id="APPROX_TYPES">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>APPROX_TYPES</h4>
<pre>public static final&nbsp;java.util.List&lt;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt; APPROX_TYPES</pre>
</li>
</ul>
<a id="NUMERIC_TYPES">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>NUMERIC_TYPES</h4>
<pre>public static final&nbsp;java.util.List&lt;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt; NUMERIC_TYPES</pre>
</li>
</ul>
<a id="FRACTIONAL_TYPES">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FRACTIONAL_TYPES</h4>
<pre>public static final&nbsp;java.util.List&lt;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt; FRACTIONAL_TYPES</pre>
</li>
</ul>
<a id="CHAR_TYPES">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CHAR_TYPES</h4>
<pre>public static final&nbsp;java.util.List&lt;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt; CHAR_TYPES</pre>
</li>
</ul>
<a id="STRING_TYPES">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>STRING_TYPES</h4>
<pre>public static final&nbsp;java.util.List&lt;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt; STRING_TYPES</pre>
</li>
</ul>
<a id="DATETIME_TYPES">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DATETIME_TYPES</h4>
<pre>public static final&nbsp;java.util.List&lt;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt; DATETIME_TYPES</pre>
</li>
</ul>
<a id="YEAR_INTERVAL_TYPES">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>YEAR_INTERVAL_TYPES</h4>
<pre>public static final&nbsp;java.util.Set&lt;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt; YEAR_INTERVAL_TYPES</pre>
</li>
</ul>
<a id="DAY_INTERVAL_TYPES">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DAY_INTERVAL_TYPES</h4>
<pre>public static final&nbsp;java.util.Set&lt;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt; DAY_INTERVAL_TYPES</pre>
</li>
</ul>
<a id="INTERVAL_TYPES">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>INTERVAL_TYPES</h4>
<pre>public static final&nbsp;java.util.Set&lt;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt; INTERVAL_TYPES</pre>
</li>
</ul>
<a id="JDBC_TYPE_TO_NAME">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>JDBC_TYPE_TO_NAME</h4>
<pre>private static final&nbsp;java.util.Map&lt;java.lang.Integer,&#8203;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt; JDBC_TYPE_TO_NAME</pre>
</li>
</ul>
<a id="signatures">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>signatures</h4>
<pre>private final&nbsp;int signatures</pre>
<div class="block">Bitwise-or of flags indicating allowable precision/scale combinations.</div>
</li>
</ul>
<a id="special">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>special</h4>
<pre>private final&nbsp;boolean special</pre>
<div class="block">Returns true if not of a "pure" standard sql type. "Inpure" types are
<a href="#ANY"><code>ANY</code></a>, <a href="#NULL"><code>NULL</code></a> and <a href="#SYMBOL"><code>SYMBOL</code></a></div>
</li>
</ul>
<a id="jdbcOrdinal">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>jdbcOrdinal</h4>
<pre>private final&nbsp;int jdbcOrdinal</pre>
</li>
</ul>
<a id="family">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>family</h4>
<pre>private final&nbsp;<a href="SqlTypeFamily.html" title="enum in org.apache.calcite.sql.type">SqlTypeFamily</a> family</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;(int,boolean,int,org.apache.calcite.sql.type.SqlTypeFamily)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>SqlTypeName</h4>
<pre>private&nbsp;SqlTypeName&#8203;(int&nbsp;signatures,
boolean&nbsp;special,
int&nbsp;jdbcType,
<a href="SqlTypeFamily.html" title="enum in org.apache.calcite.sql.type">SqlTypeFamily</a>&nbsp;family)</pre>
</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="values()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>values</h4>
<pre class="methodSignature">public static&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>[]&nbsp;values()</pre>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
<pre>
for (SqlTypeName c : SqlTypeName.values())
&nbsp; System.out.println(c);
</pre></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an array containing the constants of this enum type, in the order they are declared</dd>
</dl>
</li>
</ul>
<a id="valueOf(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>valueOf</h4>
<pre class="methodSignature">public static&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&nbsp;valueOf&#8203;(java.lang.String&nbsp;name)</pre>
<div class="block">Returns the enum constant of this type with the specified name.
The string must match <i>exactly</i> an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - the name of the enum constant to be returned.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the enum constant with the specified name</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - if this enum type has no constant with the specified name</dd>
<dd><code>java.lang.NullPointerException</code> - if the argument is null</dd>
</dl>
</li>
</ul>
<a id="get(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre class="methodSignature">public static&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&nbsp;get&#8203;(java.lang.String&nbsp;name)</pre>
<div class="block">Looks up a type name from its name.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Type name, or null if not found</dd>
</dl>
</li>
</ul>
<a id="allowsNoPrecNoScale()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>allowsNoPrecNoScale</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;allowsNoPrecNoScale()</pre>
</li>
</ul>
<a id="allowsPrecNoScale()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>allowsPrecNoScale</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;allowsPrecNoScale()</pre>
</li>
</ul>
<a id="allowsPrec()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>allowsPrec</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;allowsPrec()</pre>
</li>
</ul>
<a id="allowsScale()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>allowsScale</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;allowsScale()</pre>
</li>
</ul>
<a id="allowsPrecScale(boolean,boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>allowsPrecScale</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;allowsPrecScale&#8203;(boolean&nbsp;precision,
boolean&nbsp;scale)</pre>
<div class="block">Returns whether this type can be specified with a given combination of
precision and scale. For example,
<ul>
<li><code>Varchar.allowsPrecScale(true, false)</code> returns <code>
true</code>, because the VARCHAR type allows a precision parameter, as in
<code>VARCHAR(10)</code>.</li>
<li><code>Varchar.allowsPrecScale(true, true)</code> returns <code>
true</code>, because the VARCHAR type does not allow a precision and a
scale parameter, as in <code>VARCHAR(10, 4)</code>.</li>
<li><code>allowsPrecScale(false, true)</code> returns <code>false</code>
for every type.</li>
</ul></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>precision</code> - Whether the precision/length field is part of the type
specification</dd>
<dd><code>scale</code> - Whether the scale field is part of the type specification</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Whether this combination of precision/scale is valid</dd>
</dl>
</li>
</ul>
<a id="isSpecial()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSpecial</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;isSpecial()</pre>
</li>
</ul>
<a id="getJdbcOrdinal()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getJdbcOrdinal</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;getJdbcOrdinal()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the ordinal from <code>Types</code> corresponding to this
SqlTypeName</dd>
</dl>
</li>
</ul>
<a id="combine(java.util.List,java.util.List)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>combine</h4>
<pre class="methodSignature">private static&nbsp;java.util.List&lt;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt;&nbsp;combine&#8203;(java.util.List&lt;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt;&nbsp;list0,
java.util.List&lt;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt;&nbsp;list1)</pre>
</li>
</ul>
<a id="getDefaultScale()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDefaultScale</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;getDefaultScale()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>default scale for this type if supported, otherwise -1 if scale
is either unsupported or must be specified explicitly</dd>
</dl>
</li>
</ul>
<a id="getFamily()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFamily</h4>
<pre class="methodSignature">public&nbsp;<a href="SqlTypeFamily.html" title="enum in org.apache.calcite.sql.type">SqlTypeFamily</a>&nbsp;getFamily()</pre>
<div class="block">Gets the SqlTypeFamily containing this SqlTypeName.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>containing family, or null for none</dd>
</dl>
</li>
</ul>
<a id="getNameForJdbcType(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNameForJdbcType</h4>
<pre class="methodSignature">public static&nbsp;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&nbsp;getNameForJdbcType&#8203;(int&nbsp;jdbcType)</pre>
<div class="block">Gets the SqlTypeName corresponding to a JDBC type.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>jdbcType</code> - the JDBC type of interest</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>corresponding SqlTypeName, or null if the type is not known</dd>
</dl>
</li>
</ul>
<a id="getLimit(boolean,org.apache.calcite.sql.type.SqlTypeName.Limit,boolean,int,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLimit</h4>
<pre class="methodSignature">public&nbsp;java.lang.Object&nbsp;getLimit&#8203;(boolean&nbsp;sign,
<a href="SqlTypeName.Limit.html" title="enum in org.apache.calcite.sql.type">SqlTypeName.Limit</a>&nbsp;limit,
boolean&nbsp;beyond,
int&nbsp;precision,
int&nbsp;scale)</pre>
<div class="block">Returns the limit of this datatype. For example,
<table border="1">
<caption>Datatype limits</caption>
<tr>
<th>Datatype</th>
<th>sign</th>
<th>limit</th>
<th>beyond</th>
<th>precision</th>
<th>scale</th>
<th>Returns</th>
</tr>
<tr>
<td>Integer</td>
<td>true</td>
<td>true</td>
<td>false</td>
<td>-1</td>
<td>-1</td>
<td>2147483647 (2 ^ 31 -1 = MAXINT)</td>
</tr>
<tr>
<td>Integer</td>
<td>true</td>
<td>true</td>
<td>true</td>
<td>-1</td>
<td>-1</td>
<td>2147483648 (2 ^ 31 = MAXINT + 1)</td>
</tr>
<tr>
<td>Integer</td>
<td>false</td>
<td>true</td>
<td>false</td>
<td>-1</td>
<td>-1</td>
<td>-2147483648 (-2 ^ 31 = MININT)</td>
</tr>
<tr>
<td>Boolean</td>
<td>true</td>
<td>true</td>
<td>false</td>
<td>-1</td>
<td>-1</td>
<td>TRUE</td>
</tr>
<tr>
<td>Varchar</td>
<td>true</td>
<td>true</td>
<td>false</td>
<td>10</td>
<td>-1</td>
<td>'ZZZZZZZZZZ'</td>
</tr>
</table></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>sign</code> - If true, returns upper limit, otherwise lower limit</dd>
<dd><code>limit</code> - If true, returns value at or near to overflow; otherwise
value at or near to underflow</dd>
<dd><code>beyond</code> - If true, returns the value just beyond the limit,
otherwise the value at the limit</dd>
<dd><code>precision</code> - Precision, or -1 if not applicable</dd>
<dd><code>scale</code> - Scale, or -1 if not applicable</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Limit value</dd>
</dl>
</li>
</ul>
<a id="getMinPrecision()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMinPrecision</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;getMinPrecision()</pre>
<div class="block">Returns the minimum precision (or length) allowed for this type, or -1 if
precision/length are not applicable for this type.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Minimum allowed precision</dd>
</dl>
</li>
</ul>
<a id="getMinScale()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMinScale</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;getMinScale()</pre>
<div class="block">Returns the minimum scale (or fractional second precision in the case of
intervals) allowed for this type, or -1 if precision/length are not
applicable for this type.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Minimum allowed scale</dd>
</dl>
</li>
</ul>
<a id="getStartUnit()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStartUnit</h4>
<pre class="methodSignature">public&nbsp;org.apache.calcite.avatica.util.TimeUnit&nbsp;getStartUnit()</pre>
<div class="block">Returns <code>HOUR</code> for <code>HOUR TO SECOND</code> and
<code>HOUR</code>, <code>SECOND</code> for <code>SECOND</code>.</div>
</li>
</ul>
<a id="getEndUnit()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEndUnit</h4>
<pre class="methodSignature">public&nbsp;org.apache.calcite.avatica.util.TimeUnit&nbsp;getEndUnit()</pre>
<div class="block">Returns <code>SECOND</code> for both <code>HOUR TO SECOND</code> and
<code>SECOND</code>.</div>
</li>
</ul>
<a id="isYearMonth()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isYearMonth</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;isYearMonth()</pre>
</li>
</ul>
<a id="getNumericLimit(int,int,boolean,org.apache.calcite.sql.type.SqlTypeName.Limit,boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNumericLimit</h4>
<pre class="methodSignature">private&nbsp;java.math.BigDecimal&nbsp;getNumericLimit&#8203;(int&nbsp;radix,
int&nbsp;exponent,
boolean&nbsp;sign,
<a href="SqlTypeName.Limit.html" title="enum in org.apache.calcite.sql.type">SqlTypeName.Limit</a>&nbsp;limit,
boolean&nbsp;beyond)</pre>
</li>
</ul>
<a id="createLiteral(java.lang.Object,org.apache.calcite.sql.parser.SqlParserPos)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createLiteral</h4>
<pre class="methodSignature">public&nbsp;<a href="../SqlLiteral.html" title="class in org.apache.calcite.sql">SqlLiteral</a>&nbsp;createLiteral&#8203;(java.lang.Object&nbsp;o,
<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&nbsp;pos)</pre>
</li>
</ul>
<a id="getName()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getName</h4>
<pre class="methodSignature">public&nbsp;java.lang.String&nbsp;getName()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>name of this type</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/SqlTypeName.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#enum.constant.summary">Enum Constants</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#enum.constant.detail">Enum Constants</a>&nbsp;|&nbsp;</li>
<li><a href="#field.detail">Field</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>