Enum RuntimeExecutionMode

    • Enum Constant Detail

      • STREAMING

        public static final RuntimeExecutionMode STREAMING
        The Pipeline will be executed with Streaming Semantics. All tasks will be deployed before execution starts, checkpoints will be enabled, and both processing and event time will be fully supported.
      • BATCH

        public static final RuntimeExecutionMode BATCH
        The Pipeline will be executed with Batch Semantics. Tasks will be scheduled gradually based on the scheduling region they belong, shuffles between regions will be blocking, watermarks are assumed to be "perfect" i.e. no late data, and processing time is assumed to not advance during execution.
      • AUTOMATIC

        public static final RuntimeExecutionMode AUTOMATIC
        Flink will set the execution mode to BATCH if all sources are bounded, or STREAMING if there is at least one source which is unbounded.
    • Method Detail

      • values

        public static RuntimeExecutionMode[] 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 (RuntimeExecutionMode c : RuntimeExecutionMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static RuntimeExecutionMode 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