Class WriterProperties
- java.lang.Object
-
- org.apache.flink.streaming.api.functions.sink.filesystem.WriterProperties
-
@Internal public class WriterProperties extends Object
This class describes the property of theBucketWriter.
-
-
Constructor Summary
Constructors Constructor Description WriterProperties(org.apache.flink.core.io.SimpleVersionedSerializer<InProgressFileWriter.InProgressFileRecoverable> inProgressFileRecoverableSerializer, org.apache.flink.core.io.SimpleVersionedSerializer<InProgressFileWriter.PendingFileRecoverable> pendingFileRecoverableSerializer, boolean supportsResume)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.flink.core.io.SimpleVersionedSerializer<InProgressFileWriter.InProgressFileRecoverable>getInProgressFileRecoverableSerializer()org.apache.flink.core.io.SimpleVersionedSerializer<InProgressFileWriter.PendingFileRecoverable>getPendingFileRecoverableSerializer()booleansupportsResume()
-
-
-
Constructor Detail
-
WriterProperties
public WriterProperties(org.apache.flink.core.io.SimpleVersionedSerializer<InProgressFileWriter.InProgressFileRecoverable> inProgressFileRecoverableSerializer, org.apache.flink.core.io.SimpleVersionedSerializer<InProgressFileWriter.PendingFileRecoverable> pendingFileRecoverableSerializer, boolean supportsResume)
-
-
Method Detail
-
supportsResume
public boolean supportsResume()
- Returns:
- Whether the
BucketWritersupport appending data to the restored the in-progress file or not.
-
getPendingFileRecoverableSerializer
public org.apache.flink.core.io.SimpleVersionedSerializer<InProgressFileWriter.PendingFileRecoverable> getPendingFileRecoverableSerializer()
- Returns:
- the serializer for the
InProgressFileWriter.PendingFileRecoverable.
-
getInProgressFileRecoverableSerializer
public org.apache.flink.core.io.SimpleVersionedSerializer<InProgressFileWriter.InProgressFileRecoverable> getInProgressFileRecoverableSerializer()
- Returns:
- the serializer for the
InProgressFileWriter.InProgressFileRecoverable.
-
-