Class MetadataQueryOptions
java.lang.Object
com.inductiveautomation.historian.common.model.options.AbstractQueryOptions<MetadataQueryKey,ComplexPointType>
com.inductiveautomation.historian.common.model.options.MetadataQueryOptions
- All Implemented Interfaces:
ComplexQueryOptions<MetadataQueryKey>,QueryOptions<MetadataQueryKey,ComplexPointType>
public final class MetadataQueryOptions
extends AbstractQueryOptions<MetadataQueryKey,ComplexPointType>
implements ComplexQueryOptions<MetadataQueryKey>, QueryOptions<MetadataQueryKey,ComplexPointType>
Represents the options for querying metadata points.
This final class extends AbstractQueryOptions with a specific query key type
of MetadataQueryKey and a point type of ComplexPointType.
It provides functionality for building and retrieving query options specific to metadata points.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder class for constructing instances ofMetadataQueryOptions.Nested classes/interfaces inherited from class com.inductiveautomation.historian.common.model.options.AbstractQueryOptions
AbstractQueryOptions.BaseBuilder<K extends QueryKey<T>,T extends TemporalPointType & QueryablePointType<T>, B extends AbstractQueryOptions.BaseBuilder<K, T, B>> -
Field Summary
Fields inherited from class com.inductiveautomation.historian.common.model.options.AbstractQueryOptions
extendedProperties, queryKeys, returnSize, timeRange -
Method Summary
Modifier and TypeMethodDescriptionstatic MetadataQueryOptions.Builderbuilder()Creates a newMetadataQueryOptions.Builderinstance for constructingMetadataQueryOptions.static MetadataQueryOptions.Builderbuilder(MetadataQueryOptions options) Creates a newMetadataQueryOptions.Builderinstance initialized with the values of the providedMetadataQueryOptions.Retrieves the type of the complex point associated with this query.Retrieves the property filter associated with this query.toString()Returns a string representation of thisMetadataQueryOptionsinstance.Methods inherited from class com.inductiveautomation.historian.common.model.options.AbstractQueryOptions
getExtendedProperties, getExtendedPropertyValue, getQueryKeys, getReturnSize, getTimeRangeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.inductiveautomation.historian.common.model.options.QueryOptions
getQueryKeys, getReturnSize, getTimeRange
-
Method Details
-
getPointType
Retrieves the type of the complex point associated with this query.- Specified by:
getPointTypein interfaceQueryOptions<MetadataQueryKey,ComplexPointType> - Returns:
- The
ComplexPointType, which isStandardComplexPointType.METADATA.
-
toString
Returns a string representation of thisMetadataQueryOptionsinstance.- Overrides:
toStringin classAbstractQueryOptions<MetadataQueryKey,ComplexPointType> - Returns:
- A string representation of this object.
-
getPropertyFilter
Retrieves the property filter associated with this query.- Returns:
- The
PropertySetused for filtering properties.
-
builder
Creates a newMetadataQueryOptions.Builderinstance for constructingMetadataQueryOptions.- Returns:
- A new
MetadataQueryOptions.Builder.
-
builder
Creates a newMetadataQueryOptions.Builderinstance initialized with the values of the providedMetadataQueryOptions.- Parameters:
options- TheMetadataQueryOptionsto copy values from.- Returns:
- A new
MetadataQueryOptions.Builder.
-