public interface EventTableFactory
Modifier and Type | Method and Description |
---|---|
PreparedStatement |
createDomainEventTable(Connection connection,
EventSchema schema)
Creates a PreparedStatement that allows for the creation of the table to store Event entries.
|
PreparedStatement |
createSnapshotEventTable(Connection connection,
EventSchema schema)
Creates a PreparedStatement that allows for the creation of the table to store Snapshots.
|
PreparedStatement createDomainEventTable(Connection connection, EventSchema schema) throws SQLException
connection
- The connection to create the PreparedStatement forschema
- The event schema with the name of the table and its columnsSQLException
- when an exception occurs while creating the prepared statementPreparedStatement createSnapshotEventTable(Connection connection, EventSchema schema) throws SQLException
connection
- The connection to create the PreparedStatement forschema
- The event schema with the name of the table and its columnsSQLException
- when an exception occurs while creating the prepared statementCopyright © 2010–2020. All rights reserved.