Record Class EngineQuerySection
java.lang.Object
java.lang.Record
com.inductiveautomation.historian.common.model.binding.EngineQuerySection
public record EngineQuerySection(String engineHistprov, List<HistorianQueryEntry> entries, @Nullable QualityLevelFilterConfig qualityLevels, boolean excludeObservations)
extends Record
One historian engine's slice of a binding's work; maps to one entry of the runtime
MultiEngineQueryOptions envelope.
Every entry's source must have a histprov component equal to engineHistprov(). The Designer enforces this on save; the runtime does not re-check.
A null qualityLevels sets no quality filter, so each query takes its default.
Immutable. Thread-safe.
-
Constructor Summary
ConstructorsConstructorDescriptionEngineQuerySection(String engineHistprov, List<HistorianQueryEntry> entries, @Nullable QualityLevelFilterConfig qualityLevels, boolean excludeObservations) Creates an instance of aEngineQuerySectionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theengineHistprovrecord component.entries()Returns the value of theentriesrecord component.final booleanIndicates whether some other object is "equal to" this one.booleanReturns the value of theexcludeObservationsrecord component.final inthashCode()Returns a hash code value for this object.@Nullable QualityLevelFilterConfigReturns the value of thequalityLevelsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
EngineQuerySection
public EngineQuerySection(String engineHistprov, List<HistorianQueryEntry> entries, @Nullable QualityLevelFilterConfig qualityLevels, boolean excludeObservations) Creates an instance of aEngineQuerySectionrecord class.- Parameters:
engineHistprov- the value for theengineHistprovrecord componententries- the value for theentriesrecord componentqualityLevels- the value for thequalityLevelsrecord componentexcludeObservations- the value for theexcludeObservationsrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
engineHistprov
Returns the value of theengineHistprovrecord component.- Returns:
- the value of the
engineHistprovrecord component
-
entries
Returns the value of theentriesrecord component.- Returns:
- the value of the
entriesrecord component
-
qualityLevels
Returns the value of thequalityLevelsrecord component.- Returns:
- the value of the
qualityLevelsrecord component
-
excludeObservations
public boolean excludeObservations()Returns the value of theexcludeObservationsrecord component.- Returns:
- the value of the
excludeObservationsrecord component
-