Class SQLiteHistorian.Query

    • Constructor Detail

      • Query

        public Query​(@Nonnull
                     java.util.List<PathInfo> pathInfos,
                     @Nonnull
                     java.util.List<PathInfo> badPaths,
                     @Nonnull
                     com.google.common.collect.Multimap<java.lang.Long,​java.lang.Integer> idToPos,
                     long startTime,
                     long endTime,
                     boolean includeBounding)
    • 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 interface java.lang.Runnable