@Internal public interface BucketFactory<IN,BucketID> extends Serializable
buckets for the StreamingFileSink.| 限定符和类型 | 方法和说明 |
|---|---|
Bucket<IN,BucketID> |
getNewBucket(int subtaskIndex,
BucketID bucketId,
org.apache.flink.core.fs.Path bucketPath,
long initialPartCounter,
BucketWriter<IN,BucketID> bucketWriter,
RollingPolicy<IN,BucketID> rollingPolicy,
OutputFileConfig outputFileConfig) |
Bucket<IN,BucketID> |
restoreBucket(int subtaskIndex,
long initialPartCounter,
BucketWriter<IN,BucketID> bucketWriter,
RollingPolicy<IN,BucketID> rollingPolicy,
org.apache.flink.streaming.api.functions.sink.filesystem.BucketState<BucketID> bucketState,
OutputFileConfig outputFileConfig) |
Bucket<IN,BucketID> getNewBucket(int subtaskIndex, BucketID bucketId, org.apache.flink.core.fs.Path bucketPath, long initialPartCounter, BucketWriter<IN,BucketID> bucketWriter, RollingPolicy<IN,BucketID> rollingPolicy, OutputFileConfig outputFileConfig) throws IOException
IOExceptionBucket<IN,BucketID> restoreBucket(int subtaskIndex, long initialPartCounter, BucketWriter<IN,BucketID> bucketWriter, RollingPolicy<IN,BucketID> rollingPolicy, org.apache.flink.streaming.api.functions.sink.filesystem.BucketState<BucketID> bucketState, OutputFileConfig outputFileConfig) throws IOException
IOExceptionCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.