Class PendingSplitsCheckpoint<SplitT extends FileSourceSplit>
- java.lang.Object
-
- org.apache.flink.connector.file.src.PendingSplitsCheckpoint<SplitT>
-
@PublicEvolving public class PendingSplitsCheckpoint<SplitT extends FileSourceSplit> extends Object
A checkpoint of the current state of the containing the currently pending splits that are not yet assigned.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
PendingSplitsCheckpoint(Collection<SplitT> splits, Collection<Path> alreadyProcessedPaths)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T extends FileSourceSplit>
PendingSplitsCheckpoint<T>fromCollectionSnapshot(Collection<T> splits)
static <T extends FileSourceSplit>
PendingSplitsCheckpoint<T>fromCollectionSnapshot(Collection<T> splits, Collection<Path> alreadyProcessedPaths)
Collection<Path>
getAlreadyProcessedPaths()
Collection<SplitT>
getSplits()
String
toString()
-
-
-
Constructor Detail
-
PendingSplitsCheckpoint
protected PendingSplitsCheckpoint(Collection<SplitT> splits, Collection<Path> alreadyProcessedPaths)
-
-
Method Detail
-
getSplits
public Collection<SplitT> getSplits()
-
getAlreadyProcessedPaths
public Collection<Path> getAlreadyProcessedPaths()
-
fromCollectionSnapshot
public static <T extends FileSourceSplit> PendingSplitsCheckpoint<T> fromCollectionSnapshot(Collection<T> splits)
-
fromCollectionSnapshot
public static <T extends FileSourceSplit> PendingSplitsCheckpoint<T> fromCollectionSnapshot(Collection<T> splits, Collection<Path> alreadyProcessedPaths)
-
-