Interface Operation


public interface Operation
An operation of the driver.

In current implementations, this represents either a statement execution or a fetch.

Note: This is an experimental feature. The implementation or API may be removed or changed at any time.

Since:
4
Author:
Vasiliy Yashkov, Mark Rotteveel
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    Type of operation.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Cancel this operation.
     
  • Method Details

    • getType

      Operation.Type getType()
      Returns:
      The type of operation.
    • cancel

      void cancel() throws SQLException
      Cancel this operation.
      Throws:
      SQLException - If the cancellation failed or if this operation is no longer cancellable.