@Internal public interface FileWriterBucketFactory<IN> extends Serializable
FileWriterBucket
for the FileSink
.Modifier and Type | Method and Description |
---|---|
org.apache.flink.connector.file.sink.writer.FileWriterBucket<IN> |
getNewBucket(String bucketId,
Path bucketPath,
BucketWriter<IN,String> bucketWriter,
RollingPolicy<IN,String> rollingPolicy,
OutputFileConfig outputFileConfig) |
org.apache.flink.connector.file.sink.writer.FileWriterBucket<IN> |
restoreBucket(BucketWriter<IN,String> bucketWriter,
RollingPolicy<IN,String> rollingPolicy,
FileWriterBucketState bucketState,
OutputFileConfig outputFileConfig) |
org.apache.flink.connector.file.sink.writer.FileWriterBucket<IN> getNewBucket(String bucketId, Path bucketPath, BucketWriter<IN,String> bucketWriter, RollingPolicy<IN,String> rollingPolicy, OutputFileConfig outputFileConfig) throws IOException
IOException
org.apache.flink.connector.file.sink.writer.FileWriterBucket<IN> restoreBucket(BucketWriter<IN,String> bucketWriter, RollingPolicy<IN,String> rollingPolicy, FileWriterBucketState bucketState, OutputFileConfig outputFileConfig) throws IOException
IOException
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.