Class WatermarkQualityScorer<T>
java.lang.Object
org.apache.flink.streaming.api.operators.AbstractStreamOperator<T>
de.robertmetzger.flink.utils.watermarks.WatermarkQualityScorer<T>
- All Implemented Interfaces:
Serializable,org.apache.flink.api.common.state.CheckpointListener,org.apache.flink.streaming.api.operators.Input<T>,org.apache.flink.streaming.api.operators.KeyContext,org.apache.flink.streaming.api.operators.OneInputStreamOperator<T,T>,org.apache.flink.streaming.api.operators.SetupableStreamOperator<T>,org.apache.flink.streaming.api.operators.StreamOperator<T>,org.apache.flink.streaming.api.operators.StreamOperatorStateHandler.CheckpointedStreamOperator
public class WatermarkQualityScorer<T>
extends org.apache.flink.streaming.api.operators.AbstractStreamOperator<T>
implements org.apache.flink.streaming.api.operators.OneInputStreamOperator<T,T>
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class org.apache.flink.streaming.api.operators.AbstractStreamOperator
chainingStrategy, config, latencyStats, LOG, metrics, output, processingTimeService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidopen()voidprocessElement(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<T> element)voidprocessWatermark(org.apache.flink.streaming.api.watermark.Watermark mark)static <T> voidscore(org.apache.flink.streaming.api.datastream.DataStream<T> stream)Methods inherited from class org.apache.flink.streaming.api.operators.AbstractStreamOperator
close, finish, getChainingStrategy, getContainingTask, getCurrentKey, getExecutionConfig, getInternalTimerService, getKeyedStateBackend, getKeyedStateStore, getMetricGroup, getOperatorConfig, getOperatorID, getOperatorName, getOperatorStateBackend, getOrCreateKeyedState, getPartitionedState, getPartitionedState, getProcessingTimeService, getRuntimeContext, getTimeServiceManager, getUserCodeClassloader, initializeState, initializeState, isUsingCustomRawKeyedState, notifyCheckpointAborted, notifyCheckpointComplete, prepareSnapshotPreBarrier, processLatencyMarker, processLatencyMarker1, processLatencyMarker2, processWatermark1, processWatermark2, processWatermarkStatus, processWatermarkStatus1, processWatermarkStatus2, reportOrForwardLatencyMarker, setChainingStrategy, setCurrentKey, setKeyContextElement1, setKeyContextElement2, setProcessingTimeService, setup, snapshotState, snapshotStateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.api.common.state.CheckpointListener
notifyCheckpointAborted, notifyCheckpointCompleteMethods inherited from interface org.apache.flink.streaming.api.operators.Input
processLatencyMarker, processWatermarkStatusMethods inherited from interface org.apache.flink.streaming.api.operators.KeyContext
getCurrentKey, setCurrentKeyMethods inherited from interface org.apache.flink.streaming.api.operators.OneInputStreamOperator
setKeyContextElementMethods inherited from interface org.apache.flink.streaming.api.operators.StreamOperator
close, finish, getMetricGroup, getOperatorID, initializeState, prepareSnapshotPreBarrier, setKeyContextElement1, setKeyContextElement2, snapshotState
-
Constructor Details
-
WatermarkQualityScorer
public WatermarkQualityScorer()
-
-
Method Details
-
score
public static <T> void score(org.apache.flink.streaming.api.datastream.DataStream<T> stream) -
open
-
processElement
-
processWatermark
public void processWatermark(org.apache.flink.streaming.api.watermark.Watermark mark) throws Exception
-