Package com.alibaba.druid.proxy.jdbc
Interface StatementProxy
- All Superinterfaces:
AutoCloseable
,Statement
,Wrapper
,WrapperProxy
- All Known Subinterfaces:
CallableStatementProxy
,PreparedStatementProxy
- All Known Implementing Classes:
CallableStatementProxyImpl
,PreparedStatementProxyImpl
,StatementProxyImpl
- Author:
- wenshao [[email protected]]
-
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
-
Method Summary
Modifier and TypeMethodDescriptionlong
long
getParameter
(int i) int
boolean
void
void
setLastExecuteStartNano
(long lastExecuteStartNano) void
void
setLastExecuteTimeNano
(long nano) void
setSqlStat
(JdbcSqlStat sqlStat) Methods inherited from interface java.sql.Statement
addBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, execute, execute, execute, execute, executeBatch, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getLargeMaxRows, getLargeUpdateCount, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, isSimpleIdentifier, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout
Methods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
Methods inherited from interface com.alibaba.druid.proxy.jdbc.WrapperProxy
clearAttributes, getAttribute, getAttributes, getAttributesSize, getId, putAttribute
-
Method Details
-
getConnectionProxy
ConnectionProxy getConnectionProxy() -
getRawObject
Statement getRawObject()- Specified by:
getRawObject
in interfaceWrapperProxy
-
getBatchSqlList
-
getBatchSql
String getBatchSql() -
getSqlStat
JdbcSqlStat getSqlStat() -
getLastExecuteType
StatementExecuteType getLastExecuteType() -
setSqlStat
-
getLastExecuteSql
String getLastExecuteSql() -
getLastExecuteStartNano
long getLastExecuteStartNano() -
setLastExecuteStartNano
void setLastExecuteStartNano(long lastExecuteStartNano) -
setLastExecuteStartNano
void setLastExecuteStartNano() -
getLastExecuteTimeNano
long getLastExecuteTimeNano() -
setLastExecuteTimeNano
void setLastExecuteTimeNano(long nano) -
setLastExecuteTimeNano
void setLastExecuteTimeNano() -
getParameters
Map<Integer,JdbcParameter> getParameters() -
getParametersSize
int getParametersSize() -
getParameter
-
isFirstResultSet
boolean isFirstResultSet()
-