Enum WatermarkHandlingResult

    • Enum Constant Detail

      • PEEK

        public static final WatermarkHandlingResult PEEK
        Process function only peek the watermark, and it's framework's responsibility to handle this watermark.
      • POLL

        public static final WatermarkHandlingResult POLL
        This watermark should be sent to downstream by process function itself. The framework does no additional processing.
    • Method Detail

      • values

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

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