public interface JdbcStatement extends java.sql.Statement, Query
Query.CancelStatus| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_ROWS |
| 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.
|
Query |
getQuery() |
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, 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, setQueryTimeoutaddBatch, checkCancelTimeout, clearBatchedArgs, closeQuery, getBatchedArgs, getCancelTimeoutMutex, getCurrentDatabase, getExecuteTime, getId, getResultFetchSize, getResultSetFactory, getResultType, getSession, getStatementExecuting, getTimeoutInMillis, isClearWarningsCalled, resetCancelledState, setCancelStatus, setClearWarningsCalled, setCurrentDatabase, setExecuteTime, setResultFetchSize, setResultType, setTimeoutInMillis, startQueryTimer, statementBegins, stopQueryTimerstatic final int MAX_ROWS
void enableStreamingResults()
throws java.sql.SQLException
java.sql.SQLException - if an error occursvoid disableStreamingResults()
throws java.sql.SQLException
java.sql.SQLException - if an error occursvoid setLocalInfileInputStream(java.io.InputStream stream)
stream - input streamjava.io.InputStream getLocalInfileInputStream()
void setPingTarget(PingTarget pingTarget)
ExceptionInterceptor getExceptionInterceptor()
void removeOpenResultSet(ResultSetInternalMethods rs)
rs - result setint getOpenResultSetCount()
void setHoldResultsOpenOverClose(boolean holdResultsOpenOverClose)
Query getQuery()