blob: 83030dc4968ea86775e6bf646006d8b46ad5052e [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>SqlType (Apache Calcite Avatica 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="SqlType (Apache Calcite Avatica API)";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":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/SqlType.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.avatica</a></div>
<h2 title="Enum SqlType" class="title">Enum SqlType</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>java.lang.Enum&lt;<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a>&gt;</li>
<li>
<ul class="inheritance">
<li>org.apache.calcite.avatica.SqlType</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="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a>&gt;</code></dd>
</dl>
<hr>
<pre>public enum <span class="typeNameLabel">SqlType</span>
extends java.lang.Enum&lt;<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a>&gt;</pre>
<div class="block">Extends the information in <code>Types</code>.
<p>The information in the following conversions tables
(from the JDBC 4.1 specification) is held in members of this class.
<p>Table B-1: JDBC Types Mapped to Java Types
<pre>
JDBC Type Java Type
============= =========================
CHAR String
VARCHAR String
LONGVARCHAR String
NUMERIC java.math.BigDecimal
DECIMAL java.math.BigDecimal
BIT boolean
BOOLEAN boolean
TINYINT byte
SMALLINT short
INTEGER int
BIGINT long
REAL float
FLOAT double
DOUBLE double
BINARY byte[]
VARBINARY byte[]
LONGVARBINARY byte[]
DATE java.sql.Date
TIME java.sql.Time
TIMESTAMP java.sql.Timestamp
CLOB java.sql.Clob
BLOB java.sql.Blob
ARRAY java.sql.Array
DISTINCT mapping of underlying type
STRUCT java.sql.Struct
REF java.sql.Ref
DATALINK java.net.URL
JAVA_OBJECT underlying Java class
ROWID java.sql.RowId
NCHAR String
NVARCHAR String
LONGNVARCHAR String
NCLOB java.sql.NClob
SQLXML java.sql.SQLXML
</pre>
<p>Table B-2: Standard Mapping from Java Types to JDBC Types
<pre>
Java Type JDBC Type
==================== ==============================================
String CHAR, VARCHAR, LONGVARCHAR, NCHAR, NVARCHAR or
LONGNVARCHAR
java.math.BigDecimal NUMERIC
boolean BIT or BOOLEAN
byte TINYINT
short SMALLINT
int INTEGER
long BIGINT
float REAL
double DOUBLE
byte[] BINARY, VARBINARY, or LONGVARBINARY
java.sql.Date DATE
java.sql.Time TIME
java.sql.Timestamp TIMESTAMP
java.sql.Clob CLOB
java.sql.Blob BLOB
java.sql.Array ARRAY
java.sql.Struct STRUCT
java.sql.Ref REF
java.net.URL DATALINK
Java class JAVA_OBJECT
java.sql.RowId ROWID
java.sql.NClob NCLOB
java.sql.SQLXML SQLXML
</pre>
<p>TABLE B-3: Mapping from JDBC Types to Java Object Types
<pre>
JDBC Type Java Object Type
============= ======================
CHAR String
VARCHAR String
LONGVARCHAR String
NUMERIC java.math.BigDecimal
DECIMAL java.math.BigDecimal
BIT Boolean
BOOLEAN Boolean
TINYINT Integer
SMALLINT Integer
INTEGER Integer
BIGINT Long
REAL Float
FLOAT Double
DOUBLE Double
BINARY byte[]
VARBINARY byte[]
LONGVARBINARY byte[]
DATE java.sql.Date
TIME java.sql.Time
TIMESTAMP java.sql.Timestamp
DISTINCT Object type of underlying type
CLOB java.sql.Clob
BLOB java.sql.Blob
ARRAY java.sql.Array
STRUCT java.sql.Struct or java.sql.SQLData
REF java.sql.Ref
DATALINK java.net.URL
JAVA_OBJECT underlying Java class
ROWID java.sql.RowId
NCHAR String
NVARCHAR String
LONGNVARCHAR String
NCLOB java.sql.NClob
SQLXML java.sql.SQLXML
</pre>
<p>TABLE B-4: Mapping from Java Object Types to JDBC Types
<pre>
Java Object Type JDBC Type
==================== ===========================================
String CHAR, VARCHAR, LONGVARCHAR, NCHAR, NVARCHAR
or LONGNVARCHAR
java.math.BigDecimal NUMERIC
Boolean BIT or BOOLEAN
Byte TINYINT
Short SMALLINT
Integer INTEGER
Long BIGINT
Float REAL
Double DOUBLE
byte[] BINARY, VARBINARY, or LONGVARBINARY
java.math.BigInteger BIGINT
java.sql.Date DATE
java.sql.Time TIME
java.sql.Timestamp TIMESTAMP
java.sql.Clob CLOB
java.sql.Blob BLOB
java.sql.Array ARRAY
java.sql.Struct STRUCT
java.sql.Ref REF
java.net.URL DATALINK
Java class JAVA_OBJECT
java.sql.RowId ROWID
java.sql.NClob NCLOB
java.sql.SQLXML SQLXML
java.util.Calendar TIMESTAMP
java.util.Date TIMESTAMP
</pre>
<p><a id="B5">TABLE B-5</a>: Conversions performed by <code>setObject</code> and
<code>setNull</code> between Java object types and target JDBC types
<!--
CHECKSTYLE: OFF
-->
<pre>
T S I B R F D D N B B C V L B V L D T T A B C S R D J R N N L N S
I M N I E L O E U I O H A O I A O A I I R L L T E A A O C V O C Q
N A T G A O U C M T O A R N N R N T M M R O O R F T V W H A N L L
Y L E I L A B I E L R C G A B G E E E A B B U A A I A R G O X
I L G N T L M R E H V R I V E S Y C L _ D R C N B M
N I E T E A I A A A Y N A T T I O H V L
T N R L C N R R A R A N B A A
T C R B M K J R R
H Y I P C
Java type
==================== = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
String x x x x x x x x x x x x x x x x x x x x . . . . . . . . x x x . .
java.math.BigDecimal x x x x x x x x x x x x x . . . . . . . . . . . . . . . . . . . .
Boolean x x x x x x x x x x x x x . . . . . . . . . . . . . . . . . . . .
Byte x x x x x x x x x x x x x . . . . . . . . . . . . . . . . . . . .
Short x x x x x x x x x x x x x . . . . . . . . . . . . . . . . . . . .
Integer x x x x x x x x x x x x x . . . . . . . . . . . . . . . . . . . .
Long x x x x x x x x x x x x x . . . . . . . . . . . . . . . . . . . .
Float x x x x x x x x x x x x x . . . . . . . . . . . . . . . . . . . .
Double x x x x x x x x x x x x x . . . . . . . . . . . . . . . . . . . .
byte[] . . . . . . . . . . . . . . x x x . . . . . . . . . . . . . . . .
java.math.BigInteger . . . x . . . . . . . x x x . . . . . . . . . . . . . . . . . . .
java.sql.Date . . . . . . . . . . . x x x . . . x . x . . . . . . . . . . . . .
java.sql.Time . . . . . . . . . . . x x x . . . . x x . . . . . . . . . . . . .
java.sql.Timestamp . . . . . . . . . . . x x x . . . x x x . . . . . . . . . . . . .
java.sql.Array . . . . . . . . . . . . . . . . . . . . x . . . . . . . . . . . .
java.sql.Blob . . . . . . . . . . . . . . . . . . . . . x . . . . . . . . . . .
java.sql.Clob . . . . . . . . . . . . . . . . . . . . . . x . . . . . . . . . .
java.sql.Struct . . . . . . . . . . . . . . . . . . . . . . . x . . . . . . . . .
java.sql.Ref . . . . . . . . . . . . . . . . . . . . . . . . x . . . . . . . .
java.net.URL . . . . . . . . . . . . . . . . . . . . . . . . . x . . . . . . .
Java class . . . . . . . . . . . . . . . . . . . . . . . . . . x . . . . . .
java.sql.Rowid . . . . . . . . . . . . . . . . . . . . . . . . . . . x . . . . .
java.sql.NClob . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x .
java.sql.SQLXML . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x
java.util.Calendar . . . . . . . . . . . x x x . . . x x x . . . . . . . . . . . . .
java.util.Date . . . . . . . . . . . x x x . . . x x x . . . . . . . . . . . . .
</pre>
<!--
CHECKSTYLE: ON
-->
<p><a id="B6">TABLE B-6</a>: Use of <code>ResultSet</code> getter methods to
retrieve JDBC data types
<!--
CHECKSTYLE: OFF
-->
<pre>
T S I B R F D D N B B C V L B V L D T T C B A R D S J R N N L N S
I M N I E L O E U I O H A O I A O A I I L L R E A T A O C V O C Q
N A T G A O U C M T O A R N N R N T M M O O R F T R V W H A N L L
Y L E I L A B I E L R C G A B G E E E B B A A U A I A R G O X
I L G N T L M R E H V R I V E S Y L C _ D R C N B M
N I E T E A I A A A Y N A T I T O H V L
T N R L C N R R A R A N B A A
T C R B M K J R R
H Y I P C
Java type
==================== = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
getByte X x x x x x x x x x x x x . . . . . . . . . . . . . . x . . . . .
getShort x X x x x x x x x x x x x . . . . . . . . . . . . . . . . . . . .
getInt x x X x x x x x x x x x x . . . . . . . . . . . . . . . . . . . .
getLong x x x X x x x x x x x x x . . . . . . . . . . . . . . . . . . . .
getFloat x x x x X x x x x x x x x . . . . . . . . . . . . . . . . . . . .
getDouble x x x x x X X x x x x x x . . . . . . . . . . . . . . . . . . . .
getBigDecimal x x x x x x x X X x x x x . . . . . . . . . . . . . . . . . . . .
getBoolean x x x x x x x x x X x x x . . . . . . . . . . . . . . . . . . . .
getString x x x x x x x x x x x X X x x x x x x x . . . . x . . . x x x . .
getNString x x x x x x x x x x x x x x x x x x x x . . . . x . . . X X x . .
getBytes . . . . . . . . . . . . . . X X x . . . . . . . . . . . . . . . .
getDate . . . . . . . . . . . x x x . . . X . x . . . . . . . . . . . . .
getTime . . . . . . . . . . . x x x . . . . X x . . . . . . . . . . . . .
getTimestamp . . . . . . . . . . . x x x . . . x x X . . . . . . . . . . . x .
getAsciiStream . . . . . . . . . . . x x X x x x . . . x . . . . . . . . . . . x
getBinaryStream . . . . . . . . . . . . . . x x X . . . . x . . . . . . . . . x x
getCharacterStream . . . . . . . . . . . x x X x x x . . . x . . . . . . . x x x x x
getNCharacterStream . . . . . . . . . . . x x x x x x . . . x . . . . . . . x x X x x
getClob . . . . . . . . . . . . . . . . . . . . X . . . . . . . . . . x .
getNClob . . . . . . . . . . . . . . . . . . . . x . . . . . . . . . . X .
getBlob . . . . . . . . . . . . . . . . . . . . . X . . . . . . . . . . .
getArray . . . . . . . . . . . . . . . . . . . . . . X . . . . . . . . . .
getRef . . . . . . . . . . . . . . . . . . . . . . . X . . . . . . . . .
getURL . . . . . . . . . . . . . . . . . . . . . . . . X . . . . . . . .
getObject x x x x x x x x x x x x x x x x x x x x x x x x x X X x x x x x x
getRowId . . . . . . . . . . . . . . . . . . . . . . . . . . . X . . . . .
getSQLXML . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . X
</pre>
<!--
CHECKSTYLE: ON
--></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="SqlType.Method.html" title="enum in org.apache.calcite.avatica">SqlType.Method</a></span></code></th>
<td class="colLast">
<div class="block">Getter methods in <code>ResultSet</code>.</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="#BIT">BIT</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#BLOB">BLOB</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="#CLOB">CLOB</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<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="altColor">
<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="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#DATALINK">DATALINK</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="#FLOAT">FLOAT</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_TIME">INTERVAL_DAY_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="#INTERVAL_YEAR_MONTH">INTERVAL_YEAR_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="#JAVA_OBJECT">JAVA_OBJECT</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#LONGNVARCHAR">LONGNVARCHAR</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#LONGVARBINARY">LONGVARBINARY</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#LONGVARCHAR">LONGVARCHAR</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<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="rowColor">
<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="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#NCHAR">NCHAR</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#NCLOB">NCLOB</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<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="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#NUMERIC">NUMERIC</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#NVARCHAR">NVARCHAR</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<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="altColor">
<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="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#REF">REF</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="#ROWID">ROWID</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<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="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#SQLXML">SQLXML</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#STRUCT">STRUCT</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_TIMEZONE">TIME_WITH_TIMEZONE</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_TIMEZONE">TIMESTAMP_WITH_TIMEZONE</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>java.lang.Class</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#clazz">clazz</a></span></code></th>
<td class="colLast">
<div class="block">Default Java type for this SQL type, as described in table B-1.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.util.Map&lt;<a href="SqlType.Method.html" title="enum in org.apache.calcite.avatica">SqlType.Method</a>,&#8203;java.util.EnumSet&lt;<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a>&gt;&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#GET_LIST">GET_LIST</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#id">id</a></span></code></th>
<td class="colLast">
<div class="block">Type id as appears in <code>Types</code>,
e.g.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.Class</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#internal">internal</a></span></code></th>
<td class="colLast">
<div class="block">Class used internally in Calcite to represent instances of this type.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.Class</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#serial">serial</a></span></code></th>
<td class="colLast">
<div class="block">Class used to serialize values of this type as JSON.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.util.Map&lt;java.lang.Class,&#8203;java.util.EnumSet&lt;<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a>&gt;&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#SET_LIST">SET_LIST</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>java.lang.Class</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#boxedClass()">boxedClass</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the boxed type.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#canGet(org.apache.calcite.avatica.SqlType.Method,org.apache.calcite.avatica.SqlType)">canGet</a></span>&#8203;(<a href="SqlType.Method.html" title="enum in org.apache.calcite.avatica">SqlType.Method</a>&nbsp;method,
<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a>&nbsp;sqlType)</code></th>
<td class="colLast">
<div class="block">Returns whether <code>ResultSet.getInt(int)</code> and similar methods
can convert a value to a particular SQL type.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#canSet(java.lang.Class,org.apache.calcite.avatica.SqlType)">canSet</a></span>&#8203;(java.lang.Class&nbsp;aClass,
<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a>&nbsp;sqlType)</code></th>
<td class="colLast">
<div class="block">Returns whether <code>PreparedStatement.setObject(int, java.lang.Object, int)</code> and
<code>PreparedStatement.setNull(int, int)</code> can assign a value of a particular class
to a column of a particular SQL type.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>static java.lang.Iterable&lt;java.util.Map.Entry&lt;java.lang.Class,&#8203;<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a>&gt;&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSetConversions()">getSetConversions</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the entries in JDBC table B-5.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>static <a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#valueOf(int)">valueOf</a></span>&#8203;(int&nbsp;type)</code></th>
<td class="colLast">
<div class="block">Returns the enum constant of this type with the specified name.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>static <a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</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="i6" class="altColor">
<td class="colFirst"><code>static <a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</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="BIT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>BIT</h4>
<pre>public static final&nbsp;<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a> BIT</pre>
</li>
</ul>
<a id="BOOLEAN">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>BOOLEAN</h4>
<pre>public static final&nbsp;<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</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="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</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="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</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="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</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="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a> BIGINT</pre>
</li>
</ul>
<a id="NUMERIC">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>NUMERIC</h4>
<pre>public static final&nbsp;<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a> NUMERIC</pre>
</li>
</ul>
<a id="DECIMAL">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DECIMAL</h4>
<pre>public static final&nbsp;<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</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="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</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="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</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="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</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="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</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="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a> TIME</pre>
</li>
</ul>
<a id="TIMESTAMP">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TIMESTAMP</h4>
<pre>public static final&nbsp;<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a> TIMESTAMP</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="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a> INTERVAL_YEAR_MONTH</pre>
</li>
</ul>
<a id="INTERVAL_DAY_TIME">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>INTERVAL_DAY_TIME</h4>
<pre>public static final&nbsp;<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a> INTERVAL_DAY_TIME</pre>
</li>
</ul>
<a id="CHAR">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CHAR</h4>
<pre>public static final&nbsp;<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</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="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a> VARCHAR</pre>
</li>
</ul>
<a id="LONGVARCHAR">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LONGVARCHAR</h4>
<pre>public static final&nbsp;<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a> LONGVARCHAR</pre>
</li>
</ul>
<a id="BINARY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>BINARY</h4>
<pre>public static final&nbsp;<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</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="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a> VARBINARY</pre>
</li>
</ul>
<a id="LONGVARBINARY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LONGVARBINARY</h4>
<pre>public static final&nbsp;<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a> LONGVARBINARY</pre>
</li>
</ul>
<a id="NULL">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>NULL</h4>
<pre>public static final&nbsp;<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</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="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</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="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</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="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</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="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a> ARRAY</pre>
</li>
</ul>
<a id="BLOB">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>BLOB</h4>
<pre>public static final&nbsp;<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a> BLOB</pre>
</li>
</ul>
<a id="CLOB">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CLOB</h4>
<pre>public static final&nbsp;<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a> CLOB</pre>
</li>
</ul>
<a id="SQLXML">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SQLXML</h4>
<pre>public static final&nbsp;<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a> SQLXML</pre>
</li>
</ul>
<a id="MAP">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MAP</h4>
<pre>public static final&nbsp;<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</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="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a> DISTINCT</pre>
</li>
</ul>
<a id="STRUCT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>STRUCT</h4>
<pre>public static final&nbsp;<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a> STRUCT</pre>
</li>
</ul>
<a id="REF">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>REF</h4>
<pre>public static final&nbsp;<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a> REF</pre>
</li>
</ul>
<a id="DATALINK">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DATALINK</h4>
<pre>public static final&nbsp;<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a> DATALINK</pre>
</li>
</ul>
<a id="JAVA_OBJECT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>JAVA_OBJECT</h4>
<pre>public static final&nbsp;<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a> JAVA_OBJECT</pre>
</li>
</ul>
<a id="ROWID">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ROWID</h4>
<pre>public static final&nbsp;<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a> ROWID</pre>
</li>
</ul>
<a id="NCHAR">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>NCHAR</h4>
<pre>public static final&nbsp;<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a> NCHAR</pre>
</li>
</ul>
<a id="NVARCHAR">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>NVARCHAR</h4>
<pre>public static final&nbsp;<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a> NVARCHAR</pre>
</li>
</ul>
<a id="LONGNVARCHAR">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LONGNVARCHAR</h4>
<pre>public static final&nbsp;<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a> LONGNVARCHAR</pre>
</li>
</ul>
<a id="NCLOB">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>NCLOB</h4>
<pre>public static final&nbsp;<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a> NCLOB</pre>
</li>
</ul>
<a id="ROW">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ROW</h4>
<pre>public static final&nbsp;<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</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="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</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="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a> CURSOR</pre>
</li>
</ul>
<a id="TIME_WITH_TIMEZONE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TIME_WITH_TIMEZONE</h4>
<pre>public static final&nbsp;<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a> TIME_WITH_TIMEZONE</pre>
</li>
</ul>
<a id="TIMESTAMP_WITH_TIMEZONE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TIMESTAMP_WITH_TIMEZONE</h4>
<pre>public static final&nbsp;<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a> TIMESTAMP_WITH_TIMEZONE</pre>
</li>
</ul>
<a id="COLUMN_LIST">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>COLUMN_LIST</h4>
<pre>public static final&nbsp;<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a> COLUMN_LIST</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="id">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>id</h4>
<pre>public final&nbsp;int id</pre>
<div class="block">Type id as appears in <code>Types</code>,
e.g. <code>Types.INTEGER</code>.</div>
</li>
</ul>
<a id="clazz">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clazz</h4>
<pre>public final&nbsp;java.lang.Class clazz</pre>
<div class="block">Default Java type for this SQL type, as described in table B-1.</div>
</li>
</ul>
<a id="internal">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>internal</h4>
<pre>public final&nbsp;java.lang.Class internal</pre>
<div class="block">Class used internally in Calcite to represent instances of this type.</div>
</li>
</ul>
<a id="serial">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>serial</h4>
<pre>public final&nbsp;java.lang.Class serial</pre>
<div class="block">Class used to serialize values of this type as JSON.</div>
</li>
</ul>
<a id="SET_LIST">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SET_LIST</h4>
<pre>public static final&nbsp;java.util.Map&lt;java.lang.Class,&#8203;java.util.EnumSet&lt;<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a>&gt;&gt; SET_LIST</pre>
</li>
</ul>
<a id="GET_LIST">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>GET_LIST</h4>
<pre>public static final&nbsp;java.util.Map&lt;<a href="SqlType.Method.html" title="enum in org.apache.calcite.avatica">SqlType.Method</a>,&#8203;java.util.EnumSet&lt;<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a>&gt;&gt; GET_LIST</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="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</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 (SqlType c : SqlType.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="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</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="valueOf(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>valueOf</h4>
<pre class="methodSignature">public static&nbsp;<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a>&nbsp;valueOf&#8203;(int&nbsp;type)</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>type</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="boxedClass()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>boxedClass</h4>
<pre class="methodSignature">public&nbsp;java.lang.Class&nbsp;boxedClass()</pre>
<div class="block">Returns the boxed type.</div>
</li>
</ul>
<a id="getSetConversions()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSetConversions</h4>
<pre class="methodSignature">public static&nbsp;java.lang.Iterable&lt;java.util.Map.Entry&lt;java.lang.Class,&#8203;<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a>&gt;&gt;&nbsp;getSetConversions()</pre>
<div class="block">Returns the entries in JDBC table B-5.</div>
</li>
</ul>
<a id="canSet(java.lang.Class,org.apache.calcite.avatica.SqlType)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canSet</h4>
<pre class="methodSignature">public static&nbsp;boolean&nbsp;canSet&#8203;(java.lang.Class&nbsp;aClass,
<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a>&nbsp;sqlType)</pre>
<div class="block">Returns whether <code>PreparedStatement.setObject(int, java.lang.Object, int)</code> and
<code>PreparedStatement.setNull(int, int)</code> can assign a value of a particular class
to a column of a particular SQL type.
<p>The JDBC standard describes the mapping in table <a href="#B5">B-5</a>.</div>
</li>
</ul>
<a id="canGet(org.apache.calcite.avatica.SqlType.Method,org.apache.calcite.avatica.SqlType)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>canGet</h4>
<pre class="methodSignature">public static&nbsp;boolean&nbsp;canGet&#8203;(<a href="SqlType.Method.html" title="enum in org.apache.calcite.avatica">SqlType.Method</a>&nbsp;method,
<a href="SqlType.html" title="enum in org.apache.calcite.avatica">SqlType</a>&nbsp;sqlType)</pre>
<div class="block">Returns whether <code>ResultSet.getInt(int)</code> and similar methods
can convert a value to a particular SQL type.
<p>The JDBC standard describes the mapping in table <a href="#B6">B-6</a>.</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="class-use/SqlType.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>