Enum Class Interpolation

java.lang.Object
java.lang.Enum<Interpolation>
com.inductiveautomation.historian.common.model.options.Interpolation
All Implemented Interfaces:
Serializable, Comparable<Interpolation>, Constable

public enum Interpolation extends Enum<Interpolation>
How an aggregated key reads the signal between its samples, and whether its windows take edge values. Set per key on AggregatedQueryKey.interpolation(); a key that leaves it unset or AUTO takes the query default AggregatedQueryOptions.getInterpolation(). An aggregate that does not offer the resolved value answers with its own default.
  • Enum Constant Details

    • AUTO

      public static final Interpolation AUTO
      The tag's stored shape, stepped or sloped. Each window also takes the tag's value at its start and end.
    • SLOPED

      public static final Interpolation SLOPED
      A line between samples. Each window also takes the tag's value at its start and end.
    • STEPPED

      public static final Interpolation STEPPED
      Each sample held until the next. Each window also takes the tag's value at its start and end.
    • NONE

      public static final Interpolation NONE
      The window's own samples only: no edge values and no value carried in from before it.
  • Method Details

    • values

      public static Interpolation[] 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 Interpolation 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