Class SplitComparators
java.lang.Object
org.apache.iceberg.flink.source.split.SplitComparators
Provides implementations of
SerializableComparator
which could be used for ordering splits. These are used by the OrderedSplitAssignerFactory
and the IcebergSourceReader
-
Method Summary
Modifier and TypeMethodDescriptionComparator which orders the splits based on the file sequence number of the data fileswatermark
(SplitWatermarkExtractor watermarkExtractor) Comparator which orders the splits based on watermark of the splits
-
Method Details
-
fileSequenceNumber
Comparator which orders the splits based on the file sequence number of the data files -
watermark
public static SerializableComparator<IcebergSourceSplit> watermark(SplitWatermarkExtractor watermarkExtractor) Comparator which orders the splits based on watermark of the splits
-