@Internal public class StreamingFileSinkHelper<IN> extends Object implements org.apache.flink.api.common.operators.ProcessingTimeService.ProcessingTimeCallback
| Constructor and Description |
|---|
StreamingFileSinkHelper(Buckets<IN,?> buckets,
boolean isRestored,
org.apache.flink.api.common.state.OperatorStateStore stateStore,
ProcessingTimeService procTimeService,
long bucketCheckInterval) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
commitUpToCheckpoint(long checkpointId) |
void |
onElement(IN value,
long currentProcessingTime,
Long elementTimestamp,
long currentWatermark) |
void |
onProcessingTime(long timestamp) |
void |
snapshotState(long checkpointId) |
public StreamingFileSinkHelper(Buckets<IN,?> buckets, boolean isRestored, org.apache.flink.api.common.state.OperatorStateStore stateStore, ProcessingTimeService procTimeService, long bucketCheckInterval) throws Exception
Exceptionpublic void commitUpToCheckpoint(long checkpointId)
throws Exception
Exceptionpublic void onProcessingTime(long timestamp)
throws Exception
onProcessingTime in interface org.apache.flink.api.common.operators.ProcessingTimeService.ProcessingTimeCallbackExceptionpublic void onElement(IN value, long currentProcessingTime, @Nullable Long elementTimestamp, long currentWatermark) throws Exception
Exceptionpublic void close()
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.