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 class
Builder 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.Builder
instance for constructingAnnotationQueryOptions
.builder
(AnnotationQueryOptions options) Creates a newAnnotationQueryOptions.Builder
instance 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, 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 data point.This implementation always returns
StandardComplexPointType.ANNOTATION
.- Specified by:
getPointType
in interfaceQueryOptions<AnnotationQueryKey,
ComplexPointType> - Returns:
- The
ComplexPointType
representing the annotation type.
-
toString
Returns a string representation of the annotation query options.- Overrides:
toString
in classAbstractQueryOptions<AnnotationQueryKey,
ComplexPointType> - Returns:
- A string representation of the object.
-
getTypeFilter
Retrieves the type filter used for the query.- Returns:
- The
TypeFilter
specifying the types of annotations to include.
-
builder
Creates a newAnnotationQueryOptions.Builder
instance for constructingAnnotationQueryOptions
.- Returns:
- A new
AnnotationQueryOptions.Builder
.
-
builder
Creates a newAnnotationQueryOptions.Builder
instance initialized with the values of an existingAnnotationQueryOptions
.- Parameters:
options
- The existingAnnotationQueryOptions
to copy.- Returns:
- A new
AnnotationQueryOptions.Builder
initialized with the values of the given options.
-