|
Oracle® TimesTen In-Memory Database JDBC Extensions Java API Reference 11g Release 2 (11.2.2) E21647-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TimesTenStatement
Contains Oracle TimesTen extension to Statement.
| 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 | |
|---|---|
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. |
| Methods inherited from interface java.sql.Statement |
|---|
addBatch, cancel, clearBatch, clearWarnings, close, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isPoolable, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout |
| Methods inherited from interface java.sql.Wrapper |
|---|
isWrapperFor, unwrap |
| Method Detail |
|---|
void setQueryTimeThreshold(int seconds)
throws java.sql.SQLException
seconds - >= 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 < 0
int getQueryTimeThreshold()
throws java.sql.SQLException
java.sql.SQLException - if a database error occurs.
void setLobPrefetchSize(int value)
throws java.sql.SQLException
value - must be >= -1. -1 disables the feature. 0 enables LOB prefetch of meta data only (lob length and chunk size). Any value >=0 represents the number of bytes to be prefetched for BLOB and the number of chars for CLOB.java.sql.SQLException - if value < -1.TimesTenConnection
int getLobPrefetchSize()
throws java.sql.SQLException
java.sql.SQLException - if a database error occurs.
|
Oracle® TimesTen In-Memory Database JDBC Extensions Java API Reference 11g Release 2 (11.2.2) E21647-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||