public final class MockStatementInfo extends Object implements StatementInfo
StatementInfo
.Modifier and Type | Class and Description |
---|---|
static class |
MockStatementInfo.Builder |
Modifier and Type | Method and Description |
---|---|
static MockStatementInfo.Builder |
builder()
Provide a builder for
MockStatementInfo . |
static MockStatementInfo |
empty()
Provide an empty
MockStatementInfo . |
ConnectionInfo |
getConnectionInfo()
Get
ConnectionInfo associated to this Statement . |
String |
getOriginalQuery()
Get the sql statement that has originally specified on
Connection.createStatement(String) . |
String |
getUpdatedQuery()
Get the updated sql statement by
BindParameterConverter.onCreateStatement(String, StatementInfo) . |
ValueStore |
getValueStore()
Retrieve
ValueStore which is associated to the scope of logical statement. |
public static MockStatementInfo.Builder builder()
MockStatementInfo
.public static MockStatementInfo empty()
MockStatementInfo
.MockStatementInfo
public ConnectionInfo getConnectionInfo()
StatementInfo
ConnectionInfo
associated to this Statement
.getConnectionInfo
in interface StatementInfo
public String getOriginalQuery()
StatementInfo
Connection.createStatement(String)
.getOriginalQuery
in interface StatementInfo
public String getUpdatedQuery()
StatementInfo
BindParameterConverter.onCreateStatement(String, StatementInfo)
.getUpdatedQuery
in interface StatementInfo
public ValueStore getValueStore()
StatementInfo
ValueStore
which is associated to the scope of logical statement.
Values can be stored or retrieved from this store while statement is available.
getValueStore
in interface StatementInfo
Copyright © 2024. All rights reserved.