@Internal public class DefaultBucketFactoryImpl<IN,BucketID> extends Object implements BucketFactory<IN,BucketID>
buckets
.Constructor and Description |
---|
DefaultBucketFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
Bucket<IN,BucketID> |
getNewBucket(int subtaskIndex,
BucketID bucketId,
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, Path bucketPath, long initialPartCounter, BucketWriter<IN,BucketID> bucketWriter, RollingPolicy<IN,BucketID> rollingPolicy, OutputFileConfig outputFileConfig)
getNewBucket
in interface 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
in interface BucketFactory<IN,BucketID>
IOException
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.