| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>Uses of Interface org.apache.calcite.test.concurrent.ConcurrentTestCommand (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="Uses of Interface org.apache.calcite.test.concurrent.ConcurrentTestCommand (Calcite 1.21.0 Test 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><a href="../package-summary.html">Package</a></li> |
| <li><a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent">Class</a></li> |
| <li class="navBarCell1Rev">Use</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"> |
| <h2 title="Uses of Interface org.apache.calcite.test.concurrent.ConcurrentTestCommand" class="title">Uses of Interface<br>org.apache.calcite.test.concurrent.ConcurrentTestCommand</h2> |
| </div> |
| <div class="classUseContainer"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <table class="useSummary"> |
| <caption><span>Packages that use <a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent">ConcurrentTestCommand</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Package</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="#org.apache.calcite.test.concurrent">org.apache.calcite.test.concurrent</a></th> |
| <td class="colLast"> |
| <div class="block">A framework for concurrent JDBC unit tests.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <section role="region"><a id="org.apache.calcite.test.concurrent"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent">ConcurrentTestCommand</a> in <a href="../package-summary.html">org.apache.calcite.test.concurrent</a></h3> |
| <table class="useSummary"> |
| <caption><span>Classes in <a href="../package-summary.html">org.apache.calcite.test.concurrent</a> that implement <a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent">ConcurrentTestCommand</a></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> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../ConcurrentTestCommandGenerator.AbstractCommand.html" title="class in org.apache.calcite.test.concurrent">ConcurrentTestCommandGenerator.AbstractCommand</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">abstract base to handle SQLExceptions</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>(package private) static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../ConcurrentTestCommandGenerator.AutoSynchronizationCommand.html" title="class in org.apache.calcite.test.concurrent">ConcurrentTestCommandGenerator.AutoSynchronizationCommand</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">AutoSynchronizationCommand is idential to SynchronizationCommand, except |
| that it is generated automatically by the test harness and is not counted |
| when displaying the step number in which an error occurred.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../ConcurrentTestCommandGenerator.CloseCommand.html" title="class in org.apache.calcite.test.concurrent">ConcurrentTestCommandGenerator.CloseCommand</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">CloseCommand closes a previously prepared statement.</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="../ConcurrentTestCommandGenerator.CommandWithTimeout.html" title="class in org.apache.calcite.test.concurrent">ConcurrentTestCommandGenerator.CommandWithTimeout</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Command that executes statements with a given timeout.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../ConcurrentTestCommandGenerator.CommitCommand.html" title="class in org.apache.calcite.test.concurrent">ConcurrentTestCommandGenerator.CommitCommand</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">CommitCommand commits pending transactions via |
| <code>Connection.commit()</code>.</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="../ConcurrentTestCommandGenerator.DdlCommand.html" title="class in org.apache.calcite.test.concurrent">ConcurrentTestCommandGenerator.DdlCommand</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">DdlCommand executes DDL commands.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../ConcurrentTestCommandGenerator.ExplainCommand.html" title="class in org.apache.calcite.test.concurrent">ConcurrentTestCommandGenerator.ExplainCommand</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">ExplainCommand executes explain plan commands.</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="../ConcurrentTestCommandGenerator.FetchAndCompareCommand.html" title="class in org.apache.calcite.test.concurrent">ConcurrentTestCommandGenerator.FetchAndCompareCommand</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">FetchAndCompareCommand executes a previously prepared statement stored in |
| the ConcurrentTestCommandExecutor and then validates the returned |
| rows against expected data.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../ConcurrentTestCommandGenerator.InsertCommand.html" title="class in org.apache.calcite.test.concurrent">ConcurrentTestCommandGenerator.InsertCommand</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">InsertCommand exeutes an insert, update or delete SQL statement.</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="../ConcurrentTestCommandGenerator.PrepareCommand.html" title="class in org.apache.calcite.test.concurrent">ConcurrentTestCommandGenerator.PrepareCommand</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">PrepareCommand creates a <code>PreparedStatement</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../ConcurrentTestCommandGenerator.RollbackCommand.html" title="class in org.apache.calcite.test.concurrent">ConcurrentTestCommandGenerator.RollbackCommand</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">RollbackCommand rolls back pending transactions via |
| <code>Connection.rollback()</code>.</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="../ConcurrentTestCommandGenerator.SleepCommand.html" title="class in org.apache.calcite.test.concurrent">ConcurrentTestCommandGenerator.SleepCommand</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">SleepCommand causes the execution thread to wait for all other threads in |
| the test before continuing.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>(package private) static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../ConcurrentTestCommandGenerator.SynchronizationCommand.html" title="class in org.apache.calcite.test.concurrent">ConcurrentTestCommandGenerator.SynchronizationCommand</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">SynchronizationCommand causes the execution thread to wait for all other |
| threads in the test before continuing.</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="../ConcurrentTestCommandScript.CommandWithTimeout.html" title="class in org.apache.calcite.test.concurrent">ConcurrentTestCommandScript.CommandWithTimeout</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Command that has a timeout.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../ConcurrentTestCommandScript.CommandWithTimeoutAndRowLimit.html" title="class in org.apache.calcite.test.concurrent">ConcurrentTestCommandScript.CommandWithTimeoutAndRowLimit</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Command with timeout and row limit.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../ConcurrentTestCommandScript.EchoCommand.html" title="class in org.apache.calcite.test.concurrent">ConcurrentTestCommandScript.EchoCommand</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Echo command.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../ConcurrentTestCommandScript.FetchAndPrintCommand.html" title="class in org.apache.calcite.test.concurrent">ConcurrentTestCommandScript.FetchAndPrintCommand</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">FetchAndPrintCommand executes a previously prepared statement stored |
| inthe ConcurrentTestCommandExecutor and then outputs the returned |
| rows.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../ConcurrentTestCommandScript.PluginCommand.html" title="class in org.apache.calcite.test.concurrent">ConcurrentTestCommandScript.PluginCommand</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Plugin command.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../ConcurrentTestCommandScript.PrepareCommand.html" title="class in org.apache.calcite.test.concurrent">ConcurrentTestCommandScript.PrepareCommand</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">PrepareCommand creates a <code>PreparedStatement</code>, which is saved as the |
| current statement of its test thread.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../ConcurrentTestCommandScript.PrintCommand.html" title="class in org.apache.calcite.test.concurrent">ConcurrentTestCommandScript.PrintCommand</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Print command.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../ConcurrentTestCommandScript.SelectCommand.html" title="class in org.apache.calcite.test.concurrent">ConcurrentTestCommandScript.SelectCommand</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">SelectCommand creates and executes a SQL select statement, with optional |
| timeout and row limit.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../ConcurrentTestCommandScript.ShellCommand.html" title="class in org.apache.calcite.test.concurrent">ConcurrentTestCommandScript.ShellCommand</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Shell command.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../ConcurrentTestCommandScript.SqlCommand.html" title="class in org.apache.calcite.test.concurrent">ConcurrentTestCommandScript.SqlCommand</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">SelectCommand creates and executes a SQL select statement, with optional |
| timeout.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Fields in <a href="../package-summary.html">org.apache.calcite.test.concurrent</a> declared as <a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent">ConcurrentTestCommand</a></span><span class="tabEnd"> </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> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent">ConcurrentTestCommand</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConcurrentTestCommandExecutor.</span><code><span class="memberNameLink"><a href="../ConcurrentTestCommandExecutor.html#errorCommand">errorCommand</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Command throwing error *</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Fields in <a href="../package-summary.html">org.apache.calcite.test.concurrent</a> with type parameters of type <a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent">ConcurrentTestCommand</a></span><span class="tabEnd"> </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> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private java.lang.Iterable<<a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent">ConcurrentTestCommand</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConcurrentTestCommandExecutor.</span><code><span class="memberNameLink"><a href="../ConcurrentTestCommandExecutor.html#commands">commands</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Command sequence for this thread.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private java.util.TreeMap<java.lang.Integer,​java.util.TreeMap<java.lang.Integer,​<a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent">ConcurrentTestCommand</a>>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConcurrentTestCommandGenerator.</span><code><span class="memberNameLink"><a href="../ConcurrentTestCommandGenerator.html#threadMap">threadMap</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Maps Integer thread IDs to a TreeMap.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../package-summary.html">org.apache.calcite.test.concurrent</a> that return <a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent">ConcurrentTestCommand</a></span><span class="tabEnd"> </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> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent">ConcurrentTestCommand</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConcurrentTestCommandGenerator.</span><code><span class="memberNameLink"><a href="../ConcurrentTestCommandGenerator.html#addCloseCommand(int,int)">addCloseCommand</a></span>​(int threadId, |
| int order)</code></th> |
| <td class="colLast"> |
| <div class="block">Closes a previously <a href="../ConcurrentTestCommandGenerator.html#addPrepareCommand(int,int,java.lang.String)"><code>prepared</code></a> |
| SQL statement.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent">ConcurrentTestCommand</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConcurrentTestCommandGenerator.</span><code><span class="memberNameLink"><a href="../ConcurrentTestCommandGenerator.html#addCommand(int,int,org.apache.calcite.test.concurrent.ConcurrentTestCommand)">addCommand</a></span>​(int threadId, |
| int order, |
| <a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent">ConcurrentTestCommand</a> command)</code></th> |
| <td class="colLast"> |
| <div class="block">Handles adding a command to <a href="../ConcurrentTestCommandGenerator.html#threadMap"><code>ConcurrentTestCommandGenerator.threadMap</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent">ConcurrentTestCommand</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConcurrentTestCommandGenerator.</span><code><span class="memberNameLink"><a href="../ConcurrentTestCommandGenerator.html#addCommitCommand(int,int)">addCommitCommand</a></span>​(int threadId, |
| int order)</code></th> |
| <td class="colLast"> |
| <div class="block">Commits pending transaction on the thread's connection.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent">ConcurrentTestCommand</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConcurrentTestCommandGenerator.</span><code><span class="memberNameLink"><a href="../ConcurrentTestCommandGenerator.html#addDdlCommand(int,int,java.lang.String)">addDdlCommand</a></span>​(int threadId, |
| int order, |
| java.lang.String ddl)</code></th> |
| <td class="colLast"> |
| <div class="block">Executes a DDL statement immediately.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent">ConcurrentTestCommand</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConcurrentTestCommandGenerator.</span><code><span class="memberNameLink"><a href="../ConcurrentTestCommandGenerator.html#addExplainCommand(int,int,java.lang.String)">addExplainCommand</a></span>​(int threadId, |
| int order, |
| java.lang.String sql)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds an "explain plan" command.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent">ConcurrentTestCommand</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConcurrentTestCommandGenerator.</span><code><span class="memberNameLink"><a href="../ConcurrentTestCommandGenerator.html#addFetchAndCompareCommand(int,int,int,java.lang.String)">addFetchAndCompareCommand</a></span>​(int threadId, |
| int order, |
| int timeout, |
| java.lang.String expected)</code></th> |
| <td class="colLast"> |
| <div class="block">Executes a previously |
| <a href="../ConcurrentTestCommandGenerator.html#addPrepareCommand(int,int,java.lang.String)"><code>prepared</code></a> SQL statement and |
| compares its <code>ResultSet</code> to the given data.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent">ConcurrentTestCommand</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConcurrentTestCommandGenerator.</span><code><span class="memberNameLink"><a href="../ConcurrentTestCommandGenerator.html#addInsertCommand(int,int,int,java.lang.String)">addInsertCommand</a></span>​(int threadId, |
| int order, |
| int timeout, |
| java.lang.String sql)</code></th> |
| <td class="colLast"> |
| <div class="block">Executes the given SQL via <code>Statement.executeUpdate(String)</code>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent">ConcurrentTestCommand</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConcurrentTestCommandGenerator.</span><code><span class="memberNameLink"><a href="../ConcurrentTestCommandGenerator.html#addPrepareCommand(int,int,java.lang.String)">addPrepareCommand</a></span>​(int threadId, |
| int order, |
| java.lang.String sql)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <code>PreparedStatement</code> for the given SQL.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent">ConcurrentTestCommand</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConcurrentTestCommandGenerator.</span><code><span class="memberNameLink"><a href="../ConcurrentTestCommandGenerator.html#addRollbackCommand(int,int)">addRollbackCommand</a></span>​(int threadId, |
| int order)</code></th> |
| <td class="colLast"> |
| <div class="block">Rolls back pending transaction on the thread's connection.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent">ConcurrentTestCommand</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConcurrentTestCommandGenerator.</span><code><span class="memberNameLink"><a href="../ConcurrentTestCommandGenerator.html#addSleepCommand(int,int,long)">addSleepCommand</a></span>​(int threadId, |
| int order, |
| long millis)</code></th> |
| <td class="colLast"> |
| <div class="block">Causes the given thread to sleep for the indicated number of |
| milliseconds.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent">ConcurrentTestCommand</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConcurrentTestCommandGenerator.</span><code><span class="memberNameLink"><a href="../ConcurrentTestCommandGenerator.html#addSynchronizationCommand(int,int)">addSynchronizationCommand</a></span>​(int threadId, |
| int order)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds a synchronization commands.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent">ConcurrentTestCommand</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConcurrentTestCommandExecutor.</span><code><span class="memberNameLink"><a href="../ConcurrentTestCommandExecutor.html#getFailureCommand()">getFailureCommand</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent">ConcurrentTestCommand</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConcurrentTestCommand.</span><code><span class="memberNameLink"><a href="../ConcurrentTestCommand.html#markToFail()">markToFail</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Set this command to expect a patternless failure.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent">ConcurrentTestCommand</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConcurrentTestCommand.</span><code><span class="memberNameLink"><a href="../ConcurrentTestCommand.html#markToFail(java.lang.String,java.lang.String)">markToFail</a></span>​(java.lang.String comment, |
| java.lang.String pattern)</code></th> |
| <td class="colLast"> |
| <div class="block">Marks a command to show that it is expected to fail, and indicates how.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent">ConcurrentTestCommand</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConcurrentTestCommandGenerator.AbstractCommand.</span><code><span class="memberNameLink"><a href="../ConcurrentTestCommandGenerator.AbstractCommand.html#markToFail()">markToFail</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent">ConcurrentTestCommand</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConcurrentTestCommandGenerator.AbstractCommand.</span><code><span class="memberNameLink"><a href="../ConcurrentTestCommandGenerator.AbstractCommand.html#markToFail(java.lang.String,java.lang.String)">markToFail</a></span>​(java.lang.String comment, |
| java.lang.String pattern)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../package-summary.html">org.apache.calcite.test.concurrent</a> that return types with arguments of type <a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent">ConcurrentTestCommand</a></span><span class="tabEnd"> </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> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>(package private) java.lang.Iterable<<a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent">ConcurrentTestCommand</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConcurrentTestCommandGenerator.</span><code><span class="memberNameLink"><a href="../ConcurrentTestCommandGenerator.html#getCommandIterable(int)">getCommandIterable</a></span>​(int threadId)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns an <code>Iterator</code> of <a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent"><code>ConcurrentTestCommand</code></a> |
| objects for the given thread ID.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>(package private) java.lang.Iterable<<a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent">ConcurrentTestCommand</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConcurrentTestTimedCommandGenerator.</span><code><span class="memberNameLink"><a href="../ConcurrentTestTimedCommandGenerator.html#getCommandIterable(int)">getCommandIterable</a></span>​(int threadId)</code></th> |
| <td class="colLast"> |
| <div class="block">Retrieves an Iterator based on the configured commands.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>(package private) java.util.Collection<<a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent">ConcurrentTestCommand</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConcurrentTestCommandGenerator.</span><code><span class="memberNameLink"><a href="../ConcurrentTestCommandGenerator.html#getCommands(int)">getCommands</a></span>​(int threadId)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a <code>Collection</code> of <a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent"><code>ConcurrentTestCommand</code></a> |
| objects for the given thread ID.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../package-summary.html">org.apache.calcite.test.concurrent</a> with parameters of type <a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent">ConcurrentTestCommand</a></span><span class="tabEnd"> </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> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent">ConcurrentTestCommand</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConcurrentTestCommandGenerator.</span><code><span class="memberNameLink"><a href="../ConcurrentTestCommandGenerator.html#addCommand(int,int,org.apache.calcite.test.concurrent.ConcurrentTestCommand)">addCommand</a></span>​(int threadId, |
| int order, |
| <a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent">ConcurrentTestCommand</a> command)</code></th> |
| <td class="colLast"> |
| <div class="block">Handles adding a command to <a href="../ConcurrentTestCommandGenerator.html#threadMap"><code>ConcurrentTestCommandGenerator.threadMap</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConcurrentTestCommandExecutor.</span><code><span class="memberNameLink"><a href="../ConcurrentTestCommandExecutor.html#handleError(java.lang.Throwable,java.lang.String,org.apache.calcite.test.concurrent.ConcurrentTestCommand)">handleError</a></span>​(java.lang.Throwable error, |
| java.lang.String when, |
| <a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent">ConcurrentTestCommand</a> command)</code></th> |
| <td class="colLast"> |
| <div class="block">Handles details of an exception during execution.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Constructor parameters in <a href="../package-summary.html">org.apache.calcite.test.concurrent</a> with type arguments of type <a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent">ConcurrentTestCommand</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../ConcurrentTestCommandExecutor.html#%3Cinit%3E(int,java.lang.String,java.lang.String,java.util.Properties,java.lang.Iterable,org.apache.calcite.test.concurrent.ConcurrentTestCommandExecutor.Sync,java.io.PrintStream)">ConcurrentTestCommandExecutor</a></span>​(int threadId, |
| java.lang.String threadName, |
| java.lang.String jdbcURL, |
| java.util.Properties jdbcProps, |
| java.lang.Iterable<<a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent">ConcurrentTestCommand</a>> commands, |
| <a href="../ConcurrentTestCommandExecutor.Sync.html" title="class in org.apache.calcite.test.concurrent">ConcurrentTestCommandExecutor.Sync</a> synchronizer, |
| java.io.PrintStream debugPrintStream)</code></th> |
| <td class="colLast"> |
| <div class="block">Constructs a ConcurrentTestCommandExecutor with the given thread |
| ID, JDBC URL, commands and synchronization object.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| </ul> |
| </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><a href="../package-summary.html">Package</a></li> |
| <li><a href="../ConcurrentTestCommand.html" title="interface in org.apache.calcite.test.concurrent">Class</a></li> |
| <li class="navBarCell1Rev">Use</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> |