Class AggregateHistoryQueryExecutor

java.lang.Object
com.inductiveautomation.historian.gateway.query.execution.AggregateHistoryQueryExecutor
All Implemented Interfaces:
HistoryQueryExecutor, Comparator<HistoryQueryExecutor>

public class AggregateHistoryQueryExecutor extends Object implements HistoryQueryExecutor, Comparator<HistoryQueryExecutor>
This class is an aggregate history query executor. It will take a list of history query executors, and execute them in order. It will always execute the one with the lowest timestamp first. If two executors have the same timestamp, the one that has more data will be executed first. This class is useful for combining multiple history queries into one, and ensuring that the data is returned in the correct order. This is used to combine the history queries for the different providers into one query.