@FunctionalInterface public interface FetchTrackedEventsStatementBuilder
JdbcEventStorageEngine.fetchTrackedEvents(TrackingToken,
int)
Modifier and Type | Method and Description |
---|---|
PreparedStatement |
build(Connection connection,
EventSchema schema,
long index)
Creates a statement to be used at
JdbcEventStorageEngine.fetchTrackedEvents(TrackingToken, int) |
PreparedStatement build(Connection connection, EventSchema schema, long index) throws SQLException
JdbcEventStorageEngine.fetchTrackedEvents(TrackingToken, int)
connection
- The connection to the database.schema
- The EventSchema to be usedindex
- The index taken from the tracking token.PreparedStatement
.SQLException
- when an exception occurs while creating the prepared statement.Copyright © 2010–2020. All rights reserved.