public abstract class AbstractStatementAdapter extends AbstractUnsupportedOperationStatement
Statement.CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO| Constructor and Description |
|---|
AbstractStatementAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
void |
clearWarnings() |
void |
close() |
protected abstract DriverExecutor |
getExecutor() |
int |
getMaxFieldSize() |
int |
getMaxRows() |
boolean |
getMoreResults() |
boolean |
getMoreResults(int current) |
int |
getQueryTimeout() |
protected abstract Collection<? extends Statement> |
getRoutedStatements() |
protected abstract StatementManager |
getStatementManager() |
int |
getUpdateCount() |
SQLWarning |
getWarnings() |
protected void |
handleExceptionInTransaction(ShardingSphereConnection connection,
org.apache.shardingsphere.mode.metadata.MetaDataContexts metaDataContexts) |
protected abstract boolean |
isAccumulate() |
void |
setEscapeProcessing(boolean enable) |
void |
setFetchDirection(int direction) |
void |
setFetchSize(int rows) |
void |
setMaxFieldSize(int max) |
void |
setMaxRows(int max) |
void |
setPoolable(boolean poolable) |
void |
setQueryTimeout(int seconds) |
addBatch, clearBatch, closeOnCompletion, executeBatch, isCloseOnCompletion, setCursorNameisWrapperFor, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, execute, execute, execute, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getLargeMaxRows, getLargeUpdateCount, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, isClosed, isPoolable, setLargeMaxRowsisWrapperFor, unwrappublic final void setPoolable(boolean poolable)
throws SQLException
SQLExceptionpublic final void setFetchSize(int rows)
throws SQLException
SQLExceptionpublic final void setFetchDirection(int direction)
throws SQLException
SQLExceptionpublic final int getMaxFieldSize()
throws SQLException
SQLExceptionpublic final void setMaxFieldSize(int max)
throws SQLException
SQLExceptionpublic final int getMaxRows()
throws SQLException
SQLExceptionpublic final void setMaxRows(int max)
throws SQLException
SQLExceptionpublic final int getQueryTimeout()
throws SQLException
SQLExceptionpublic final void setQueryTimeout(int seconds)
throws SQLException
SQLExceptionpublic final void setEscapeProcessing(boolean enable)
throws SQLException
SQLExceptionpublic final int getUpdateCount()
throws SQLException
SQLExceptionpublic final boolean getMoreResults()
throws SQLException
SQLExceptionpublic final boolean getMoreResults(int current)
public final SQLWarning getWarnings()
public final void clearWarnings()
public final void cancel()
throws SQLException
SQLExceptionpublic final void close()
throws SQLException
SQLExceptionprotected final void handleExceptionInTransaction(ShardingSphereConnection connection, org.apache.shardingsphere.mode.metadata.MetaDataContexts metaDataContexts)
protected abstract boolean isAccumulate()
protected abstract Collection<? extends Statement> getRoutedStatements()
protected abstract DriverExecutor getExecutor()
protected abstract StatementManager getStatementManager()
Copyright © 2022 The Apache Software Foundation. All rights reserved.