| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>CsvTest (Calcite 1.21.0 Test 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="CsvTest (Calcite 1.21.0 Test API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"i0":10,"i1":10,"i2":10,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10}; |
| 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/CsvTest.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> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </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"> </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> <a href="package-summary.html">org.apache.calcite.test</a></div> |
| <h2 title="Class CsvTest" class="title">Class CsvTest</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.calcite.test.CsvTest</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <pre>public class <span class="typeNameLabel">CsvTest</span> |
| extends java.lang.Object</pre> |
| <div class="block">Unit test of the Calcite adapter for CSV.</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"> </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>private class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="CsvTest.Fluent.html" title="class in org.apache.calcite.test">CsvTest.Fluent</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Fluent API to perform test actions.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="CsvTest.Worker.html" title="class in org.apache.calcite.test">CsvTest.Worker</a><<a href="CsvTest.Worker.html" title="type parameter in CsvTest.Worker">E</a>></span></code></th> |
| <td class="colLast"> |
| <div class="block">Receives commands on a queue and executes them on its own thread.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">CsvTest</a></span>()</code></th> |
| <td class="colLast"> </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"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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>private java.util.concurrent.Callable<java.lang.Void></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#cancel(java.sql.Statement)">cancel</a></span>​(java.sql.Statement statement)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a command that cancels a statement.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#checkSql(java.lang.String,java.lang.String,java.util.function.Consumer)">checkSql</a></span>​(java.lang.String sql, |
| java.lang.String model, |
| java.util.function.Consumer<java.sql.ResultSet> fn)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#close(java.sql.Connection,java.sql.Statement)">close</a></span>​(java.sql.Connection connection, |
| java.sql.Statement statement)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>private static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collect(java.util.List,java.sql.ResultSet)">collect</a></span>​(java.util.List<java.lang.String> result, |
| java.sql.ResultSet resultSet)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>private static java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#escapeString(java.lang.String)">escapeString</a></span>​(java.lang.String s)</code></th> |
| <td class="colLast"> |
| <div class="block">Quotes a string for Java or JSON.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>private static java.lang.StringBuilder</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#escapeString(java.lang.StringBuilder,java.lang.String)">escapeString</a></span>​(java.lang.StringBuilder buf, |
| java.lang.String s)</code></th> |
| <td class="colLast"> |
| <div class="block">Quotes a string for Java or JSON, into a builder.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>private static java.util.function.Consumer<java.sql.ResultSet></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#expect(java.lang.String...)">expect</a></span>​(java.lang.String... expected)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a function that checks the contents of a result set against an |
| expected string.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>private static java.util.function.Consumer<java.sql.ResultSet></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#expectUnordered(java.lang.String...)">expectUnordered</a></span>​(java.lang.String... expected)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a function that checks the contents of a result set against an |
| expected string.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>private java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#jsonPath(java.lang.String)">jsonPath</a></span>​(java.lang.String model)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>private java.lang.Void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#output(java.sql.ResultSet)">output</a></span>​(java.sql.ResultSet resultSet)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#output(java.sql.ResultSet,java.io.PrintStream)">output</a></span>​(java.sql.ResultSet resultSet, |
| java.io.PrintStream out)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>private java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#range(int,int)">range</a></span>​(int first, |
| int count)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>private java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#resourcePath(java.lang.String)">resourcePath</a></span>​(java.lang.String path)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>private java.util.concurrent.Callable<java.lang.Void></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sleep(long)">sleep</a></span>​(long millis)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a command that sleeps.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>private <a href="CsvTest.Fluent.html" title="class in org.apache.calcite.test">CsvTest.Fluent</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sql(java.lang.String,java.lang.String)">sql</a></span>​(java.lang.String model, |
| java.lang.String sql)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testBadDirectory()">testBadDirectory</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Tests an inline schema with a non-existent directory.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testBoolean()">testBoolean</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testCsvStream()">testCsvStream</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testCustomTable()">testCustomTable</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testDateType()">testDateType</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testDateType2()">testDateType2</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Test case for |
| <a href="https://issues.apache.org/jira/browse/CALCITE-1072">[CALCITE-1072] |
| CSV adapter incorrectly parses TIMESTAMP values after noon</a>.</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testFilterableSelect()">testFilterableSelect</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testFilterableSelectStar()">testFilterableSelectStar</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testFilterableWhere()">testFilterableWhere</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Filter that can be fully handled by CsvFilterableTable.</div> |
| </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testFilterableWhere2()">testFilterableWhere2</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Filter that can be partly handled by CsvFilterableTable.</div> |
| </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testFilterableWhere3()">testFilterableWhere3</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Filter that can be slightly handled by CsvFilterableTable.</div> |
| </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testFilterableWhereWithNot1()">testFilterableWhereWithNot1</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Test case for |
| <a href="https://issues.apache.org/jira/browse/CALCITE-2272">[CALCITE-2272] |
| Incorrect result for <code>name like '%E%' and city not like '%W%'</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testFilterableWhereWithNot2()">testFilterableWhereWithNot2</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Similar to <a href="#testFilterableWhereWithNot1()"><code>testFilterableWhereWithNot1()</code></a>; |
| But use the same column.</div> |
| </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testFilterOnNullableTimestamp()">testFilterOnNullableTimestamp</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Test case for |
| <a href="https://issues.apache.org/jira/browse/CALCITE-1054">[CALCITE-1054] |
| NPE caused by wrong code generation for Timestamp fields</a>.</div> |
| </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testFilterOnNullableTimestamp2()">testFilterOnNullableTimestamp2</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Test case for |
| <a href="https://issues.apache.org/jira/browse/CALCITE-1118">[CALCITE-1118] |
| NullPointerException in EXTRACT with WHERE ...</div> |
| </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testGreaterThanFilterOnDateType()">testGreaterThanFilterOnDateType</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Test case for |
| <a href="https://issues.apache.org/jira/browse/CALCITE-1427">[CALCITE-1427] |
| Code generation incorrect (does not compile) for DATE, TIME and TIMESTAMP |
| fields</a>.</div> |
| </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testGroupByTimestampAdd()">testGroupByTimestampAdd</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Test case for |
| <a href="https://issues.apache.org/jira/browse/CALCITE-1754">[CALCITE-1754] |
| In Csv adapter, convert DATE and TIME values to int, and TIMESTAMP values |
| to long</a>.</div> |
| </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testInToSemiJoinWithCast()">testInToSemiJoinWithCast</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Test case for |
| <a href="https://issues.apache.org/jira/browse/CALCITE-824">[CALCITE-824] |
| Type inference when converting IN clause to semijoin</a>.</div> |
| </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testInToSemiJoinWithoutCast()">testInToSemiJoinWithoutCast</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Test case for |
| <a href="https://issues.apache.org/jira/browse/CALCITE-1051">[CALCITE-1051] |
| Underflow exception due to scaling IN clause literals</a>.</div> |
| </td> |
| </tr> |
| <tr id="i34" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testJoinOnString()">testJoinOnString</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i35" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testJson()">testJson</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i36" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testNonNullFilterOnDateType()">testNonNullFilterOnDateType</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Test case for |
| <a href="https://issues.apache.org/jira/browse/CALCITE-1427">[CALCITE-1427] |
| Code generation incorrect (does not compile) for DATE, TIME and TIMESTAMP |
| fields</a>.</div> |
| </td> |
| </tr> |
| <tr id="i37" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testPrepared()">testPrepared</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Test case for |
| <a href="https://issues.apache.org/jira/browse/CALCITE-1031">[CALCITE-1031] |
| In prepared statement, CsvScannableTable.scan is called twice</a>.</div> |
| </td> |
| </tr> |
| <tr id="i38" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testPushDownProject()">testPushDownProject</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i39" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testPushDownProject2()">testPushDownProject2</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i40" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testPushDownProjectAggregate()">testPushDownProjectAggregate</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i41" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testPushDownProjectAggregateNested()">testPushDownProjectAggregateNested</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i42" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testPushDownProjectAggregateWithFilter()">testPushDownProjectAggregateWithFilter</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i43" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testPushDownProjectDumb()">testPushDownProjectDumb</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i44" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testReadme()">testReadme</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i45" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testSelect()">testSelect</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Reads from a table.</div> |
| </td> |
| </tr> |
| <tr id="i46" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testSelectLongMultiplyInteger()">testSelectLongMultiplyInteger</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Test case for |
| <a href="https://issues.apache.org/jira/browse/CALCITE-898">[CALCITE-898] |
| Type inference multiplying Java long by SQL INTEGER</a>.</div> |
| </td> |
| </tr> |
| <tr id="i47" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testSelectSingleProject()">testSelectSingleProject</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i48" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testSelectSingleProjectGz()">testSelectSingleProjectGz</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i49" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testTimestampGroupBy()">testTimestampGroupBy</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Test case for |
| <a href="https://issues.apache.org/jira/browse/CALCITE-1673">[CALCITE-1673] |
| Query with ORDER BY or GROUP BY on TIMESTAMP column throws |
| CompileException</a>.</div> |
| </td> |
| </tr> |
| <tr id="i50" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testTimestampGroupByAndOrderBy()">testTimestampGroupByAndOrderBy</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">As <a href="#testTimestampGroupBy()"><code>testTimestampGroupBy()</code></a> but with ORDER BY as well as GROUP |
| BY.</div> |
| </td> |
| </tr> |
| <tr id="i51" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testTimestampOrderBy()">testTimestampOrderBy</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">As <a href="#testTimestampGroupBy()"><code>testTimestampGroupBy()</code></a> but with ORDER BY.</div> |
| </td> |
| </tr> |
| <tr id="i52" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testUnionGroupByWithoutGroupKey()">testUnionGroupByWithoutGroupKey</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i53" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testVanityDriver()">testVanityDriver</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Tests the vanity driver.</div> |
| </td> |
| </tr> |
| <tr id="i54" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testVanityDriverArgsInUrl()">testVanityDriverArgsInUrl</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Tests the vanity driver with properties in the URL.</div> |
| </td> |
| </tr> |
| <tr id="i55" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testWackyColumns()">testWackyColumns</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i56" class="altColor"> |
| <td class="colFirst"><code>private java.util.concurrent.Callable<java.lang.Void></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeLine(java.io.PrintWriter,java.lang.String)">writeLine</a></span>​(java.io.PrintWriter pw, |
| java.lang.String line)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a command that appends a line to the CSV file.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.Object</h3> |
| <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a id="<init>()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>CsvTest</h4> |
| <pre>public CsvTest()</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="close(java.sql.Connection,java.sql.Statement)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>close</h4> |
| <pre class="methodSignature">private void close​(java.sql.Connection connection, |
| java.sql.Statement statement)</pre> |
| </li> |
| </ul> |
| <a id="escapeString(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>escapeString</h4> |
| <pre class="methodSignature">private static java.lang.String escapeString​(java.lang.String s)</pre> |
| <div class="block">Quotes a string for Java or JSON.</div> |
| </li> |
| </ul> |
| <a id="escapeString(java.lang.StringBuilder,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>escapeString</h4> |
| <pre class="methodSignature">private static java.lang.StringBuilder escapeString​(java.lang.StringBuilder buf, |
| java.lang.String s)</pre> |
| <div class="block">Quotes a string for Java or JSON, into a builder.</div> |
| </li> |
| </ul> |
| <a id="testVanityDriver()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testVanityDriver</h4> |
| <pre class="methodSignature">public void testVanityDriver() |
| throws java.sql.SQLException</pre> |
| <div class="block">Tests the vanity driver.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="testVanityDriverArgsInUrl()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testVanityDriverArgsInUrl</h4> |
| <pre class="methodSignature">public void testVanityDriverArgsInUrl() |
| throws java.sql.SQLException</pre> |
| <div class="block">Tests the vanity driver with properties in the URL.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="testBadDirectory()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testBadDirectory</h4> |
| <pre class="methodSignature">public void testBadDirectory() |
| throws java.sql.SQLException</pre> |
| <div class="block">Tests an inline schema with a non-existent directory.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="testSelect()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testSelect</h4> |
| <pre class="methodSignature">public void testSelect() |
| throws java.sql.SQLException</pre> |
| <div class="block">Reads from a table.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="testSelectSingleProjectGz()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testSelectSingleProjectGz</h4> |
| <pre class="methodSignature">public void testSelectSingleProjectGz() |
| throws java.sql.SQLException</pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="testSelectSingleProject()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testSelectSingleProject</h4> |
| <pre class="methodSignature">public void testSelectSingleProject() |
| throws java.sql.SQLException</pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="testSelectLongMultiplyInteger()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testSelectLongMultiplyInteger</h4> |
| <pre class="methodSignature">public void testSelectLongMultiplyInteger() |
| throws java.sql.SQLException</pre> |
| <div class="block">Test case for |
| <a href="https://issues.apache.org/jira/browse/CALCITE-898">[CALCITE-898] |
| Type inference multiplying Java long by SQL INTEGER</a>.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="testCustomTable()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testCustomTable</h4> |
| <pre class="methodSignature">public void testCustomTable() |
| throws java.sql.SQLException</pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="testPushDownProjectDumb()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testPushDownProjectDumb</h4> |
| <pre class="methodSignature">public void testPushDownProjectDumb() |
| throws java.sql.SQLException</pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="testPushDownProject()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testPushDownProject</h4> |
| <pre class="methodSignature">public void testPushDownProject() |
| throws java.sql.SQLException</pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="testPushDownProject2()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testPushDownProject2</h4> |
| <pre class="methodSignature">public void testPushDownProject2() |
| throws java.sql.SQLException</pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="testPushDownProjectAggregate()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testPushDownProjectAggregate</h4> |
| <pre class="methodSignature">public void testPushDownProjectAggregate() |
| throws java.sql.SQLException</pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="testPushDownProjectAggregateWithFilter()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testPushDownProjectAggregateWithFilter</h4> |
| <pre class="methodSignature">public void testPushDownProjectAggregateWithFilter() |
| throws java.sql.SQLException</pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="testPushDownProjectAggregateNested()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testPushDownProjectAggregateNested</h4> |
| <pre class="methodSignature">public void testPushDownProjectAggregateNested() |
| throws java.sql.SQLException</pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="testFilterableSelect()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testFilterableSelect</h4> |
| <pre class="methodSignature">public void testFilterableSelect() |
| throws java.sql.SQLException</pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="testFilterableSelectStar()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testFilterableSelectStar</h4> |
| <pre class="methodSignature">public void testFilterableSelectStar() |
| throws java.sql.SQLException</pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="testFilterableWhere()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testFilterableWhere</h4> |
| <pre class="methodSignature">public void testFilterableWhere() |
| throws java.sql.SQLException</pre> |
| <div class="block">Filter that can be fully handled by CsvFilterableTable.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="testFilterableWhere2()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testFilterableWhere2</h4> |
| <pre class="methodSignature">public void testFilterableWhere2() |
| throws java.sql.SQLException</pre> |
| <div class="block">Filter that can be partly handled by CsvFilterableTable.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="testFilterableWhere3()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testFilterableWhere3</h4> |
| <pre class="methodSignature">public void testFilterableWhere3() |
| throws java.sql.SQLException</pre> |
| <div class="block">Filter that can be slightly handled by CsvFilterableTable.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="testFilterableWhereWithNot1()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testFilterableWhereWithNot1</h4> |
| <pre class="methodSignature">public void testFilterableWhereWithNot1() |
| throws java.sql.SQLException</pre> |
| <div class="block">Test case for |
| <a href="https://issues.apache.org/jira/browse/CALCITE-2272">[CALCITE-2272] |
| Incorrect result for <code>name like '%E%' and city not like '%W%'</code></a>.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="testFilterableWhereWithNot2()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testFilterableWhereWithNot2</h4> |
| <pre class="methodSignature">public void testFilterableWhereWithNot2() |
| throws java.sql.SQLException</pre> |
| <div class="block">Similar to <a href="#testFilterableWhereWithNot1()"><code>testFilterableWhereWithNot1()</code></a>; |
| But use the same column.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="testJson()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testJson</h4> |
| <pre class="methodSignature">public void testJson() |
| throws java.sql.SQLException</pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="sql(java.lang.String,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sql</h4> |
| <pre class="methodSignature">private <a href="CsvTest.Fluent.html" title="class in org.apache.calcite.test">CsvTest.Fluent</a> sql​(java.lang.String model, |
| java.lang.String sql)</pre> |
| </li> |
| </ul> |
| <a id="expect(java.lang.String...)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>expect</h4> |
| <pre class="methodSignature">private static java.util.function.Consumer<java.sql.ResultSet> expect​(java.lang.String... expected)</pre> |
| <div class="block">Returns a function that checks the contents of a result set against an |
| expected string.</div> |
| </li> |
| </ul> |
| <a id="expectUnordered(java.lang.String...)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>expectUnordered</h4> |
| <pre class="methodSignature">private static java.util.function.Consumer<java.sql.ResultSet> expectUnordered​(java.lang.String... expected)</pre> |
| <div class="block">Returns a function that checks the contents of a result set against an |
| expected string.</div> |
| </li> |
| </ul> |
| <a id="checkSql(java.lang.String,java.lang.String,java.util.function.Consumer)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkSql</h4> |
| <pre class="methodSignature">private void checkSql​(java.lang.String sql, |
| java.lang.String model, |
| java.util.function.Consumer<java.sql.ResultSet> fn) |
| throws java.sql.SQLException</pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="jsonPath(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>jsonPath</h4> |
| <pre class="methodSignature">private java.lang.String jsonPath​(java.lang.String model)</pre> |
| </li> |
| </ul> |
| <a id="resourcePath(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>resourcePath</h4> |
| <pre class="methodSignature">private java.lang.String resourcePath​(java.lang.String path)</pre> |
| </li> |
| </ul> |
| <a id="collect(java.util.List,java.sql.ResultSet)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>collect</h4> |
| <pre class="methodSignature">private static void collect​(java.util.List<java.lang.String> result, |
| java.sql.ResultSet resultSet) |
| throws java.sql.SQLException</pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="output(java.sql.ResultSet,java.io.PrintStream)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>output</h4> |
| <pre class="methodSignature">private void output​(java.sql.ResultSet resultSet, |
| java.io.PrintStream out) |
| throws java.sql.SQLException</pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="testJoinOnString()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testJoinOnString</h4> |
| <pre class="methodSignature">public void testJoinOnString() |
| throws java.sql.SQLException</pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="testWackyColumns()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testWackyColumns</h4> |
| <pre class="methodSignature">public void testWackyColumns() |
| throws java.sql.SQLException</pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="testGroupByTimestampAdd()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testGroupByTimestampAdd</h4> |
| <pre class="methodSignature">public void testGroupByTimestampAdd() |
| throws java.sql.SQLException</pre> |
| <div class="block">Test case for |
| <a href="https://issues.apache.org/jira/browse/CALCITE-1754">[CALCITE-1754] |
| In Csv adapter, convert DATE and TIME values to int, and TIMESTAMP values |
| to long</a>.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="testUnionGroupByWithoutGroupKey()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testUnionGroupByWithoutGroupKey</h4> |
| <pre class="methodSignature">public void testUnionGroupByWithoutGroupKey()</pre> |
| </li> |
| </ul> |
| <a id="testBoolean()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testBoolean</h4> |
| <pre class="methodSignature">public void testBoolean()</pre> |
| </li> |
| </ul> |
| <a id="testReadme()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testReadme</h4> |
| <pre class="methodSignature">public void testReadme() |
| throws java.sql.SQLException</pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="testInToSemiJoinWithCast()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testInToSemiJoinWithCast</h4> |
| <pre class="methodSignature">public void testInToSemiJoinWithCast() |
| throws java.sql.SQLException</pre> |
| <div class="block">Test case for |
| <a href="https://issues.apache.org/jira/browse/CALCITE-824">[CALCITE-824] |
| Type inference when converting IN clause to semijoin</a>.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="testInToSemiJoinWithoutCast()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testInToSemiJoinWithoutCast</h4> |
| <pre class="methodSignature">public void testInToSemiJoinWithoutCast() |
| throws java.sql.SQLException</pre> |
| <div class="block">Test case for |
| <a href="https://issues.apache.org/jira/browse/CALCITE-1051">[CALCITE-1051] |
| Underflow exception due to scaling IN clause literals</a>.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="range(int,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>range</h4> |
| <pre class="methodSignature">private java.lang.String range​(int first, |
| int count)</pre> |
| </li> |
| </ul> |
| <a id="testDateType()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testDateType</h4> |
| <pre class="methodSignature">public void testDateType() |
| throws java.sql.SQLException</pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="testDateType2()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testDateType2</h4> |
| <pre class="methodSignature">public void testDateType2() |
| throws java.sql.SQLException</pre> |
| <div class="block">Test case for |
| <a href="https://issues.apache.org/jira/browse/CALCITE-1072">[CALCITE-1072] |
| CSV adapter incorrectly parses TIMESTAMP values after noon</a>.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="testTimestampGroupBy()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testTimestampGroupBy</h4> |
| <pre class="methodSignature">public void testTimestampGroupBy() |
| throws java.sql.SQLException</pre> |
| <div class="block">Test case for |
| <a href="https://issues.apache.org/jira/browse/CALCITE-1673">[CALCITE-1673] |
| Query with ORDER BY or GROUP BY on TIMESTAMP column throws |
| CompileException</a>.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="testTimestampOrderBy()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testTimestampOrderBy</h4> |
| <pre class="methodSignature">public void testTimestampOrderBy() |
| throws java.sql.SQLException</pre> |
| <div class="block">As <a href="#testTimestampGroupBy()"><code>testTimestampGroupBy()</code></a> but with ORDER BY.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="testTimestampGroupByAndOrderBy()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testTimestampGroupByAndOrderBy</h4> |
| <pre class="methodSignature">public void testTimestampGroupByAndOrderBy() |
| throws java.sql.SQLException</pre> |
| <div class="block">As <a href="#testTimestampGroupBy()"><code>testTimestampGroupBy()</code></a> but with ORDER BY as well as GROUP |
| BY.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="testPrepared()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testPrepared</h4> |
| <pre class="methodSignature">public void testPrepared() |
| throws java.sql.SQLException</pre> |
| <div class="block">Test case for |
| <a href="https://issues.apache.org/jira/browse/CALCITE-1031">[CALCITE-1031] |
| In prepared statement, CsvScannableTable.scan is called twice</a>. To see |
| the bug, place a breakpoint in CsvScannableTable.scan, and note that it is |
| called twice. It should only be called once.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="testFilterOnNullableTimestamp()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testFilterOnNullableTimestamp</h4> |
| <pre class="methodSignature">public void testFilterOnNullableTimestamp() |
| throws java.lang.Exception</pre> |
| <div class="block">Test case for |
| <a href="https://issues.apache.org/jira/browse/CALCITE-1054">[CALCITE-1054] |
| NPE caused by wrong code generation for Timestamp fields</a>.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.Exception</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="testFilterOnNullableTimestamp2()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testFilterOnNullableTimestamp2</h4> |
| <pre class="methodSignature">public void testFilterOnNullableTimestamp2() |
| throws java.lang.Exception</pre> |
| <div class="block">Test case for |
| <a href="https://issues.apache.org/jira/browse/CALCITE-1118">[CALCITE-1118] |
| NullPointerException in EXTRACT with WHERE ... IN clause if field has null |
| value</a>.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.Exception</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="testNonNullFilterOnDateType()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testNonNullFilterOnDateType</h4> |
| <pre class="methodSignature">public void testNonNullFilterOnDateType() |
| throws java.sql.SQLException</pre> |
| <div class="block">Test case for |
| <a href="https://issues.apache.org/jira/browse/CALCITE-1427">[CALCITE-1427] |
| Code generation incorrect (does not compile) for DATE, TIME and TIMESTAMP |
| fields</a>.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="testGreaterThanFilterOnDateType()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testGreaterThanFilterOnDateType</h4> |
| <pre class="methodSignature">public void testGreaterThanFilterOnDateType() |
| throws java.sql.SQLException</pre> |
| <div class="block">Test case for |
| <a href="https://issues.apache.org/jira/browse/CALCITE-1427">[CALCITE-1427] |
| Code generation incorrect (does not compile) for DATE, TIME and TIMESTAMP |
| fields</a>.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.sql.SQLException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="testCsvStream()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>testCsvStream</h4> |
| <pre class="methodSignature">public void testCsvStream() |
| throws java.lang.Exception</pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.Exception</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="writeLine(java.io.PrintWriter,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeLine</h4> |
| <pre class="methodSignature">private java.util.concurrent.Callable<java.lang.Void> writeLine​(java.io.PrintWriter pw, |
| java.lang.String line)</pre> |
| <div class="block">Creates a command that appends a line to the CSV file.</div> |
| </li> |
| </ul> |
| <a id="sleep(long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sleep</h4> |
| <pre class="methodSignature">private java.util.concurrent.Callable<java.lang.Void> sleep​(long millis)</pre> |
| <div class="block">Creates a command that sleeps.</div> |
| </li> |
| </ul> |
| <a id="cancel(java.sql.Statement)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>cancel</h4> |
| <pre class="methodSignature">private java.util.concurrent.Callable<java.lang.Void> cancel​(java.sql.Statement statement)</pre> |
| <div class="block">Creates a command that cancels a statement.</div> |
| </li> |
| </ul> |
| <a id="output(java.sql.ResultSet)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>output</h4> |
| <pre class="methodSignature">private java.lang.Void output​(java.sql.ResultSet resultSet)</pre> |
| </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/CsvTest.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> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </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 © 2012–2019 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |