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