Enum DataExchangeMode

    • Enum Constant Detail

      • PIPELINED

        public static final DataExchangeMode PIPELINED
        The data exchange is streamed, sender and receiver are online at the same time, and the receiver back-pressures the sender.
      • BATCH

        public static final DataExchangeMode BATCH
        The data exchange is decoupled. The sender first produces its entire result and finishes. After that, the receiver is started and may consume the data.
      • PIPELINE_WITH_BATCH_FALLBACK

        public static final DataExchangeMode PIPELINE_WITH_BATCH_FALLBACK
        The data exchange starts like in PIPELINED and falls back to BATCH for recovery runs.
    • Method Detail

      • values

        public static DataExchangeMode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (DataExchangeMode c : DataExchangeMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DataExchangeMode valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getForForwardExchange

        public static DataExchangeMode getForForwardExchange​(org.apache.flink.api.common.ExecutionMode mode)
      • getForShuffleOrBroadcast

        public static DataExchangeMode getForShuffleOrBroadcast​(org.apache.flink.api.common.ExecutionMode mode)
      • getPipelineBreakingExchange

        public static DataExchangeMode getPipelineBreakingExchange​(org.apache.flink.api.common.ExecutionMode mode)