Record Class FirstEventTime.Found
java.lang.Object
java.lang.Record
velox.api.layer1.dynamichistory.metadata.FirstEventTime.Found
- All Implemented Interfaces:
FirstEventTime
- Enclosing interface:
FirstEventTime
public static record FirstEventTime.Found(long firstEventTimeNs)
extends Record
implements FirstEventTime
Time of the first event available for zoomout/dynamic history
-
Nested Class Summary
Nested classes/interfaces inherited from interface velox.api.layer1.dynamichistory.metadata.FirstEventTime
FirstEventTime.Found, FirstEventTime.HistoryNotAvailable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.longReturns the value of thefirstEventTimeNsrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Found
public Found(long firstEventTimeNs) Creates an instance of aFoundrecord class.- Parameters:
firstEventTimeNs- the value for thefirstEventTimeNsrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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 with '=='. -
firstEventTimeNs
public long firstEventTimeNs()Returns the value of thefirstEventTimeNsrecord component.- Returns:
- the value of the
firstEventTimeNsrecord component
-