Class ConcurrentTestCommandScript.PrepareCommand

  • All Implemented Interfaces:
    Enclosing class:

    private class ConcurrentTestCommandScript.PrepareCommand
    extends ConcurrentTestCommandGenerator.AbstractCommand
    PrepareCommand creates a PreparedStatement, which is saved as the current statement of its test thread. For a preparted query (a SELECT or a CALL with results), a subsequent FetchAndPrintCommand executes the statement and fetches its reults, until end-of-data or a timeout. A PrintCommand attaches a listener, called for each rows, that selects rows to save and print, and sets the format. By default, if no PrintCommand appears before a FetchAndPrintCommand, all rows are printed. A CloseCommand closes and discards the prepared statement.