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 org.apache.shardingsphere.infra.executor.sql.federate.execute.FederateExecutor |
getFederateExecutor() |
int |
getFetchDirection() |
int |
getFetchSize() |
int |
getMaxFieldSize() |
int |
getMaxRows() |
boolean |
getMoreResults() |
boolean |
getMoreResults(int current) |
int |
getQueryTimeout() |
protected abstract Collection<? extends Statement> |
getRoutedStatements() |
int |
getUpdateCount() |
SQLWarning |
getWarnings() |
protected abstract boolean |
isAccumulate() |
boolean |
isClosed() |
boolean |
isPoolable() |
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, recordMethodInvocation, replayMethodsInvocation, 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, getGeneratedKeys, getLargeMaxRows, getLargeUpdateCount, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, setLargeMaxRowsisWrapperFor, unwrappublic final void close()
throws SQLException
SQLExceptionpublic final boolean isClosed()
public final boolean isPoolable()
public final void setPoolable(boolean poolable)
throws SQLException
SQLExceptionpublic final int getFetchSize()
public final void setFetchSize(int rows)
throws SQLException
SQLExceptionpublic int getFetchDirection()
public void setFetchDirection(int direction)
throws SQLException
SQLExceptionpublic final void setEscapeProcessing(boolean enable)
throws SQLException
SQLExceptionpublic final void cancel()
throws SQLException
SQLExceptionpublic final int getUpdateCount()
throws SQLException
SQLExceptionpublic final SQLWarning getWarnings()
public final void clearWarnings()
public final boolean getMoreResults()
throws SQLException
SQLExceptionpublic final boolean getMoreResults(int current)
public 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
SQLExceptionprotected abstract boolean isAccumulate()
protected abstract Collection<? extends Statement> getRoutedStatements()
protected abstract org.apache.shardingsphere.infra.executor.sql.federate.execute.FederateExecutor getFederateExecutor()
Copyright © 2021 The Apache Software Foundation. All rights reserved.