Record Class WindowId
java.lang.Object
java.lang.Record
com.inductiveautomation.historian.gateway.api.query.pipeline.WindowId
Identifier for a closed time window:
[startMs, endMs).-
Constructor Summary
ConstructorsConstructorDescriptionWindowId(long startMs, long endMs) Creates an instance of aWindowIdrecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongendMs()Returns the value of theendMsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longsizeMs()longstartMs()Returns the value of thestartMsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
WindowId
public WindowId(long startMs, long endMs) Creates an instance of aWindowIdrecord class.- Parameters:
startMs- the value for thestartMsrecord componentendMs- the value for theendMsrecord component
-
-
Method Details
-
sizeMs
public long sizeMs() -
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 with thecomparemethod from their corresponding wrapper classes. -
startMs
public long startMs()Returns the value of thestartMsrecord component.- Returns:
- the value of the
startMsrecord component
-
endMs
public long endMs()Returns the value of theendMsrecord component.- Returns:
- the value of the
endMsrecord component
-