Class DelegatingDataSource.DelegatingConnection.DelegatingStatement
- java.lang.Object
- 
- com.inductiveautomation.ignition.gateway.localdb.DelegatingDataSource.DelegatingConnection.DelegatingStatement
 
- 
- All Implemented Interfaces:
- java.lang.AutoCloseable,- java.sql.Statement,- java.sql.Wrapper
 - Direct Known Subclasses:
- CountingDataSource.CountingConnection.CountingStatement,- DelegatingDataSource.DelegatingConnection.DelegatingPreparedStatement
 - Enclosing class:
- DelegatingDataSource.DelegatingConnection
 
 protected class DelegatingDataSource.DelegatingConnection.DelegatingStatement extends java.lang.Object implements java.sql.Statement
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.sql.StatementdelegateStatement
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedDelegatingStatement(java.sql.Statement delegateStatement)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddBatch(java.lang.String sql)voidcancel()voidclearBatch()voidclearWarnings()voidclose()voidcloseOnCompletion()booleanexecute(java.lang.String sql)booleanexecute(java.lang.String sql, int autoGeneratedKeys)booleanexecute(java.lang.String sql, int[] columnIndexes)booleanexecute(java.lang.String sql, java.lang.String[] columnNames)int[]executeBatch()java.sql.ResultSetexecuteQuery(java.lang.String sql)intexecuteUpdate(java.lang.String sql)intexecuteUpdate(java.lang.String sql, int autoGeneratedKeys)intexecuteUpdate(java.lang.String sql, int[] columnIndexes)intexecuteUpdate(java.lang.String sql, java.lang.String[] columnNames)java.sql.ConnectiongetConnection()intgetFetchDirection()intgetFetchSize()java.sql.ResultSetgetGeneratedKeys()intgetMaxFieldSize()intgetMaxRows()booleangetMoreResults()booleangetMoreResults(int current)intgetQueryTimeout()java.sql.ResultSetgetResultSet()intgetResultSetConcurrency()intgetResultSetHoldability()intgetResultSetType()intgetUpdateCount()java.sql.SQLWarninggetWarnings()booleanisClosed()booleanisCloseOnCompletion()booleanisPoolable()booleanisWrapperFor(java.lang.Class<?> iface)protected voidonExecute(java.lang.String sql, boolean ret)protected voidonExecuteQuery(java.lang.String sql)voidonExecuteUpdate(java.lang.String sql, int affected)voidsetCursorName(java.lang.String name)voidsetEscapeProcessing(boolean enable)voidsetFetchDirection(int direction)voidsetFetchSize(int rows)voidsetMaxFieldSize(int max)voidsetMaxRows(int max)voidsetPoolable(boolean poolable)voidsetQueryTimeout(int seconds)<T> Tunwrap(java.lang.Class<T> iface)
 
- 
- 
- 
Method Detail- 
addBatchpublic void addBatch(java.lang.String sql) throws java.sql.SQLException- Specified by:
- addBatchin interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
cancelpublic void cancel() throws java.sql.SQLException- Specified by:
- cancelin interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
clearBatchpublic void clearBatch() throws java.sql.SQLException- Specified by:
- clearBatchin interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
clearWarningspublic void clearWarnings() throws java.sql.SQLException- Specified by:
- clearWarningsin interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
closepublic void close() throws java.sql.SQLException- Specified by:
- closein interface- java.lang.AutoCloseable
- Specified by:
- closein interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
executepublic boolean execute(java.lang.String sql, int autoGeneratedKeys) throws java.sql.SQLException- Specified by:
- executein interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
executepublic boolean execute(java.lang.String sql, int[] columnIndexes) throws java.sql.SQLException- Specified by:
- executein interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
executepublic boolean execute(java.lang.String sql, java.lang.String[] columnNames) throws java.sql.SQLException- Specified by:
- executein interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
executepublic boolean execute(java.lang.String sql) throws java.sql.SQLException- Specified by:
- executein interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
onExecuteprotected void onExecute(java.lang.String sql, boolean ret)
 - 
executeBatchpublic int[] executeBatch() throws java.sql.SQLException- Specified by:
- executeBatchin interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
executeQuerypublic java.sql.ResultSet executeQuery(java.lang.String sql) throws java.sql.SQLException- Specified by:
- executeQueryin interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
onExecuteQueryprotected void onExecuteQuery(java.lang.String sql) 
 - 
executeUpdatepublic int executeUpdate(java.lang.String sql, int autoGeneratedKeys) throws java.sql.SQLException- Specified by:
- executeUpdatein interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
executeUpdatepublic int executeUpdate(java.lang.String sql, int[] columnIndexes) throws java.sql.SQLException- Specified by:
- executeUpdatein interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
executeUpdatepublic int executeUpdate(java.lang.String sql, java.lang.String[] columnNames) throws java.sql.SQLException- Specified by:
- executeUpdatein interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
executeUpdatepublic int executeUpdate(java.lang.String sql) throws java.sql.SQLException- Specified by:
- executeUpdatein interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
onExecuteUpdatepublic void onExecuteUpdate(java.lang.String sql, int affected)
 - 
getConnectionpublic java.sql.Connection getConnection() throws java.sql.SQLException- Specified by:
- getConnectionin interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
getFetchDirectionpublic int getFetchDirection() throws java.sql.SQLException- Specified by:
- getFetchDirectionin interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
setFetchDirectionpublic void setFetchDirection(int direction) throws java.sql.SQLException- Specified by:
- setFetchDirectionin interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
getFetchSizepublic int getFetchSize() throws java.sql.SQLException- Specified by:
- getFetchSizein interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
setFetchSizepublic void setFetchSize(int rows) throws java.sql.SQLException- Specified by:
- setFetchSizein interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
getGeneratedKeyspublic java.sql.ResultSet getGeneratedKeys() throws java.sql.SQLException- Specified by:
- getGeneratedKeysin interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
getMaxFieldSizepublic int getMaxFieldSize() throws java.sql.SQLException- Specified by:
- getMaxFieldSizein interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
setMaxFieldSizepublic void setMaxFieldSize(int max) throws java.sql.SQLException- Specified by:
- setMaxFieldSizein interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
getMaxRowspublic int getMaxRows() throws java.sql.SQLException- Specified by:
- getMaxRowsin interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
setMaxRowspublic void setMaxRows(int max) throws java.sql.SQLException- Specified by:
- setMaxRowsin interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
getMoreResultspublic boolean getMoreResults() throws java.sql.SQLException- Specified by:
- getMoreResultsin interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
getMoreResultspublic boolean getMoreResults(int current) throws java.sql.SQLException- Specified by:
- getMoreResultsin interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
getQueryTimeoutpublic int getQueryTimeout() throws java.sql.SQLException- Specified by:
- getQueryTimeoutin interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
setQueryTimeoutpublic void setQueryTimeout(int seconds) throws java.sql.SQLException- Specified by:
- setQueryTimeoutin interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
getResultSetpublic java.sql.ResultSet getResultSet() throws java.sql.SQLException- Specified by:
- getResultSetin interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
getResultSetConcurrencypublic int getResultSetConcurrency() throws java.sql.SQLException- Specified by:
- getResultSetConcurrencyin interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
getResultSetHoldabilitypublic int getResultSetHoldability() throws java.sql.SQLException- Specified by:
- getResultSetHoldabilityin interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
getResultSetTypepublic int getResultSetType() throws java.sql.SQLException- Specified by:
- getResultSetTypein interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
getUpdateCountpublic int getUpdateCount() throws java.sql.SQLException- Specified by:
- getUpdateCountin interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
getWarningspublic java.sql.SQLWarning getWarnings() throws java.sql.SQLException- Specified by:
- getWarningsin interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
isClosedpublic boolean isClosed() throws java.sql.SQLException- Specified by:
- isClosedin interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
isPoolablepublic boolean isPoolable() throws java.sql.SQLException- Specified by:
- isPoolablein interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
setPoolablepublic void setPoolable(boolean poolable) throws java.sql.SQLException- Specified by:
- setPoolablein interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
isWrapperForpublic boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException- Specified by:
- isWrapperForin interface- java.sql.Wrapper
- Throws:
- java.sql.SQLException
 
 - 
setCursorNamepublic void setCursorName(java.lang.String name) throws java.sql.SQLException- Specified by:
- setCursorNamein interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
setEscapeProcessingpublic void setEscapeProcessing(boolean enable) throws java.sql.SQLException- Specified by:
- setEscapeProcessingin interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
unwrappublic <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException- Specified by:
- unwrapin interface- java.sql.Wrapper
- Throws:
- java.sql.SQLException
 
 - 
closeOnCompletionpublic void closeOnCompletion() throws java.sql.SQLException- Specified by:
- closeOnCompletionin interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 - 
isCloseOnCompletionpublic boolean isCloseOnCompletion() throws java.sql.SQLException- Specified by:
- isCloseOnCompletionin interface- java.sql.Statement
- Throws:
- java.sql.SQLException
 
 
- 
 
-