java.lang.Object
com.aoapps.sql.wrapper.StatementWrapperImpl
com.aoapps.sql.failfast.FailFastStatementImpl
- All Implemented Interfaces:
StatementWrapper,Wrapper,AutoCloseable,Statement,Wrapper
- Author:
- AO Industries, Inc.
-
Field Summary
Fields inherited from interface java.sql.Statement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO -
Constructor Summary
ConstructorsConstructorDescriptionFailFastStatementImpl(FailFastConnectionImpl failFastConnection, Statement wrapped) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcancel()voidvoidvoidclose()voidenquoteIdentifier(String identifier, boolean alwaysQuote) enquoteLiteral(String val) booleanbooleanbooleanbooleanint[]long[]longexecuteLargeUpdate(String sql) longexecuteLargeUpdate(String sql, int autoGeneratedKeys) longexecuteLargeUpdate(String sql, int[] columnIndexes) longexecuteLargeUpdate(String sql, String[] columnNames) executeQuery(String sql) intexecuteUpdate(String sql) intexecuteUpdate(String sql, int autoGeneratedKeys) intexecuteUpdate(String sql, int[] columnIndexes) intexecuteUpdate(String sql, String[] columnNames) protected FailFastConnectionImplintintlonglongintintbooleanbooleangetMoreResults(int current) intintintintintbooleanisClosed()booleanbooleanbooleanisSimpleIdentifier(String identifier) voidsetCursorName(String name) voidsetEscapeProcessing(boolean enable) voidsetFetchDirection(int direction) voidsetFetchSize(int rows) voidsetLargeMaxRows(long max) voidsetMaxFieldSize(int max) voidsetMaxRows(int max) voidsetPoolable(boolean poolable) voidsetQueryTimeout(int seconds) Methods inherited from class com.aoapps.sql.wrapper.StatementWrapperImpl
getWrapped, toString, wrapResultSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.aoapps.sql.wrapper.Wrapper
isWrapperFor, unwrap
-
Constructor Details
-
FailFastStatementImpl
-
-
Method Details
-
getConnectionWrapper
- Overrides:
getConnectionWrapperin classStatementWrapperImpl
-
executeQuery
- Specified by:
executeQueryin interfaceStatement- Specified by:
executeQueryin interfaceStatementWrapper- Overrides:
executeQueryin classStatementWrapperImpl- Throws:
SQLException
-
executeUpdate
- Throws:
SQLException
-
close
- Throws:
SQLException
-
getMaxFieldSize
- Throws:
SQLException
-
setMaxFieldSize
- Throws:
SQLException
-
getMaxRows
- Throws:
SQLException
-
setMaxRows
- Throws:
SQLException
-
setEscapeProcessing
- Throws:
SQLException
-
getQueryTimeout
- Throws:
SQLException
-
setQueryTimeout
- Throws:
SQLException
-
cancel
- Throws:
SQLException
-
getWarnings
- Throws:
SQLException
-
clearWarnings
- Throws:
SQLException
-
setCursorName
- Throws:
SQLException
-
execute
- Throws:
SQLException
-
getResultSet
- Specified by:
getResultSetin interfaceStatement- Specified by:
getResultSetin interfaceStatementWrapper- Overrides:
getResultSetin classStatementWrapperImpl- Throws:
SQLException
-
getUpdateCount
- Throws:
SQLException
-
getMoreResults
- Throws:
SQLException
-
setFetchDirection
- Throws:
SQLException
-
getFetchDirection
- Throws:
SQLException
-
setFetchSize
- Throws:
SQLException
-
getFetchSize
- Throws:
SQLException
-
getResultSetConcurrency
- Throws:
SQLException
-
getResultSetType
- Throws:
SQLException
-
addBatch
- Throws:
SQLException
-
clearBatch
- Throws:
SQLException
-
executeBatch
- Throws:
SQLException
-
getConnection
- Specified by:
getConnectionin interfaceStatement- Specified by:
getConnectionin interfaceStatementWrapper- Overrides:
getConnectionin classStatementWrapperImpl- Throws:
SQLException
-
getMoreResults
- Throws:
SQLException
-
getGeneratedKeys
- Specified by:
getGeneratedKeysin interfaceStatement- Specified by:
getGeneratedKeysin interfaceStatementWrapper- Overrides:
getGeneratedKeysin classStatementWrapperImpl- Throws:
SQLException
-
executeUpdate
- Throws:
SQLException
-
executeUpdate
- Throws:
SQLException
-
executeUpdate
- Throws:
SQLException
-
execute
- Throws:
SQLException
-
execute
- Throws:
SQLException
-
execute
- Throws:
SQLException
-
getResultSetHoldability
- Throws:
SQLException
-
isClosed
- Throws:
SQLException
-
setPoolable
- Throws:
SQLException
-
isPoolable
- Throws:
SQLException
-
closeOnCompletion
- Throws:
SQLException
-
isCloseOnCompletion
- Throws:
SQLException
-
getLargeUpdateCount
- Throws:
SQLException
-
setLargeMaxRows
- Throws:
SQLException
-
getLargeMaxRows
- Throws:
SQLException
-
executeLargeBatch
- Throws:
SQLException
-
executeLargeUpdate
- Throws:
SQLException
-
executeLargeUpdate
- Throws:
SQLException
-
executeLargeUpdate
- Throws:
SQLException
-
executeLargeUpdate
- Throws:
SQLException
-
enquoteLiteral
- Throws:
SQLException
-
enquoteIdentifier
- Throws:
SQLException
-
isSimpleIdentifier
- Throws:
SQLException
-
enquoteNCharLiteral
- Throws:
SQLException
-
