Enum Class FillMode

java.lang.Object
java.lang.Enum<FillMode>
com.inductiveautomation.ignition.common.FillMode
All Implemented Interfaces:
Serializable, Comparable<FillMode>, Constable

public enum FillMode extends Enum<FillMode>
The FillMode enum represents the different modes that can be used to fill missing data windows within processed query results.

DERIVED: The missing data is derived from the data's datatype. If floating point, linear is used, otherwise repeated is used.
LINEAR: The missing data is filled using linear interpolation of the surrounding windows.
REPEATED: The missing data is filled by repeating the last known value.
NULL: The missing data is filled with null values.
NONE: This mode does not fill missing data. Instead, it excludes the missing window from the results.
  • Enum Constant Details

    • DERIVED

      public static final FillMode DERIVED
    • LINEAR

      public static final FillMode LINEAR
    • PREV

      public static final FillMode PREV
    • NULL

      public static final FillMode NULL
    • NONE

      public static final FillMode NONE
  • Method Details

    • values

      public static FillMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FillMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • fromString

      public static Optional<FillMode> fromString(String value)
      Returns an Optional of FillMode that matches the given string. The match is case-insensitive. If no match is found, an empty Optional is returned.
      Parameters:
      value - The string to match.
      Returns:
      An Optional of FillMode.