Record Class AnnotationQueryKey
java.lang.Object
java.lang.Record
com.inductiveautomation.historian.common.model.options.AnnotationQueryKey
- Record Components:
identifier- the path whose annotations are queried.
- All Implemented Interfaces:
ComplexQueryKey<QualifiedPath>, QueryKey<ComplexPointType>
public record AnnotationQueryKey(QualifiedPath identifier)
extends Record
implements ComplexQueryKey<QualifiedPath>
Key for querying the annotations of a path; its point type is
StandardComplexPointType.ANNOTATION.-
Constructor Summary
ConstructorsConstructorDescriptionAnnotationQueryKey(QualifiedPath identifier) Creates an instance of aAnnotationQueryKeyrecord class. -
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.Returns the value of theidentifierrecord component.ReturnsStandardComplexPointType.ANNOTATION.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AnnotationQueryKey
Creates an instance of aAnnotationQueryKeyrecord class.- Parameters:
identifier- the value for theidentifierrecord component
-
-
Method Details
-
pointType
ReturnsStandardComplexPointType.ANNOTATION.- Specified by:
pointTypein interfaceQueryKey<ComplexPointType>- Returns:
- the point type.
-
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). -
identifier
Returns the value of theidentifierrecord component.- Specified by:
identifierin interfaceComplexQueryKey<QualifiedPath>- Returns:
- the value of the
identifierrecord component
-