| Package | Description |
|---|---|
| org.apache.flink.streaming.api.functions.sink.filesystem | |
| org.apache.flink.streaming.api.functions.sink.filesystem.bucketassigners |
| Modifier and Type | Method and Description |
|---|---|
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) |
| Constructor and Description |
|---|
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,
org.apache.flink.streaming.api.functions.sink.filesystem.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,
org.apache.flink.streaming.api.functions.sink.filesystem.BucketFactory<IN,BucketID> bucketFactory,
OutputFileConfig outputFileConfig) |
| Modifier and Type | Class and Description |
|---|---|
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–2020 The Apache Software Foundation. All rights reserved.