Class DataPointQueryOptions<K extends DataPointQueryKey>
java.lang.Object
com.inductiveautomation.historian.common.model.options.AbstractQueryOptions<K,DataPointType>
com.inductiveautomation.historian.common.model.options.DataPointQueryOptions<K>
- Type Parameters:
K- The type of the query key, which must extendDataPointQueryKey.
- All Implemented Interfaces:
QueryOptions<K,DataPointType>
- Direct Known Subclasses:
AggregatedQueryOptions,RawQueryOptions
public abstract sealed class DataPointQueryOptions<K extends DataPointQueryKey>
extends AbstractQueryOptions<K,DataPointType>
permits RawQueryOptions, AggregatedQueryOptions
Represents the base options for querying data points.
This abstract sealed class extends AbstractQueryOptions and provides additional
functionality specific to data point queries, such as excluding observations and filtering
by quality levels. It is extended by RawQueryOptions and AggregatedQueryOptions.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classDataPointQueryOptions.DataQueryBuilder<K extends DataPointQueryKey,B extends DataPointQueryOptions.DataQueryBuilder<K, B>> A builder class for constructing instances ofDataPointQueryOptions.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 -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDataPointQueryOptions(B builder) Constructs a new instance ofDataPointQueryOptionsusing the provided builder. -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks whether observations are excluded from the query results.Retrieves the quality level filter associated with this query.toString()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
getPointType
-
Constructor Details
-
DataPointQueryOptions
protected DataPointQueryOptions(B builder) Constructs a new instance ofDataPointQueryOptionsusing the provided builder.- Type Parameters:
B- The type of the builder, which must extendDataPointQueryOptions.DataQueryBuilder.- Parameters:
builder- The builder used to configure this instance.
-
-
Method Details
-
areObservationsExcluded
public boolean areObservationsExcluded()Checks whether observations are excluded from the query results.- Returns:
trueif observations are excluded,falseotherwise.
-
getQualityLevelFilter
Retrieves the quality level filter associated with this query.- Returns:
- The
QualityLevelFilterused for filtering quality levels.
-
toString
- Overrides:
toStringin classAbstractQueryOptions<K extends DataPointQueryKey,DataPointType>
-