org.eigenbase.test.concurrent
Class ConcurrentTestCommandScript.SelectCommand

java.lang.Object
  extended by org.eigenbase.test.concurrent.ConcurrentTestCommandGenerator.AbstractCommand
      extended by org.eigenbase.test.concurrent.ConcurrentTestCommandScript.CommandWithTimeout
          extended by org.eigenbase.test.concurrent.ConcurrentTestCommandScript.CommandWithTimeoutAndRowLimit
              extended by org.eigenbase.test.concurrent.ConcurrentTestCommandScript.SelectCommand
All Implemented Interfaces:
ConcurrentTestCommand
Enclosing class:
ConcurrentTestCommandScript

private class ConcurrentTestCommandScript.SelectCommand
extends ConcurrentTestCommandScript.CommandWithTimeoutAndRowLimit

SelectCommand creates and executes a SQL select statement, with optional timeout and row limit.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eigenbase.test.concurrent.ConcurrentTestCommand
ConcurrentTestCommand.ShouldHaveFailedException
 
Field Summary
private  String sql
           
 
Constructor Summary
private ConcurrentTestCommandScript.SelectCommand(String sql)
           
private ConcurrentTestCommandScript.SelectCommand(String sql, boolean errorExpected)
           
private ConcurrentTestCommandScript.SelectCommand(String sql, long timeout)
           
private ConcurrentTestCommandScript.SelectCommand(String sql, long timeout, int rowLimit)
           
 
Method Summary
protected  void doExecute(ConcurrentTestCommandExecutor executor)
           
 
Methods inherited from class org.eigenbase.test.concurrent.ConcurrentTestCommandScript.CommandWithTimeoutAndRowLimit
setRowLimit
 
Methods inherited from class org.eigenbase.test.concurrent.ConcurrentTestCommandScript.CommandWithTimeout
setTimeout
 
Methods inherited from class org.eigenbase.test.concurrent.ConcurrentTestCommandGenerator.AbstractCommand
execute, isFailureExpected, markToFail, markToFail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sql

private String sql
Constructor Detail

ConcurrentTestCommandScript.SelectCommand

private ConcurrentTestCommandScript.SelectCommand(String sql)

ConcurrentTestCommandScript.SelectCommand

private ConcurrentTestCommandScript.SelectCommand(String sql,
                                                  boolean errorExpected)

ConcurrentTestCommandScript.SelectCommand

private ConcurrentTestCommandScript.SelectCommand(String sql,
                                                  long timeout)

ConcurrentTestCommandScript.SelectCommand

private ConcurrentTestCommandScript.SelectCommand(String sql,
                                                  long timeout,
                                                  int rowLimit)
Method Detail

doExecute

protected void doExecute(ConcurrentTestCommandExecutor executor)
                  throws SQLException
Specified by:
doExecute in class ConcurrentTestCommandGenerator.AbstractCommand
Throws:
SQLException