Class Epoch<OUT>
- java.lang.Object
-
- org.apache.flink.table.runtime.operators.join.lookup.keyordered.Epoch<OUT>
-
public class Epoch<OUT> extends Object
All inputs are segment into distinct epochs, marked by the arrival of non-record inputs. Records are assigned to a unique epoch based on their arrival.
-
-
Constructor Summary
Constructors Constructor Description Epoch(org.apache.flink.streaming.api.watermark.Watermark watermark)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose(Runnable advanceWatermark)Close this epoch.voidcollect(org.apache.flink.streaming.api.operators.async.queue.StreamElementQueueEntry<OUT> resultFuture)Add resultFuture to the output queue.voiddecrementCount()booleanequals(Object obj)voidfree()intgetOngoingRecordCount()org.apache.flink.streaming.api.watermark.WatermarkgetWatermark()inthashCode()voidincrementCount()voidsetOutput(Consumer<org.apache.flink.streaming.api.operators.async.queue.StreamElementQueueEntry<OUT>> outputConsumer)StringtoString()
-
-
-
Method Detail
-
collect
public void collect(org.apache.flink.streaming.api.operators.async.queue.StreamElementQueueEntry<OUT> resultFuture)
Add resultFuture to the output queue.
-
setOutput
public void setOutput(Consumer<org.apache.flink.streaming.api.operators.async.queue.StreamElementQueueEntry<OUT>> outputConsumer)
-
decrementCount
public void decrementCount()
-
incrementCount
public void incrementCount()
-
getWatermark
public org.apache.flink.streaming.api.watermark.Watermark getWatermark()
-
close
public void close(Runnable advanceWatermark)
Close this epoch.
-
free
public void free()
-
getOngoingRecordCount
@VisibleForTesting public int getOngoingRecordCount()
-
-