Class StreamingFileSinkHelper<IN>
- java.lang.Object
-
- org.apache.flink.streaming.api.functions.sink.filesystem.StreamingFileSinkHelper<IN>
-
- All Implemented Interfaces:
org.apache.flink.api.common.operators.ProcessingTimeService.ProcessingTimeCallback
@Internal public class StreamingFileSinkHelper<IN> extends Object implements org.apache.flink.api.common.operators.ProcessingTimeService.ProcessingTimeCallback
-
-
Constructor Summary
Constructors Constructor Description StreamingFileSinkHelper(Buckets<IN,?> buckets, boolean isRestored, org.apache.flink.api.common.state.OperatorStateStore stateStore, org.apache.flink.streaming.runtime.tasks.ProcessingTimeService procTimeService, long bucketCheckInterval)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidcommitUpToCheckpoint(long checkpointId)voidonElement(IN value, long currentProcessingTime, Long elementTimestamp, long currentWatermark)voidonProcessingTime(long timestamp)voidsnapshotState(long checkpointId)
-
-
-
Constructor Detail
-
StreamingFileSinkHelper
public StreamingFileSinkHelper(Buckets<IN,?> buckets, boolean isRestored, org.apache.flink.api.common.state.OperatorStateStore stateStore, org.apache.flink.streaming.runtime.tasks.ProcessingTimeService procTimeService, long bucketCheckInterval) throws Exception
- Throws:
Exception
-
-
Method Detail
-
commitUpToCheckpoint
public void commitUpToCheckpoint(long checkpointId) throws Exception- Throws:
Exception
-
onProcessingTime
public void onProcessingTime(long timestamp) throws Exception- Specified by:
onProcessingTimein interfaceorg.apache.flink.api.common.operators.ProcessingTimeService.ProcessingTimeCallback- Throws:
Exception
-
onElement
public void onElement(IN value, long currentProcessingTime, @Nullable Long elementTimestamp, long currentWatermark) throws Exception
- Throws:
Exception
-
close
public void close()
-
-