Class TagHistoryQueryFlags
java.lang.Object
com.inductiveautomation.ignition.common.sqltags.history.TagHistoryQueryFlags
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
Indicates whether bounding values should specifically be included or excluded.static final int
Ignore any data that has bad quality.static final int
Do not uses values from any cache.static final int
Do not interpolate valuesstatic final int
Requests that we only query raw data.static final int
Do not validate scan class executionsstatic final int
Do not read seed values for the query. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
readSeedValues
(TagHistoryQueryParams queryParams) Helper function for determining if seed values should be used, based on flags for bounding values and other settings.static String
toDescriptiveString
(Flags value) Prints out readable names for the values of flags, comma separated.
-
Field Details
-
NO_SEED_VALUES
public static final int NO_SEED_VALUESDo not read seed values for the query.- See Also:
-
NO_CACHE
public static final int NO_CACHEDo not uses values from any cache.- See Also:
-
NO_SCANCLASS_VALIDATION
public static final int NO_SCANCLASS_VALIDATIONDo not validate scan class executions- See Also:
-
NO_INTERPOLATION
public static final int NO_INTERPOLATIONDo not interpolate values- See Also:
-
BOUNDING_VALUES_YES
public static final int BOUNDING_VALUES_YESIndicates 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_QUALITYIgnore any data that has bad quality.- See Also:
-
NO_PREPROCESSED_DATA
public static final int NO_PREPROCESSED_DATARequests that we only query raw data.- See Also:
-
-
Constructor Details
-
TagHistoryQueryFlags
public TagHistoryQueryFlags()
-
-
Method Details
-
readSeedValues
Helper function for determining if seed values should be used, based on flags for bounding values and other settings. -
toDescriptiveString
Prints out readable names for the values of flags, comma separated. If no flags are set, "NONE" is returned.
-