Class DeleteWindowCloser<P extends Partition,T extends DataCollectionId>
java.lang.Object
io.debezium.pipeline.source.snapshot.incremental.DeleteWindowCloser<P,T>
- All Implemented Interfaces:
WatermarkWindowCloser
public class DeleteWindowCloser<P extends Partition,T extends DataCollectionId>
extends Object
implements WatermarkWindowCloser
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprivate final SignalBasedIncrementalSnapshotChangeEventSource<P,T> private final JdbcConnectionprivate static final org.slf4j.Loggerprivate final String -
Constructor Summary
ConstructorsConstructorDescriptionDeleteWindowCloser(JdbcConnection jdbcConnection, String signalTable, SignalBasedIncrementalSnapshotChangeEventSource<P, T> incrementalSnapshotChangeEventSource) -
Method Summary
Modifier and TypeMethodDescriptionvoidcloseWindow(Partition partition, OffsetContext offsetContext, String chunkId)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
DELETE_STATEMENT
- See Also:
-
jdbcConnection
-
signalWindowStatement
-
incrementalSnapshotChangeEventSource
private final SignalBasedIncrementalSnapshotChangeEventSource<P extends Partition,T extends DataCollectionId> incrementalSnapshotChangeEventSource
-
-
Constructor Details
-
DeleteWindowCloser
public DeleteWindowCloser(JdbcConnection jdbcConnection, String signalTable, SignalBasedIncrementalSnapshotChangeEventSource<P, T> incrementalSnapshotChangeEventSource)
-
-
Method Details
-
closeWindow
public void closeWindow(Partition partition, OffsetContext offsetContext, String chunkId) throws SQLException - Specified by:
closeWindowin interfaceWatermarkWindowCloser- Throws:
SQLException
-