Record Class QueryProgress.Started
java.lang.Object
java.lang.Record
com.inductiveautomation.historian.gateway.api.query.pipeline.QueryProgress.Started
- All Implemented Interfaces:
QueryProgress
- Enclosing interface:
QueryProgress
public static record QueryProgress.Started(Instant timestamp, int keyCount)
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intkeyCount()Returns the value of thekeyCountrecord component.Returns the value of thetimestamprecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Started
Creates an instance of aStartedrecord class.- Parameters:
timestamp- the value for thetimestamprecord componentkeyCount- the value for thekeyCountrecord 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
-
keyCount
public int keyCount()Returns the value of thekeyCountrecord component.- Returns:
- the value of the
keyCountrecord component
-