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 extend DataPointQueryKey.
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.

  • Constructor Details

    • DataPointQueryOptions

      protected DataPointQueryOptions(B builder)
      Constructs a new instance of DataPointQueryOptions using the provided builder.
      Type Parameters:
      B - The type of the builder, which must extend DataPointQueryOptions.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:
      true if observations are excluded, false otherwise.
    • getQualityLevelFilter

      public QualityLevelFilter getQualityLevelFilter()
      Retrieves the quality level filter associated with this query.
      Returns:
      The QualityLevelFilter used for filtering quality levels.
    • toString

      public String toString()
      Overrides:
      toString in class AbstractQueryOptions<K extends DataPointQueryKey,DataPointType>