blob: 2a95889efac6b8bde9f2f69fe2098cec8646c7a3 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>SqlTypeName (Apache Calcite 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 calcite API)";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":9,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":9,"i16":10,"i17":10,"i18":10,"i19":9,"i20":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="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 class="aboutLanguage"><b>Apache Calcite</b></div>
</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><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Enum</a>&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><a href="https://docs.oracle.com/javase/9/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a></code>, <code><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a>&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 <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang" class="externalLink">Enum</a>&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><a href="https://docs.oracle.com/javase/9/docs/api/java/sql/Types.html?is-external=true" title="class or interface in java.sql" class="externalLink"><code>Types</code></a> 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>
</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 <a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&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 <a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&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 <a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&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 <a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&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 <a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&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 <a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&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 <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a>&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 <a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&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>static <a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&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="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&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="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a>&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="rowColor">
<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="altColor">
<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="rowColor">
<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="altColor">
<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="rowColor">
<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="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&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="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&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="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a>&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>
<!-- ========== 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><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;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&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="i6" 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="#get(java.lang.String)">get</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name)</code></th>
<td class="colLast">
<div class="block">Looks up a type name from its name.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<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">
<div class="block">Returns the default scale for this type if supported, otherwise -1 if
scale is either unsupported or must be specified explicitly.</div>
</td>
</tr>
<tr id="i8" 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="#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="i9" class="rowColor">
<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="i10" class="altColor">
<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">
<div class="block">Returns the ordinal from <a href="https://docs.oracle.com/javase/9/docs/api/java/sql/Types.html?is-external=true" title="class or interface in java.sql" class="externalLink"><code>Types</code></a> corresponding to this
SqlTypeName.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></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="i12" class="altColor">
<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="i13" class="rowColor">
<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="i14" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getName()">getName</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the name of this type.</div>
</td>
</tr>
<tr id="i15" 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="#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="i16" 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="i17" 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="i18" 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="i19" 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;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&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="i20" 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.<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang" class="externalLink">Enum</a></h3>
<code><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Enum.html?is-external=true#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Enum.html?is-external=true#compareTo(E)" title="class or interface in java.lang" class="externalLink">compareTo</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Enum.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Enum.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Enum.html?is-external=true#getDeclaringClass()" title="class or interface in java.lang" class="externalLink">getDeclaringClass</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Enum.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Enum.html?is-external=true#name()" title="class or interface in java.lang" class="externalLink">name</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Enum.html?is-external=true#ordinal()" title="class or interface in java.lang" class="externalLink">ordinal</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Enum.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Enum.html?is-external=true#valueOf(java.lang.Class,java.lang.String)" title="class or interface in java.lang" class="externalLink">valueOf</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.<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></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="ALL_TYPES">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ALL_TYPES</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&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;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&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;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&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;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&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;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&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;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&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;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&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;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&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;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&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;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&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;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&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;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a>&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;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a>&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="blockListLast">
<li class="blockList">
<h4>INTERVAL_TYPES</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a>&lt;<a href="SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&gt; INTERVAL_TYPES</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;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&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><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IllegalArgumentException</a></code> - if this enum type has no constant with the specified name</dd>
<dd><code><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang" class="externalLink">NullPointerException</a></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;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&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>
<div class="block">Returns the ordinal from <a href="https://docs.oracle.com/javase/9/docs/api/java/sql/Types.html?is-external=true" title="class or interface in java.sql" class="externalLink"><code>Types</code></a> corresponding to this
SqlTypeName.</div>
</li>
</ul>
<a id="getDefaultScale()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDefaultScale</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;getDefaultScale()</pre>
<div class="block">Returns the default scale for this type if supported, otherwise -1 if
scale is either unsupported or must be specified explicitly.</div>
</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;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&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="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;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&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;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;getName()</pre>
<div class="block">Returns the name of this type.</div>
</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="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 class="aboutLanguage"><b>Apache Calcite</b></div>
</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 &copy; 2012-2020 Apache Software Foundation. All Rights Reserved.</small></p>
</footer>
</body>
</html>