Interface TagHistoryQueryInterface
-
- All Superinterfaces:
AnnotationQueryProvider
- All Known Subinterfaces:
TagHistoryProvider
- All Known Implementing Classes:
HistorianProvider
,InternalHistorianProvider
,InternalHistorianProviderType.EdgeHistorian
,RemoteHistorianProvider
,SimulatorHistorianProvider
,TagHistoryProvider
,TagHistorySplitterProvider
public interface TagHistoryQueryInterface extends AnnotationQueryProvider
This interface shares some functions with TagHistoryProvider. It is the minimum set of functions that are used to query tag history from a provider.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description HistoryQueryExecutor
createQuery(java.util.List<ColumnQueryDefinition> paths, QueryController controller)
default java.util.List<Aggregate>
getAvailableAggregates()
Returns a list of aggregate functions that can be used with the server.TimelineSet
queryDensity(java.util.List<QualifiedPath> paths, java.util.Date start, java.util.Date end, java.lang.String queryId)
-
Methods inherited from interface com.inductiveautomation.ignition.gateway.sqltags.history.AnnotationQueryProvider
queryAnnotations
-
-
-
-
Method Detail
-
getAvailableAggregates
default java.util.List<Aggregate> getAvailableAggregates()
Returns a list of aggregate functions that can be used with the server. Only expected to be valid if the server is enabled and available. Also, should only return null if the aggregates can not be retrieved for some reason. If the server simply does not support any aggregate functions, an empty list should be returned.
-
createQuery
HistoryQueryExecutor createQuery(java.util.List<ColumnQueryDefinition> paths, QueryController controller)
-
queryDensity
TimelineSet queryDensity(java.util.List<QualifiedPath> paths, java.util.Date start, java.util.Date end, java.lang.String queryId) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-