public interface TimesTenStatement
extends java.sql.Statement
Modifier and Type | Method and Description |
---|---|
int |
getLobPrefetchSize()
Returns the LOB prefetch size.
|
int |
getQueryTimeThreshold()
Returns value of query time threshold in effect.
|
void |
setLobPrefetchSize(int value)
Overrides the existing prefetch size for LOBs.
|
void |
setQueryTimeThreshold(int seconds)
Sets query time threshold for the Statement.
|
addBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, 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, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout
void setQueryTimeThreshold(int seconds) throws java.sql.SQLException
seconds
- equals or greater than 0. 0 Implies no query time threshold. You can use zero to annul the current query time thresold.java.sql.SQLException
- if a database error occurs or seconds less than 0int getQueryTimeThreshold() throws java.sql.SQLException
java.sql.SQLException
- if a database error occurs.void setLobPrefetchSize(int value) throws java.sql.SQLException
value
- must be equals or greater than -1. -1 disables the feature. 0 enables LOB prefetch of meta data only (lob length and chunk size). Any value equals or greater than 0 represents the number of bytes to be prefetched for BLOB and the number of chars for CLOB.java.sql.SQLException
- if value is less than -1.TimesTenConnection
int getLobPrefetchSize() throws java.sql.SQLException
java.sql.SQLException
- if a database error occurs.