Class StreamPartitioner<T>

    • Field Detail

      • numberOfChannels

        protected int numberOfChannels
    • Constructor Detail

      • StreamPartitioner

        public StreamPartitioner()
    • Method Detail

      • setup

        public void setup​(int numberOfChannels)
        Specified by:
        setup in interface org.apache.flink.runtime.io.network.api.writer.ChannelSelector<T>
      • isBroadcast

        public boolean isBroadcast()
        Specified by:
        isBroadcast in interface org.apache.flink.runtime.io.network.api.writer.ChannelSelector<T>
      • hashCode

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

        public org.apache.flink.runtime.io.network.api.writer.SubtaskStateMapper getUpstreamSubtaskStateMapper()
        Defines the behavior of this partitioner, when upstream rescaled during recovery of in-flight data.
      • getDownstreamSubtaskStateMapper

        public abstract org.apache.flink.runtime.io.network.api.writer.SubtaskStateMapper getDownstreamSubtaskStateMapper()
        Defines the behavior of this partitioner, when downstream rescaled during recovery of in-flight data.
      • isPointwise

        public abstract boolean isPointwise()