Record Class WindowExtent
java.lang.Object
java.lang.Record
com.inductiveautomation.historian.common.model.data.WindowExtent
- Record Components:
first- the window's earliest stored sample, ornullwhen not supplied.last- the window's latest stored sample, ornullwhen not supplied.
public record WindowExtent(@Nullable AtomicPoint<?> first, @Nullable AtomicPoint<?> last)
extends Record
The first and last stored samples, of any quality, in an aggregate's window. An engine may supply
only the side that borders a window with no samples; the pipeline answers such a window from
them, so an aggregate like
last_value reads the same whichever side computed it.-
Constructor Summary
ConstructorsConstructorDescriptionWindowExtent(@Nullable AtomicPoint<?> first, @Nullable AtomicPoint<?> last) Creates an instance of aWindowExtentrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.@Nullable AtomicPoint<?> first()Returns the value of thefirstrecord component.final inthashCode()Returns a hash code value for this object.@Nullable AtomicPoint<?> last()Returns the value of thelastrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
first
-
last
-