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 class
A 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.Builder
builder()
Creates a newMetadataQueryOptions.Builder
instance for constructingMetadataQueryOptions
.static MetadataQueryOptions.Builder
builder
(MetadataQueryOptions options) Creates a newMetadataQueryOptions.Builder
instance 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 thisMetadataQueryOptions
instance.Methods inherited from class com.inductiveautomation.historian.common.model.options.AbstractQueryOptions
getExtendedProperties, getExtendedPropertyValue, getQueryKeys, getReturnSize, getTimeRange
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
getPointType
in interfaceQueryOptions<MetadataQueryKey,
ComplexPointType> - Returns:
- The
ComplexPointType
, which isStandardComplexPointType.METADATA
.
-
toString
Returns a string representation of thisMetadataQueryOptions
instance.- Overrides:
toString
in classAbstractQueryOptions<MetadataQueryKey,
ComplexPointType> - Returns:
- A string representation of this object.
-
getPropertyFilter
Retrieves the property filter associated with this query.- Returns:
- The
PropertySet
used for filtering properties.
-
builder
Creates a newMetadataQueryOptions.Builder
instance for constructingMetadataQueryOptions
.- Returns:
- A new
MetadataQueryOptions.Builder
.
-
builder
Creates a newMetadataQueryOptions.Builder
instance initialized with the values of the providedMetadataQueryOptions
.- Parameters:
options
- TheMetadataQueryOptions
to copy values from.- Returns:
- A new
MetadataQueryOptions.Builder
.
-