| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>org.apache.calcite.avatica.util (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="org.apache.calcite.avatica.util (Apache Calcite Avatica API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| 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 class="navBarCell1Rev">Package</li> |
| <li>Class</li> |
| <li><a href="package-use.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 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> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <main role="main"> |
| <div class="header"> |
| <h1 title="Package" class="title">Package org.apache.calcite.avatica.util</h1> |
| </div> |
| <div class="contentContainer"> |
| <section role="region"><a id="package.description"> |
| <!-- --> |
| </a> |
| <div class="block">Avatica utilities.</div> |
| </section> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <table class="typeSummary"> |
| <caption><span>Interface Summary</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Interface</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="AbstractCursor.Getter.html" title="interface in org.apache.calcite.avatica.util">AbstractCursor.Getter</a></th> |
| <td class="colLast"> |
| <div class="block">Gets a value from a particular field of the current record of this |
| cursor.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="ArrayImpl.Factory.html" title="interface in org.apache.calcite.avatica.util">ArrayImpl.Factory</a></th> |
| <td class="colLast"> |
| <div class="block">Factory that can create a ResultSet or Array based on a stream of values.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="Cursor.html" title="interface in org.apache.calcite.avatica.util">Cursor</a></th> |
| <td class="colLast"> |
| <div class="block">Interface to an iteration that is similar to, and can easily support, |
| a JDBC <code>ResultSet</code>, but is simpler to implement.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="Cursor.Accessor.html" title="interface in org.apache.calcite.avatica.util">Cursor.Accessor</a></th> |
| <td class="colLast"> |
| <div class="block">Accessor of a column value.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="StructImpl.Factory.html" title="interface in org.apache.calcite.avatica.util">StructImpl.Factory</a></th> |
| <td class="colLast"> |
| <div class="block">Factory that can create a result set based on a list of values.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"> |
| <table class="typeSummary"> |
| <caption><span>Class Summary</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Class</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="AbstractCursor.html" title="class in org.apache.calcite.avatica.util">AbstractCursor</a></th> |
| <td class="colLast"> |
| <div class="block">Base class for implementing a cursor.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="AbstractCursor.ArrayAccessor.html" title="class in org.apache.calcite.avatica.util">AbstractCursor.ArrayAccessor</a></th> |
| <td class="colLast"> |
| <div class="block">Accessor that assumes that the underlying value is an ARRAY; |
| corresponds to <code>Types.ARRAY</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="ArrayFactoryImpl.html" title="class in org.apache.calcite.avatica.util">ArrayFactoryImpl</a></th> |
| <td class="colLast"> |
| <div class="block">Implementation of <a href="ArrayImpl.Factory.html" title="interface in org.apache.calcite.avatica.util"><code>ArrayImpl.Factory</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="ArrayImpl.html" title="class in org.apache.calcite.avatica.util">ArrayImpl</a></th> |
| <td class="colLast"> |
| <div class="block">Implementation of JDBC <code>Array</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="ArrayIteratorCursor.html" title="class in org.apache.calcite.avatica.util">ArrayIteratorCursor</a></th> |
| <td class="colLast"> |
| <div class="block">Implementation of <a href="Cursor.html" title="interface in org.apache.calcite.avatica.util"><code>Cursor</code></a> on top of an |
| <code>Iterator</code> that |
| returns an array of <code>Object</code> for each row.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="Base64.html" title="class in org.apache.calcite.avatica.util">Base64</a></th> |
| <td class="colLast"> |
| <div class="block">Encodes and decodes to and from Base64 notation.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="Base64.InputStream.html" title="class in org.apache.calcite.avatica.util">Base64.InputStream</a></th> |
| <td class="colLast"> |
| <div class="block">A <a href="Base64.InputStream.html" title="class in org.apache.calcite.avatica.util"><code>Base64.InputStream</code></a> will read data from another |
| <code>java.io.InputStream</code>, given in the constructor, |
| and encode/decode to/from Base64 notation on the fly.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="Base64.OutputStream.html" title="class in org.apache.calcite.avatica.util">Base64.OutputStream</a></th> |
| <td class="colLast"> |
| <div class="block">A <a href="Base64.OutputStream.html" title="class in org.apache.calcite.avatica.util"><code>Base64.OutputStream</code></a> will write data to another |
| <code>java.io.OutputStream</code>, given in the constructor, |
| and encode/decode to/from Base64 notation on the fly.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="ByteString.html" title="class in org.apache.calcite.avatica.util">ByteString</a></th> |
| <td class="colLast"> |
| <div class="block">Collection of bytes.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="DateTimeUtils.html" title="class in org.apache.calcite.avatica.util">DateTimeUtils</a></th> |
| <td class="colLast"> |
| <div class="block">Utility functions for datetime types: date, time, timestamp.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="DateTimeUtils.PrecisionTime.html" title="class in org.apache.calcite.avatica.util">DateTimeUtils.PrecisionTime</a></th> |
| <td class="colLast"> |
| <div class="block">Helper class for <a href="DateTimeUtils.html#parsePrecisionDateTimeLiteral(java.lang.String,java.lang.String,java.util.TimeZone)"><code>DateTimeUtils.parsePrecisionDateTimeLiteral(java.lang.String, java.lang.String, java.util.TimeZone)</code></a></div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="FilteredConstants.html" title="class in org.apache.calcite.avatica.util">FilteredConstants</a></th> |
| <td class="colLast"> |
| <div class="block">A class which, at build time, will have build-specific variables substituted into it.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="IteratorCursor.html" title="class in org.apache.calcite.avatica.util">IteratorCursor</a><E></th> |
| <td class="colLast"> |
| <div class="block">Implementation of <a href="Cursor.html" title="interface in org.apache.calcite.avatica.util"><code>Cursor</code></a> |
| on top of an <code>Iterator</code> that |
| returns a record for each row.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="ListIteratorCursor.html" title="class in org.apache.calcite.avatica.util">ListIteratorCursor</a></th> |
| <td class="colLast"> |
| <div class="block">Implementation of <a href="Cursor.html" title="interface in org.apache.calcite.avatica.util"><code>Cursor</code></a> on top of an |
| <code>Iterator</code> that |
| returns a <code>List</code> for each row.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="MapIteratorCursor.html" title="class in org.apache.calcite.avatica.util">MapIteratorCursor</a></th> |
| <td class="colLast"> |
| <div class="block">Implementation of <a href="Cursor.html" title="interface in org.apache.calcite.avatica.util"><code>Cursor</code></a> on top of an |
| <code>Iterator</code> that |
| returns a <code>Map</code> for each row.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="PositionedCursor.html" title="class in org.apache.calcite.avatica.util">PositionedCursor</a><T></th> |
| <td class="colLast"> |
| <div class="block">Abstract implementation of <a href="Cursor.html" title="interface in org.apache.calcite.avatica.util"><code>Cursor</code></a> |
| that caches its current row.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="RecordIteratorCursor.html" title="class in org.apache.calcite.avatica.util">RecordIteratorCursor</a><E></th> |
| <td class="colLast"> |
| <div class="block">Implementation of <a href="Cursor.html" title="interface in org.apache.calcite.avatica.util"><code>Cursor</code></a> on top of an |
| <code>Iterator</code> that |
| returns a record for each row.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="Spacer.html" title="class in org.apache.calcite.avatica.util">Spacer</a></th> |
| <td class="colLast"> |
| <div class="block">Efficiently writes strings of spaces.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="Spaces.html" title="class in org.apache.calcite.avatica.util">Spaces</a></th> |
| <td class="colLast"> |
| <div class="block">Utilities for creating strings of spaces.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="StructImpl.html" title="class in org.apache.calcite.avatica.util">StructImpl</a></th> |
| <td class="colLast"> |
| <div class="block">Implementation of JDBC <code>Struct</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="Unsafe.html" title="class in org.apache.calcite.avatica.util">Unsafe</a></th> |
| <td class="colLast"> |
| <div class="block">Contains methods that call JDK methods that the |
| <a href="https://github.com/policeman-tools/forbidden-apis">forbidden |
| APIs checker</a> does not approve of.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="UnsynchronizedBuffer.html" title="class in org.apache.calcite.avatica.util">UnsynchronizedBuffer</a></th> |
| <td class="colLast"> |
| <div class="block">A utility class for reading and writing bytes to byte buffers without synchronization.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"> |
| <table class="typeSummary"> |
| <caption><span>Enum Summary</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Enum</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="Casing.html" title="enum in org.apache.calcite.avatica.util">Casing</a></th> |
| <td class="colLast"> |
| <div class="block">Policy for converting case of identifiers before storing them.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="Quoting.html" title="enum in org.apache.calcite.avatica.util">Quoting</a></th> |
| <td class="colLast"> |
| <div class="block">Syntax for quoting identifiers in SQL statements.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="TimeUnit.html" title="enum in org.apache.calcite.avatica.util">TimeUnit</a></th> |
| <td class="colLast"> |
| <div class="block">Enumeration of time units used to construct an interval.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="TimeUnitRange.html" title="enum in org.apache.calcite.avatica.util">TimeUnitRange</a></th> |
| <td class="colLast"> |
| <div class="block">A range of time units.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"> |
| <table class="typeSummary"> |
| <caption><span>Annotation Types Summary</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Annotation Type</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="PackageMarker.html" title="annotation in org.apache.calcite.avatica.util">PackageMarker</a></th> |
| <td class="colLast"> |
| <div class="block">This is a dummy annotation that forces javac to produce output for |
| otherwise empty package-info.java.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| </ul> |
| </div> |
| </main> |
| <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 class="navBarCell1Rev">Package</li> |
| <li>Class</li> |
| <li><a href="package-use.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 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> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 2012–2019 <a href="https://www.apache.org">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |