Class StreamEdge

  • All Implemented Interfaces:
    Serializable

    @Internal
    public class StreamEdge
    extends Object
    implements Serializable
    An edge in the streaming topology. One edge like this does not necessarily gets converted to a connection between two job vertices (due to chaining/optimization).
    See Also:
    Serialized Form
    • Constructor Detail

      • StreamEdge

        public StreamEdge​(StreamNode sourceVertex,
                          StreamNode targetVertex,
                          int typeNumber,
                          StreamPartitioner<?> outputPartitioner,
                          org.apache.flink.util.OutputTag outputTag)
      • StreamEdge

        public StreamEdge​(StreamNode sourceVertex,
                          StreamNode targetVertex,
                          int typeNumber,
                          StreamPartitioner<?> outputPartitioner,
                          org.apache.flink.util.OutputTag outputTag,
                          StreamExchangeMode exchangeMode,
                          int uniqueId,
                          org.apache.flink.runtime.jobgraph.IntermediateDataSetID intermediateDatasetId)
      • StreamEdge

        public StreamEdge​(StreamNode sourceVertex,
                          StreamNode targetVertex,
                          int typeNumber,
                          long bufferTimeout,
                          StreamPartitioner<?> outputPartitioner,
                          org.apache.flink.util.OutputTag outputTag,
                          StreamExchangeMode exchangeMode,
                          int uniqueId,
                          org.apache.flink.runtime.jobgraph.IntermediateDataSetID intermediateDatasetId)
    • Method Detail

      • getSourceId

        public int getSourceId()
      • getTargetId

        public int getTargetId()
      • getTypeNumber

        public int getTypeNumber()
      • getOutputTag

        public org.apache.flink.util.OutputTag getOutputTag()
      • setBufferTimeout

        public void setBufferTimeout​(long bufferTimeout)
      • getBufferTimeout

        public long getBufferTimeout()
      • setSupportsUnalignedCheckpoints

        public void setSupportsUnalignedCheckpoints​(boolean supportsUnalignedCheckpoints)
      • supportsUnalignedCheckpoints

        public boolean supportsUnalignedCheckpoints()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getIntermediateDatasetIdToProduce

        public org.apache.flink.runtime.jobgraph.IntermediateDataSetID getIntermediateDatasetIdToProduce()