| 程序包 | 说明 |
|---|---|
| org.apache.flink.streaming.api.functions.sink.filesystem | |
| org.apache.flink.streaming.api.functions.sink.filesystem.rollingpolicies |
| 限定符和类型 | 方法和说明 |
|---|---|
<ID> StreamingFileSink.RowFormatBuilder<IN,ID,? extends StreamingFileSink.RowFormatBuilder<IN,ID,?>> |
StreamingFileSink.RowFormatBuilder.withNewBucketAssignerAndPolicy(BucketAssigner<IN,ID> assigner,
RollingPolicy<IN,ID> policy) |
T |
StreamingFileSink.RowFormatBuilder.withRollingPolicy(RollingPolicy<IN,BucketID> policy) |
| 构造器和说明 |
|---|
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) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
CheckpointRollingPolicy<IN,BucketID>
An abstract
RollingPolicy which rolls on every checkpoint. |
class |
DefaultRollingPolicy<IN,BucketID>
The default implementation of the
RollingPolicy. |
class |
OnCheckpointRollingPolicy<IN,BucketID>
A
RollingPolicy which rolls (ONLY) on every checkpoint. |
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.