Class AbstractQueryEngine

java.lang.Object
com.inductiveautomation.historian.gateway.api.query.AbstractQueryEngine
All Implemented Interfaces:
QueryEngine

public abstract class AbstractQueryEngine extends Object implements QueryEngine
Abstract base class for building query engines that support various types of querying (raw, aggregated, and complex) over historical data. This class implements the QueryEngine interface and provides foundational behavior for managing query operations, logging, error handling, and performance metrics.

Concrete subclasses should implement specific query behaviors by overriding the provided protected methods for handling raw data, aggregated data, and complex query types.

This class is initialized with a gateway context, historian name, logging utilities, a path adapter, and supported complex point types. It also relies on a metrics object for tracking performance during query execution.

Thread-safe methods are provided for browsing and querying using various input parameters and result processors, while enforcing validation rules and quality codes for unsupported or unavailable operations.