public class FinishedOnRestoreMainOperatorOutput<OUT> extends Object implements WatermarkGaugeExposingOutput<OUT>
Constructor and Description |
---|
FinishedOnRestoreMainOperatorOutput(RecordWriterOutput<?>[] streamOutputs) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the collector.
|
void |
collect(OUT record)
Emits a record.
|
<X> void |
collect(OutputTag<X> outputTag,
StreamRecord<X> record)
Emits a record to the side output identified by the given
OutputTag . |
void |
emitLatencyMarker(LatencyMarker latencyMarker) |
void |
emitRecordAttributes(RecordAttributes recordAttributes)
Emits a
RecordAttributes from an operator. |
void |
emitWatermark(Watermark mark)
Emits a
Watermark from an operator. |
void |
emitWatermarkStatus(WatermarkStatus watermarkStatus) |
Gauge<Long> |
getWatermarkGauge() |
public FinishedOnRestoreMainOperatorOutput(RecordWriterOutput<?>[] streamOutputs)
public void collect(OUT record)
Collector
public void emitWatermark(Watermark mark)
Output
Watermark
from an operator. This watermark is broadcast to all downstream
operators.
A watermark specifies that no element with a timestamp lower or equal to the watermark timestamp will be emitted in the future.
emitWatermark
in interface Output<OUT>
public void emitWatermarkStatus(WatermarkStatus watermarkStatus)
emitWatermarkStatus
in interface Output<OUT>
public <X> void collect(OutputTag<X> outputTag, StreamRecord<X> record)
Output
OutputTag
.public void emitLatencyMarker(LatencyMarker latencyMarker)
emitLatencyMarker
in interface Output<OUT>
public void emitRecordAttributes(RecordAttributes recordAttributes)
Output
RecordAttributes
from an operator. This element is broadcast to all
downstream operators.emitRecordAttributes
in interface Output<OUT>
public void close()
Collector
public Gauge<Long> getWatermarkGauge()
getWatermarkGauge
in interface WatermarkGaugeExposingOutput<OUT>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.