public class DirectedOutput<OUT> extends Object implements Output<StreamRecord<OUT>>
| Modifier and Type | Field and Description |
|---|---|
protected Output<StreamRecord<OUT>>[] |
allOutputs |
protected HashMap<String,Output<StreamRecord<OUT>>[]> |
outputMap |
protected OutputSelector<OUT>[] |
outputSelectors |
protected Output<StreamRecord<OUT>>[] |
selectAllOutputs |
| Constructor and Description |
|---|
DirectedOutput(List<OutputSelector<OUT>> outputSelectors,
List<org.apache.flink.api.java.tuple.Tuple2<Output<StreamRecord<OUT>>,StreamEdge>> outputs) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
collect(StreamRecord<OUT> record) |
void |
emitWatermark(Watermark mark)
Emits a
Watermark from an operator. |
protected Set<Output<StreamRecord<OUT>>> |
selectOutputs(StreamRecord<OUT> record) |
protected final OutputSelector<OUT>[] outputSelectors
protected final Output<StreamRecord<OUT>>[] selectAllOutputs
protected final HashMap<String,Output<StreamRecord<OUT>>[]> outputMap
protected final Output<StreamRecord<OUT>>[] allOutputs
public DirectedOutput(List<OutputSelector<OUT>> outputSelectors, List<org.apache.flink.api.java.tuple.Tuple2<Output<StreamRecord<OUT>>,StreamEdge>> outputs)
public void emitWatermark(Watermark mark)
OutputWatermark 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<StreamRecord<OUT>>protected Set<Output<StreamRecord<OUT>>> selectOutputs(StreamRecord<OUT> record)
public void collect(StreamRecord<OUT> record)
collect in interface org.apache.flink.util.Collector<StreamRecord<OUT>>public void close()
close in interface org.apache.flink.util.Collector<StreamRecord<OUT>>Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.