| Modifier and Type | Field and Description |
|---|---|
| public static final int |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | disableStreamingResults()
Resets this statements fetch size and result set type to the values they had before enableStreamingResults() was called. |
| public void | doClose(CloseOption...
options indicating how the close was initiated and/or what should be performed during the close options)Closes this Statement and release resources. |
| public 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. |
| public ExceptionInterceptor | |
| public InputStream | Returns: input streamReturns the InputStream instance that will be used to send data in response to a "LOAD DATA LOCAL INFILE" statement. |
| public int | Returns: the number of open result sets for this statementReturns the number of open result sets for this statement. |
| public Query | |
| public ResultSetInternalMethods | |
| public void | notifyResultSetClose(ResultSetInternalMethods
The ResultSet being closed rs)Callback for ResultSet instances to notify the owning Statement when they are being closed. |
| public void | |
| public void | |
| public void | setLocalInfileInputStream(InputStream
input stream 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. |
| public void |
| MAX_ROWS | back to summary |
|---|---|
| public static final int MAX_ROWS | |
| clearAttributes | back to summary |
|---|---|
| public void clearAttributes() | |
| disableStreamingResults | back to summary |
|---|---|
| public void disableStreamingResults() throws SQLException Resets this statements fetch size and result set type to the values they had before enableStreamingResults() was called.
| |
| doClose | back to summary |
|---|---|
| public void doClose(CloseOption... options) throws SQLException Closes this Statement and release resources.
| |
| enableStreamingResults | back to summary |
|---|---|
| public void enableStreamingResults() throws SQLException 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.
| |
| getExceptionInterceptor | back to summary |
|---|---|
| public ExceptionInterceptor getExceptionInterceptor() | |
| getLocalInfileInputStream | back to summary |
|---|---|
| public InputStream getLocalInfileInputStream() Returns the InputStream instance that will be used to send data in response to a "LOAD DATA LOCAL INFILE" statement. This method returns NULL if no such stream has been set via setLocalInfileInputStream().
| |
| getOpenResultSetCount | back to summary |
|---|---|
| public int getOpenResultSetCount() Returns the number of open result sets for this statement.
| |
| getQuery | back to summary |
|---|---|
| public Query getQuery() | |
| getResultSetInternal | back to summary |
|---|---|
| public ResultSetInternalMethods getResultSetInternal() | |
| notifyResultSetClose | back to summary |
|---|---|
| public void notifyResultSetClose(ResultSetInternalMethods rs) Callback for ResultSet instances to notify the owning Statement when they are being closed.
| |
| setAttribute | back to summary |
|---|---|
| public void setAttribute(String name, Object value) | |
| setHoldResultsOpenOverClose | back to summary |
|---|---|
| public void setHoldResultsOpenOverClose(boolean holdResultsOpenOverClose) | |
| setLocalInfileInputStream | back to summary |
|---|---|
| public void setLocalInfileInputStream(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. This stream will be read to completion upon execution of a "LOAD DATA LOCAL INFILE" statement, and will automatically be closed by the driver, so it needs to be reset before each call to execute*() that would cause the MySQL server to request data to fulfill the request for "LOAD DATA LOCAL INFILE". If this value is set to NULL, the driver will revert to using a FileInputStream or URLInputStream as required.
| |
| setPingTarget | back to summary |
|---|---|
| public void setPingTarget(PingTarget pingTarget) | |