public interface TimestampedInputSplit extends InputSplit, Comparable<TimestampedInputSplit>
InputSplit
that also includes information about:
This class is used by the ContinuousFileMonitoringFunction
and the ContinuousFileReaderOperator
to perform continuous file processing.
Modifier and Type | Method and Description |
---|---|
long |
getModificationTime() |
Serializable |
getSplitState() |
default void |
resetSplitState()
Sets the state of the split to
null . |
void |
setSplitState(Serializable state)
Sets the state of the split.
|
getSplitNumber
compareTo
void setSplitState(Serializable state)
* This is applicable to FileInputFormats
that implement the CheckpointableInputFormat
interface.
Serializable getSplitState()
default void resetSplitState()
null
.long getModificationTime()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.