Class ConcurrentTestCommandScript.PrintCommand
- java.lang.Object
-
- org.apache.calcite.test.concurrent.ConcurrentTestCommandGenerator.AbstractCommand
-
- org.apache.calcite.test.concurrent.ConcurrentTestCommandScript.PrintCommand
-
- All Implemented Interfaces:
ConcurrentTestCommand
- Enclosing class:
- ConcurrentTestCommandScript
private class ConcurrentTestCommandScript.PrintCommand extends ConcurrentTestCommandGenerator.AbstractCommand
Print command.When executed, a @print command defines how any following @fetch or @select commands will handle their resuult rows. MTSQL can print all rows, no rows, or every nth row. A printed row can be prefixed by a sequence nuber and/or the time it was received (a different notion than its rowtime, which often tells when it was inserted).
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.calcite.test.concurrent.ConcurrentTestCommand
ConcurrentTestCommand.ShouldHaveFailedException
-
-
Constructor Summary
Constructors Constructor Description PrintCommand(java.lang.String spec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doExecute(ConcurrentTestCommandExecutor executor)
-
Methods inherited from class org.apache.calcite.test.concurrent.ConcurrentTestCommandGenerator.AbstractCommand
execute, isFailureExpected, markToFail, markToFail
-
-
-
-
Method Detail
-
doExecute
protected void doExecute(ConcurrentTestCommandExecutor executor) throws java.sql.SQLException
- Specified by:
doExecute
in classConcurrentTestCommandGenerator.AbstractCommand
- Throws:
java.sql.SQLException
-
-