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