Class SampleQuality
java.lang.Object
com.inductiveautomation.historian.gateway.api.query.util.SampleQuality
How every aggregated route reads a stored sample's quality: its level, with a held value counted
as Bad; whether a quality filter admits it at that level; and whether it is noise, a sample with
no value that the filter admits, which the read ignores as if it had never been stored.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final List<QualityCode> The codes stored for a value held after a lost connection or a placeholder, in the order the engines render them; stored without info bits, so their user codes match exactly. -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanadmits(QualityLevelFilter levels, @Nullable QualityCode quality) static QualityCode.LevelaggregatedLevel(@Nullable QualityCode quality) A sample's level: Bad for aHELDcode, else its own; Good for one with no quality.static QualityLevelFilterboundLevels(QualityLevelFilter admitted) The levels a bound that competes with a window's values, or stands at its end, may come from: Good, Uncertain and every leveladmittedadmits.static booleanisNoise(@Nullable Object value, @Nullable QualityCode quality, QualityLevelFilter admitted) Whether every aggregated read ignores a stored sample, as if it had never been stored: it has no value (none, or a NaN or infinite reading) andadmittedadmits its level.
-
Field Details
-
HELD
The codes stored for a value held after a lost connection or a placeholder, in the order the engines render them; stored without info bits, so their user codes match exactly.
-
-
Method Details
-
aggregatedLevel
A sample's level: Bad for aHELDcode, else its own; Good for one with no quality. -
admits
-
isNoise
public static boolean isNoise(@Nullable Object value, @Nullable QualityCode quality, QualityLevelFilter admitted) Whether every aggregated read ignores a stored sample, as if it had never been stored: it has no value (none, or a NaN or infinite reading) andadmittedadmits its level. A refused sample with no value still marks its time. -
boundLevels
The levels a bound that competes with a window's values, or stands at its end, may come from: Good, Uncertain and every leveladmittedadmits.
-