Package io.debezium.pipeline.signal
Class ExecuteSnapshot<P extends Partition>
java.lang.Object
io.debezium.pipeline.signal.AbstractSnapshotSignal<P>
io.debezium.pipeline.signal.ExecuteSnapshot<P>
- All Implemented Interfaces:
Signal.Action<P>
The action to trigger an ad-hoc snapshot.
The action parameters are
type
of snapshot and list of data-collections
on which the
snapshot will be executed.- Author:
- Jiri Pechanec
-
Nested Class Summary
Nested classes/interfaces inherited from class io.debezium.pipeline.signal.AbstractSnapshotSignal
AbstractSnapshotSignal.SnapshotType
-
Field Summary
Modifier and TypeFieldDescriptionprivate final EventDispatcher<P,
? extends DataCollectionId> private static final org.slf4j.Logger
static final String
Fields inherited from class io.debezium.pipeline.signal.AbstractSnapshotSignal
FIELD_ADDITIONAL_CONDITION, FIELD_DATA_COLLECTIONS, FIELD_SURROGATE_KEY, FIELD_TYPE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
arrived
(Signal.Payload<P> signalPayload) getDataCollections
(Document data) getSurrogateKey
(Document data) Methods inherited from class io.debezium.pipeline.signal.AbstractSnapshotSignal
getSnapshotType
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
NAME
- See Also:
-
dispatcher
-
-
Constructor Details
-
ExecuteSnapshot
-
-
Method Details
-
arrived
- Parameters:
signalPayload
- the content of the signal- Returns:
- true if the signal was processed
- Throws:
InterruptedException
-
getDataCollections
-
getAdditionalCondition
-
getSurrogateKey
-