Record Class QueryProgress.RowsEmitted
java.lang.Object
java.lang.Record
com.inductiveautomation.historian.gateway.api.query.pipeline.QueryProgress.RowsEmitted
- All Implemented Interfaces:
QueryProgress
- Enclosing interface:
QueryProgress
public static record QueryProgress.RowsEmitted(Instant timestamp, long cumulativeRows)
extends Record
implements QueryProgress
-
Nested Class Summary
Nested classes/interfaces inherited from interface QueryProgress
QueryProgress.Finished, QueryProgress.KeyCompleted, QueryProgress.KeyFailed, QueryProgress.KeyOpened, QueryProgress.RowsEmitted, QueryProgress.Started, QueryProgress.WatermarkAdvanced -
Constructor Summary
ConstructorsConstructorDescriptionRowsEmitted(Instant timestamp, long cumulativeRows) Creates an instance of aRowsEmittedrecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the value of thecumulativeRowsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thetimestamprecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RowsEmitted
Creates an instance of aRowsEmittedrecord class.- Parameters:
timestamp- the value for thetimestamprecord componentcumulativeRows- the value for thecumulativeRowsrecord 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. -
timestamp
Returns the value of thetimestamprecord component.- Specified by:
timestampin interfaceQueryProgress- Returns:
- the value of the
timestamprecord component
-
cumulativeRows
public long cumulativeRows()Returns the value of thecumulativeRowsrecord component.- Returns:
- the value of the
cumulativeRowsrecord component
-