Record Class Row.Calculation
java.lang.Object
java.lang.Record
com.inductiveautomation.historian.gateway.api.query.pipeline.Row.Calculation
- All Implemented Interfaces:
Row
- Enclosing interface:
Row
public static record Row.Calculation(long timestamp, QualifiedPath path, AggregateId aggregate, Object value, QualityCode quality)
extends Record
implements Row
Calculation row: one aggregate result per row, with the
timestamp of the start of the
window it finalized over. DatasetSink writes it as the first column of the
CALCULATION dataset.-
Nested Class Summary
Nested classes/interfaces inherited from interface Row
Row.Attributed, Row.Calculation, Row.Tall, Row.Wide -
Constructor Summary
ConstructorsConstructorDescriptionCalculation(long timestamp, QualifiedPath path, AggregateId aggregate, Object value, QualityCode quality) Creates an instance of aCalculationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaggregaterecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.path()Returns the value of thepathrecord component.Returns the per-cell qualities; never null or empty.quality()Returns the value of thequalityrecord component.longReturns the value of thetimestamprecord component.final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
Constructor Details
-
Calculation
public Calculation(long timestamp, QualifiedPath path, AggregateId aggregate, Object value, QualityCode quality) Creates an instance of aCalculationrecord class.- Parameters:
timestamp- the value for thetimestamprecord componentpath- the value for thepathrecord componentaggregate- the value for theaggregaterecord componentvalue- the value for thevaluerecord componentquality- the value for thequalityrecord component
-
-
Method Details
-
qualities
Description copied from interface:RowReturns the per-cell qualities; never null or empty. -
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. -
timestamp
-
path
Returns the value of thepathrecord component.- Returns:
- the value of the
pathrecord component
-
aggregate
Returns the value of theaggregaterecord component.- Returns:
- the value of the
aggregaterecord component
-
value
Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-
quality
Returns the value of thequalityrecord component.- Returns:
- the value of the
qualityrecord component
-