Interface TimestampedInputSplit

    • Method Detail

      • setSplitState

        void setSplitState​(Serializable state)
        Sets the state of the split. This information is used when restoring from a checkpoint and allows to resume reading the underlying file from the point we left off.

        * This is applicable to FileInputFormats that implement the CheckpointableInputFormat interface.

      • getSplitState

        Serializable getSplitState()
        Returns:
        the state of the split.
      • resetSplitState

        default void resetSplitState()
        Sets the state of the split to null.
      • getModificationTime

        long getModificationTime()
        Returns:
        The modification time of the file this split belongs to.