Interface StatementInfo
- All Known Implementing Classes:
MockStatementInfo
public interface StatementInfo
Holds information about the associated
Statement.- Author:
- Tadaya Tsuyukubo
-
Method Summary
Modifier and TypeMethodDescriptionReturns theConnectionInfoassociated with thisStatement.Returns the SQL statement originally provided toConnection.createStatement(String).Returns the SQL statement updated byBindParameterConverter.onCreateStatement(String, StatementInfo).Returns theValueStoreassociated with the scope of the logical statement.
-
Method Details
-
getConnectionInfo
ConnectionInfo getConnectionInfo()Returns theConnectionInfoassociated with thisStatement.- Returns:
- connection info
-
getOriginalQuery
String getOriginalQuery()Returns the SQL statement originally provided toConnection.createStatement(String).- Returns:
- original sql statement
-
getUpdatedQuery
String getUpdatedQuery()Returns the SQL statement updated byBindParameterConverter.onCreateStatement(String, StatementInfo).- Returns:
- updated sql statement
-
getValueStore
ValueStore getValueStore()Returns theValueStoreassociated with the scope of the logical statement.Values can be stored or retrieved from this store while statement is available.
- Returns:
- value store
-