@Internal public class DefaultBucketFactoryImpl<IN,BucketID> extends Object implements BucketFactory<IN,BucketID>
buckets.| 构造器和说明 |
|---|
DefaultBucketFactoryImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
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) |
public 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)
getNewBucket 在接口中 BucketFactory<IN,BucketID>public 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) throws IOException
restoreBucket 在接口中 BucketFactory<IN,BucketID>IOExceptionCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.