@FunctionalInterface public interface ReadSnapshotDataStatementBuilder
Modifier and Type | Method and Description |
---|---|
PreparedStatement |
build(Connection connection,
EventSchema schema,
String identifier)
Creates a statement to be used at
JdbcEventStorageEngine.readSnapshotData(String) |
PreparedStatement build(Connection connection, EventSchema schema, String identifier) throws SQLException
JdbcEventStorageEngine.readSnapshotData(String)
connection
- The connection to the database.schema
- The EventSchema to be usedidentifier
- The identifier of the aggregate.PreparedStatement
.SQLException
- when an exception occurs while creating the prepared statement.Copyright © 2010–2022. All rights reserved.