package state
Type Members
-
class
DeltaEnumeratorStateCheckpoint[SplitT <: DeltaSourceSplit] extends AnyRef
A checkpoint of the current state of
SplitEnumerator.A checkpoint of the current state of
SplitEnumerator.It contains all necessary information need by SplitEnumerator to resume work after checkpoint recovery including currently pending splits that are not yet assigned and resume changes discovery task on Delta table in
Boundedness#CONTINUOUS_UNBOUNDEDmodeDuring checkpoint, Flink will serialize this object and persist it in checkpoint location. During the recovery, Flink will deserialize this object from Checkpoint/Savepoint and will use it to recreate
SplitEnumerator. - class DeltaEnumeratorStateCheckpointBuilder[SplitT <: DeltaSourceSplit] extends AnyRef
-
class
DeltaPendingSplitsCheckpointSerializer[SplitT <: DeltaSourceSplit] extends SimpleVersionedSerializer[DeltaEnumeratorStateCheckpoint[SplitT]]
A de/serializer for objects of class
DeltaEnumeratorStateCheckpoint.A de/serializer for objects of class
DeltaEnumeratorStateCheckpoint.This class provides methods for Flink core to serialize and deserialize
DeltaPendingSplitsCheckpointSerializerobjects.Serialization of
DeltaPendingSplitsCheckpointSerializerobject takes place during checkpoint operation.Deserialization of
DeltaPendingSplitsCheckpointSerializerobject takes place during recovering from checkpoint whenSplitEnumeratoris being recreated. -
class
DeltaSourceSplit extends FileSourceSplit
A
SourceSplitthat represents a Parquet file, or a region of a file.A
SourceSplitthat represents a Parquet file, or a region of a file.The split additionally has an offset and an end, which defines the region of the file represented by the split. For splits representing the while file, the offset is zero and the length is the file size.
The split may furthermore have a "reader position", which is the checkpointed position from a reader previously reading this split. This position is null when the split is assigned from the enumerator to the readers, and is non-null when the reader's checkpoint their state in a file source split.
This implementation extends a
FileSourceSplitwith Delta table partition information -
final
class
DeltaSourceSplitSerializer extends SimpleVersionedSerializer[DeltaSourceSplit]
A de/serializer for objects of class
DeltaSourceSplit.A de/serializer for objects of class
DeltaSourceSplit.This class provides methods for Flink core to serialize and deserialize
DeltaSourceSplitobjects.Serialization of
DeltaSourceSplitobject takes place during checkpoint operation and when Splits are assigned toSourceReaderbySplitEnumerator.Deserialization of
DeltaSourceSplitobject takes place during recovering from checkpoint and on a Task Manager nodes in Source Readers (SourceReader) after "receiving" assigned Split.