Class AnnotationQueryOptions
java.lang.Object
com.inductiveautomation.historian.common.model.options.AbstractQueryOptions<AnnotationQueryKey,ComplexPointType>
com.inductiveautomation.historian.common.model.options.AnnotationQueryOptions
- All Implemented Interfaces:
ComplexQueryOptions<AnnotationQueryKey>,QueryOptions<AnnotationQueryKey,ComplexPointType>
public final class AnnotationQueryOptions
extends AbstractQueryOptions<AnnotationQueryKey,ComplexPointType>
implements ComplexQueryOptions<AnnotationQueryKey>
Represents the options for querying annotation data points.
This class extends AbstractQueryOptions and implements ComplexQueryOptions
to provide functionality specific to annotation queries, including type filtering.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder class for constructing instances ofAnnotationQueryOptions.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 TypeMethodDescriptionbuilder()Creates a newAnnotationQueryOptions.Builderinstance for constructingAnnotationQueryOptions.builder(AnnotationQueryOptions options) Creates a newAnnotationQueryOptions.Builderinstance initialized with the values of an existingAnnotationQueryOptions.Retrieves the type of the complex data point.Retrieves the type filter used for the query.toString()Returns a string representation of the annotation query options.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 data point.This implementation always returns
StandardComplexPointType.ANNOTATION.- Specified by:
getPointTypein interfaceQueryOptions<AnnotationQueryKey,ComplexPointType> - Returns:
- The
ComplexPointTyperepresenting the annotation type.
-
toString
Returns a string representation of the annotation query options.- Overrides:
toStringin classAbstractQueryOptions<AnnotationQueryKey,ComplexPointType> - Returns:
- A string representation of the object.
-
getTypeFilter
Retrieves the type filter used for the query.- Returns:
- The
TypeFilterspecifying the types of annotations to include.
-
builder
Creates a newAnnotationQueryOptions.Builderinstance for constructingAnnotationQueryOptions.- Returns:
- A new
AnnotationQueryOptions.Builder.
-
builder
Creates a newAnnotationQueryOptions.Builderinstance initialized with the values of an existingAnnotationQueryOptions.- Parameters:
options- The existingAnnotationQueryOptionsto copy.- Returns:
- A new
AnnotationQueryOptions.Builderinitialized with the values of the given options.
-