Class AbstractHistorian
- java.lang.Object
- 
- com.inductiveautomation.gateway.tsdb.api.AbstractHistorian
 
- 
- 
Field Summary- 
Fields inherited from interface com.inductiveautomation.gateway.tsdb.api.HistorianQUALITY_NOT_FOUND
 
- 
 - 
Constructor SummaryConstructors Constructor Description AbstractHistorian()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description QueryResultquery(java.util.List<java.lang.String> tags, long startTime, long endTime, boolean includeBounding)Queries the values for the given paths over the specified span of time.protected abstract voidquery(java.util.List<java.lang.String> tags, long start, long end, ResultPublisher publisher)A protected version of query that is executed in a separate thread and given a result publisher.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.inductiveautomation.gateway.tsdb.api.Historianbrowse, createStorageSession, delete, getProperty, getQueryStatus, getStorageStatus, initialize, register, shutdown, unregister
 
- 
 
- 
- 
- 
Method Detail- 
querypublic QueryResult query(java.util.List<java.lang.String> tags, long startTime, long endTime, boolean includeBounding) Description copied from interface:HistorianQueries the values for the given paths over the specified span of time. The implementation will conform to the following rules:
 - If endTime is less than start time, results MAY be provided latest first. If that is not possible, the parameters will be swapped and values returned as normal.
- The result will have a unique PathInfo item for EACH of the paths passed in. If a path is specified multiple times, it will be returned multiple times.
- If a path is not valid, the query result will return ONE DataPoint for the query start time with a quality of 404 (NOT FOUND)
- The timestamps for a given path will be ascending, though between paths they may not be.
 
 - 
queryprotected abstract void query(java.util.List<java.lang.String> tags, long start, long end, ResultPublisher publisher)A protected version of query that is executed in a separate thread and given a result publisher. The implementation can simply publish data points as long as the query isn't cancelled.
 
- 
 
-