Interface ReadSnapshotDataStatementBuilder
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Contract which defines how to build a PreparedStatement for use on
invalid input: '@author Lucas Campos
@since 4.3'-
Method Summary
Modifier and TypeMethodDescriptionbuild(Connection connection, EventSchema schema, String identifier) Creates a statement to be used atJdbcEventStorageEngine.readSnapshotData(String)
-
Method Details
-
build
PreparedStatement build(Connection connection, EventSchema schema, String identifier) throws SQLException Creates a statement to be used atJdbcEventStorageEngine.readSnapshotData(String)- Parameters:
connection- The connection to the database.schema- The EventSchema to be usedidentifier- The identifier of the aggregate.- Returns:
- The newly created
PreparedStatement. - Throws:
SQLException- when an exception occurs while creating the prepared statement.
-