| 程序包 | 说明 |
|---|---|
| org.apache.flink.streaming.api.functions.sink.filesystem | |
| org.apache.flink.streaming.api.functions.sink.filesystem.rollingpolicies |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
InProgressFileWriter<IN,BucketID>
The
Bucket uses the InProgressFileWriter to write element to a part file. |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractPartFileWriter<IN,BucketID>
An abstract writer for the currently open part file in a specific
Bucket. |
class |
OutputStreamBasedPartFileWriter<IN,BucketID>
The base class for all the part file writer that use
RecoverableFsDataOutputStream. |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
RollingPolicy.shouldRollOnCheckpoint(PartFileInfo<BucketID> partFileState)
Determines if the in-progress part file for a bucket should roll on every checkpoint.
|
boolean |
RollingPolicy.shouldRollOnEvent(PartFileInfo<BucketID> partFileState,
IN element)
Determines if the in-progress part file for a bucket should roll based on its current state,
e.g. its size.
|
boolean |
RollingPolicy.shouldRollOnProcessingTime(PartFileInfo<BucketID> partFileState,
long currentTime)
Determines if the in-progress part file for a bucket should roll based on a time condition.
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
CheckpointRollingPolicy.shouldRollOnCheckpoint(PartFileInfo<BucketID> partFileState) |
boolean |
DefaultRollingPolicy.shouldRollOnCheckpoint(PartFileInfo<BucketID> partFileState) |
abstract boolean |
CheckpointRollingPolicy.shouldRollOnEvent(PartFileInfo<BucketID> partFileState,
IN element) |
boolean |
OnCheckpointRollingPolicy.shouldRollOnEvent(PartFileInfo<BucketID> partFileState,
IN element) |
boolean |
DefaultRollingPolicy.shouldRollOnEvent(PartFileInfo<BucketID> partFileState,
IN element) |
abstract boolean |
CheckpointRollingPolicy.shouldRollOnProcessingTime(PartFileInfo<BucketID> partFileState,
long currentTime) |
boolean |
OnCheckpointRollingPolicy.shouldRollOnProcessingTime(PartFileInfo<BucketID> partFileState,
long currentTime) |
boolean |
DefaultRollingPolicy.shouldRollOnProcessingTime(PartFileInfo<BucketID> partFileState,
long currentTime) |
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.