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
The
InProgressFileWriter.PendingFileRecoverable implementation for OutputStreamBasedPartFileWriter.OutputStreamBasedBucketWriter.-
Constructor Summary
ConstructorsConstructorDescriptionOutputStreamBasedPendingFileRecoverable(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
-
Constructor Details
-
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 Details
-
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.
-
equals
-
hashCode
public int hashCode()
-