@Internal public class DefaultFileWriterBucketFactory<IN> extends Object implements FileWriterBucketFactory<IN>
writer
.Constructor and Description |
---|
DefaultFileWriterBucketFactory() |
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) |
public 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
getNewBucket
in interface FileWriterBucketFactory<IN>
IOException
public org.apache.flink.connector.file.sink.writer.FileWriterBucket<IN> restoreBucket(BucketWriter<IN,String> bucketWriter, RollingPolicy<IN,String> rollingPolicy, FileWriterBucketState bucketState, OutputFileConfig outputFileConfig) throws IOException
restoreBucket
in interface FileWriterBucketFactory<IN>
IOException
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.