Record Class SeedResults.SeedValue<V>
java.lang.Object
java.lang.Record
com.inductiveautomation.historian.gateway.api.query.SeedResults.SeedValue<V>
- Enclosing class:
SeedResults<V>
public static record SeedResults.SeedValue<V>(Object value, QualityCode quality, Instant timestamp, V columnType)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionSeedValue(Object value, QualityCode quality, Instant timestamp, V columnType) Creates an instance of aSeedValuerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecolumnTyperecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static <V> SeedResults.SeedValue<V> of(Object value, QualityCode quality, Instant timestamp, V columnType) quality()Returns the value of thequalityrecord component.Returns the value of thetimestamprecord component.final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
Constructor Details
-
SeedValue
Creates an instance of aSeedValuerecord class.- Parameters:
value- the value for thevaluerecord componentquality- the value for thequalityrecord componenttimestamp- the value for thetimestamprecord componentcolumnType- the value for thecolumnTyperecord component
-
-
Method Details
-
of
public static <V> SeedResults.SeedValue<V> of(Object value, QualityCode quality, Instant timestamp, V columnType) -
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 withObjects::equals(Object,Object). -
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
-
timestamp
Returns the value of thetimestamprecord component.- Returns:
- the value of the
timestamprecord component
-
columnType
Returns the value of thecolumnTyperecord component.- Returns:
- the value of the
columnTyperecord component
-