Package org.apache.flink.runtime.event
Class WatermarkEvent
- java.lang.Object
-
- org.apache.flink.runtime.event.AbstractEvent
-
- org.apache.flink.runtime.event.RuntimeEvent
-
- org.apache.flink.runtime.event.WatermarkEvent
-
- All Implemented Interfaces:
org.apache.flink.core.io.IOReadableWritable
@Internal public class WatermarkEvent extends RuntimeEvent
This event wraps theWatermark, it is used in propagateWatermarkbetween shuffle components, and should not be visible to operators and functions.
-
-
Constructor Summary
Constructors Constructor Description WatermarkEvent()WatermarkEvent(org.apache.flink.api.common.watermark.Watermark watermark, boolean isAligned)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)org.apache.flink.api.common.watermark.WatermarkgetWatermark()inthashCode()booleanisAligned()voidread(org.apache.flink.core.memory.DataInputView in)StringtoString()voidwrite(org.apache.flink.core.memory.DataOutputView out)
-
-
-
Method Detail
-
write
public void write(org.apache.flink.core.memory.DataOutputView out) throws IOException- Throws:
IOException
-
read
public void read(org.apache.flink.core.memory.DataInputView in) throws IOException- Throws:
IOException
-
getWatermark
public org.apache.flink.api.common.watermark.Watermark getWatermark()
-
isAligned
public boolean isAligned()
-
-