public interface Statement extends java.sql.Statement, Wrapper
Modifier and Type | Method and Description |
---|---|
void |
disableStreamingResults()
Resets this statements fetch size and result set type to the values
they had before enableStreamingResults() was called.
|
void |
enableStreamingResults()
Workaround for containers that 'check' for sane values of
Statement.setFetchSize() so that applications can use
the Java variant of libmysql's mysql_use_result() behavior.
|
ExceptionInterceptor |
getExceptionInterceptor() |
java.io.InputStream |
getLocalInfileInputStream()
Returns the InputStream instance that will be used to send
data in response to a "LOAD DATA LOCAL INFILE" statement.
|
int |
getOpenResultSetCount()
Returns the number of open result sets for this statement.
|
void |
removeOpenResultSet(ResultSetInternalMethods rs)
Callback for result set instances to remove them from the Set that
tracks them per-statement
|
void |
setHoldResultsOpenOverClose(boolean holdResultsOpenOverClose) |
void |
setLocalInfileInputStream(java.io.InputStream stream)
Sets an InputStream instance that will be used to send data
to the MySQL server for a "LOAD DATA LOCAL INFILE" statement
rather than a FileInputStream or URLInputStream that represents
the path given as an argument to the statement.
|
void |
setPingTarget(PingTarget pingTarget) |
addBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, 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, isCloseOnCompletion, isPoolable, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout
isWrapperFor, unwrap
void enableStreamingResults() throws java.sql.SQLException
java.sql.SQLException
void disableStreamingResults() throws java.sql.SQLException
java.sql.SQLException
void setLocalInfileInputStream(java.io.InputStream stream)
java.io.InputStream getLocalInfileInputStream()
void setPingTarget(PingTarget pingTarget)
ExceptionInterceptor getExceptionInterceptor()
void removeOpenResultSet(ResultSetInternalMethods rs)
int getOpenResultSetCount()
void setHoldResultsOpenOverClose(boolean holdResultsOpenOverClose)