Interface IgniteJdbcStatement

All Superinterfaces:
AutoCloseable, Statement, Wrapper

public interface IgniteJdbcStatement extends Statement
Extension of the Statement interface that exposes Ignite-specific configuration options.

Use Wrapper.unwrap(Class) to obtain an instance of this interface from a standard Statement:


 Statement stm = ...
 stm.unwrap(IgniteJdbcStatement.class)
     .setMemoryQuotaBlockSize(1024L);
 
  • Method Details

    • getMemoryQuotaBlockSize

      @Nullable @Nullable Long getMemoryQuotaBlockSize() throws SQLException
      Returns memory quota block size for this statement.
      Returns:
      Memory quota block size in bytes, or null if system default is used.
      Throws:
      SQLException
    • setMemoryQuotaBlockSize

      void setMemoryQuotaBlockSize(@Nullable @Nullable Long memoryQuotaBlockSize) throws SQLException
      Sets a memory quota block size for this statement.
      Parameters:
      memoryQuotaBlockSize - Memory quota block size in bytes, or null to use the system default.
      Throws:
      SQLException