org.eigenbase.test.concurrent
Class ConcurrentTestCommandScript.FetchAndPrintCommand

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.FetchAndPrintCommand
All Implemented Interfaces:
ConcurrentTestCommand
Enclosing class:
ConcurrentTestCommandScript

private class ConcurrentTestCommandScript.FetchAndPrintCommand
extends ConcurrentTestCommandScript.CommandWithTimeout

FetchAndPrintCommand executes a previously prepared statement stored inthe ConcurrentTestCommandExecutor and then outputs the returned rows.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eigenbase.test.concurrent.ConcurrentTestCommand
ConcurrentTestCommand.ShouldHaveFailedException
 
Constructor Summary
private ConcurrentTestCommandScript.FetchAndPrintCommand(long timeout)
           
 
Method Summary
protected  void doExecute(ConcurrentTestCommandExecutor executor)
           
 
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
 

Constructor Detail

ConcurrentTestCommandScript.FetchAndPrintCommand

private ConcurrentTestCommandScript.FetchAndPrintCommand(long timeout)
Method Detail

doExecute

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