@FunctionalInterface public interface CleanGapsStatementBuilder
JdbcEventStorageEngine.cleanGaps(TrackingToken)
Modifier and Type | Method and Description |
---|---|
PreparedStatement |
build(Connection connection,
EventSchema schema,
SortedSet<Long> gaps)
Creates a statement to be used at
JdbcEventStorageEngine.cleanGaps(TrackingToken) |
PreparedStatement build(Connection connection, EventSchema schema, SortedSet<Long> gaps) throws SQLException
JdbcEventStorageEngine.cleanGaps(TrackingToken)
connection
- The connection to the database.schema
- The EventSchema to be usedgaps
- The Set of gaps taken from the tracking token.PreparedStatement
.SQLException
- when an exception occurs while creating the prepared statement.Copyright © 2010–2023. All rights reserved.