Package org.apache.ignite.jdbc
Interface IgniteJdbcStatement
- All Superinterfaces:
AutoCloseable,Statement,Wrapper
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);
-
Field Summary
Fields inherited from interface java.sql.Statement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO -
Method Summary
Modifier and TypeMethodDescription@Nullable LongReturns memory quota block size for this statement.voidsetMemoryQuotaBlockSize(@Nullable Long memoryQuotaBlockSize) Sets a memory quota block size for this statement.Methods inherited from interface java.sql.Statement
addBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, execute, execute, execute, execute, executeBatch, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getLargeMaxRows, getLargeUpdateCount, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, isSimpleIdentifier, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeoutMethods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
-
Method Details
-
getMemoryQuotaBlockSize
Returns memory quota block size for this statement.- Returns:
- Memory quota block size in bytes, or
nullif system default is used. - Throws:
SQLException
-
setMemoryQuotaBlockSize
Sets a memory quota block size for this statement.- Parameters:
memoryQuotaBlockSize- Memory quota block size in bytes, ornullto use the system default.- Throws:
SQLException
-