Class OutputStreamBasedPartFileWriter.OutputStreamBasedPendingFileRecoverable
- java.lang.Object
-
- org.apache.flink.streaming.api.functions.sink.filesystem.OutputStreamBasedPartFileWriter.OutputStreamBasedPendingFileRecoverable
-
- All Implemented Interfaces:
InProgressFileWriter.PendingFileRecoverable
- Enclosing class:
- OutputStreamBasedPartFileWriter<IN,BucketID>
public static final class OutputStreamBasedPartFileWriter.OutputStreamBasedPendingFileRecoverable extends Object implements InProgressFileWriter.PendingFileRecoverable
TheInProgressFileWriter.PendingFileRecoverableimplementation forOutputStreamBasedPartFileWriter.OutputStreamBasedBucketWriter.
-
-
Constructor Summary
Constructors Constructor Description OutputStreamBasedPendingFileRecoverable(org.apache.flink.core.fs.RecoverableWriter.CommitRecoverable commitRecoverable)Deprecated.OutputStreamBasedPendingFileRecoverable(org.apache.flink.core.fs.RecoverableWriter.CommitRecoverable commitRecoverable, org.apache.flink.core.fs.Path targetPath, long fileSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)org.apache.flink.core.fs.PathgetPath()longgetSize()inthashCode()
-
-
-
Constructor Detail
-
OutputStreamBasedPendingFileRecoverable
@Deprecated public OutputStreamBasedPendingFileRecoverable(org.apache.flink.core.fs.RecoverableWriter.CommitRecoverable commitRecoverable)
Deprecated.
-
OutputStreamBasedPendingFileRecoverable
public OutputStreamBasedPendingFileRecoverable(org.apache.flink.core.fs.RecoverableWriter.CommitRecoverable commitRecoverable, @Nullable org.apache.flink.core.fs.Path targetPath, long fileSize)
-
-
Method Detail
-
getPath
public org.apache.flink.core.fs.Path getPath()
- Specified by:
getPathin interfaceInProgressFileWriter.PendingFileRecoverable- Returns:
- The target path of the pending file, null if unavailable.
-
getSize
public long getSize()
- Specified by:
getSizein interfaceInProgressFileWriter.PendingFileRecoverable- Returns:
- The size of the pending file, -1 if unavailable.
-
-