Class TagHistoryQueryFlags

java.lang.Object
com.inductiveautomation.ignition.common.sqltags.history.TagHistoryQueryFlags

public class TagHistoryQueryFlags extends Object
This class defines static values that can be set on the flags field of TagHistoryQueryParams in order to change the behavior of the query.
  • Field Details

    • NO_SEED_VALUES

      public static final int NO_SEED_VALUES
      Do not read seed values for the query.
      See Also:
    • NO_CACHE

      public static final int NO_CACHE
      Do not uses values from any cache.
      See Also:
    • NO_SCANCLASS_VALIDATION

      public static final int NO_SCANCLASS_VALIDATION
      Do not validate scan class executions
      See Also:
    • NO_INTERPOLATION

      public static final int NO_INTERPOLATION
      Do not interpolate values
      See Also:
    • BOUNDING_VALUES_YES

      public static final int BOUNDING_VALUES_YES
      Indicates whether bounding values should specifically be included or excluded. This flag set has 2 values because the default is different based on the mode (off for raw, on for sampled). If neither flag is specified, we use the default.
      See Also:
    • BOUNDING_VALUES_NO

      public static final int BOUNDING_VALUES_NO
      See Also:
    • IGNORE_BAD_QUALITY

      public static final int IGNORE_BAD_QUALITY
      Ignore any data that has bad quality.
      See Also:
    • NO_PREPROCESSED_DATA

      public static final int NO_PREPROCESSED_DATA
      Requests that we only query raw data.
      See Also:
  • Constructor Details

    • TagHistoryQueryFlags

      public TagHistoryQueryFlags()
  • Method Details

    • readSeedValues

      public static boolean readSeedValues(TagHistoryQueryParams queryParams)
      Helper function for determining if seed values should be used, based on flags for bounding values and other settings.
    • toDescriptiveString

      public static String toDescriptiveString(Flags value)
      Prints out readable names for the values of flags, comma separated. If no flags are set, "NONE" is returned.