| 程序包 | 说明 |
|---|---|
| org.apache.flink.streaming.api.functions.sink.filesystem | |
| org.apache.flink.streaming.api.functions.sink.filesystem.bucketassigners |
| 限定符和类型 | 方法和说明 |
|---|---|
T |
StreamingFileSink.RowFormatBuilder.withBucketAssigner(BucketAssigner<IN,BucketID> assigner) |
T |
StreamingFileSink.BulkFormatBuilder.withBucketAssigner(BucketAssigner<IN,BucketID> assigner) |
<ID> StreamingFileSink.BulkFormatBuilder<IN,ID,? extends StreamingFileSink.BulkFormatBuilder<IN,ID,?>> |
StreamingFileSink.BulkFormatBuilder.withNewBucketAssigner(BucketAssigner<IN,ID> assigner) |
<ID> StreamingFileSink.RowFormatBuilder<IN,ID,? extends StreamingFileSink.RowFormatBuilder<IN,ID,?>> |
StreamingFileSink.RowFormatBuilder.withNewBucketAssignerAndPolicy(BucketAssigner<IN,ID> assigner,
RollingPolicy<IN,ID> policy) |
| 构造器和说明 |
|---|
Buckets(org.apache.flink.core.fs.Path basePath,
BucketAssigner<IN,BucketID> bucketAssigner,
BucketFactory<IN,BucketID> bucketFactory,
BucketWriter<IN,BucketID> bucketWriter,
RollingPolicy<IN,BucketID> rollingPolicy,
int subtaskIndex,
OutputFileConfig outputFileConfig)
A constructor creating a new empty bucket manager.
|
BulkFormatBuilder(org.apache.flink.core.fs.Path basePath,
org.apache.flink.api.common.serialization.BulkWriter.Factory<IN> writerFactory,
BucketAssigner<IN,BucketID> assigner) |
BulkFormatBuilder(org.apache.flink.core.fs.Path basePath,
org.apache.flink.api.common.serialization.BulkWriter.Factory<IN> writerFactory,
BucketAssigner<IN,BucketID> assigner,
CheckpointRollingPolicy<IN,BucketID> policy,
long bucketCheckInterval,
BucketFactory<IN,BucketID> bucketFactory,
OutputFileConfig outputFileConfig) |
RowFormatBuilder(org.apache.flink.core.fs.Path basePath,
org.apache.flink.api.common.serialization.Encoder<IN> encoder,
BucketAssigner<IN,BucketID> bucketAssigner) |
RowFormatBuilder(org.apache.flink.core.fs.Path basePath,
org.apache.flink.api.common.serialization.Encoder<IN> encoder,
BucketAssigner<IN,BucketID> assigner,
RollingPolicy<IN,BucketID> policy,
long bucketCheckInterval,
BucketFactory<IN,BucketID> bucketFactory,
OutputFileConfig outputFileConfig) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
BasePathBucketAssigner<T>
A
BucketAssigner that does not perform any bucketing of files. |
class |
DateTimeBucketAssigner<IN>
A
BucketAssigner that assigns to buckets based on current system time. |
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.