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.
|
int |
getTtNetMsgMaxBytes()
Returns the
TT_NET_MSG_MAX_BYTES value |
int |
getTtNetMsgMaxRows()
Returns the
TT_NET_MSG_MAX_ROWS value |
void |
setLobPrefetchSize(int value)
Overrides the existing prefetch size for LOBs.
|
void |
setQueryTimeThreshold(int seconds)
Sets query time threshold for the Statement.
|
void |
setTtNetMsgMaxBytes(int bytes)
Sets the
TT_NET_MSG_MAX_BYTES value |
void |
setTtNetMsgMaxRows(int rows)
Sets the
TT_NET_MSG_MAX_ROWS value |
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, setQueryTimeoutvoid 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.TimesTenConnectionint getLobPrefetchSize()
throws java.sql.SQLException
java.sql.SQLException - if a database error occurs.int getTtNetMsgMaxRows()
throws java.sql.SQLException
TT_NET_MSG_MAX_ROWS valuejava.sql.SQLException - if a database access error occursvoid setTtNetMsgMaxRows(int rows)
throws java.sql.SQLException
TT_NET_MSG_MAX_ROWS valuerows - the value to set TT_NET_MSG_MAX_ROWS tojava.sql.SQLException - if a database access error occursint getTtNetMsgMaxBytes()
throws java.sql.SQLException
TT_NET_MSG_MAX_BYTES valuejava.sql.SQLException - if a database access error occursvoid setTtNetMsgMaxBytes(int bytes)
throws java.sql.SQLException
TT_NET_MSG_MAX_BYTES valuebytes - the value to set TT_NET_MSG_MAX_BYTES tojava.sql.SQLException - if a database access error occurs