Class SQLiteHistorian.Query
- java.lang.Object
-
- com.inductiveautomation.gateway.tsdb.impl.BasicQueryResult
-
- com.inductiveautomation.gateway.tsdb.historians.SQLiteHistorian.Query
-
- All Implemented Interfaces:
QueryResult
,ResultPublisher
,java.lang.Runnable
,java.util.Iterator<ResultDataPoint>
- Enclosing class:
- SQLiteHistorian
protected class SQLiteHistorian.Query extends BasicQueryResult implements java.lang.Runnable
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
loadDatapointsFromRS(java.util.List<BasicResultDataPoint> points, java.sql.ResultSet rs)
protected int
publishFromRS(java.sql.ResultSet rs)
Publishes values, returns data count.void
run()
-
Methods inherited from class com.inductiveautomation.gateway.tsdb.impl.BasicQueryResult
cancel, finish, finishInternal, finishWithError, getError, getPathInfo, hasNext, isCanceled, isErrored, next, onData, publish, setPathInfo
-
-
-
-
Method Detail
-
loadDatapointsFromRS
protected void loadDatapointsFromRS(java.util.List<BasicResultDataPoint> points, java.sql.ResultSet rs) throws java.lang.Exception
- Throws:
java.lang.Exception
-
publishFromRS
protected int publishFromRS(java.sql.ResultSet rs) throws java.lang.Exception
Publishes values, returns data count.- Throws:
java.lang.Exception
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
-
-