Class Source

    • Field Detail

      • values

        protected double[] values
      • timestamps

        protected long[] timestamps
    • Constructor Detail

      • Source

        Source​(String name)
    • Method Detail

      • setValues

        void setValues​(double[] values)
      • setTimestamps

        void setTimestamps​(long[] timestamps)
      • getValues

        double[] getValues()
      • getTimestamps

        long[] getTimestamps()
      • getAggregates

        @Deprecated
        Aggregates getAggregates​(long tStart,
                                 long tEnd)
        Deprecated.
        This method is deprecated. Uses instance of Variable, used with DataProcessor.addDatasource(String, String, Variable)
        Parameters:
        tStart -
        tEnd -
        Returns:
      • getPercentile

        @Deprecated
        double getPercentile​(long tStart,
                             long tEnd,
                             double percentile)
        Deprecated.
        This method is deprecated. Uses instance of Variable.PERCENTILE, used with DataProcessor.addDatasource(String, String, Variable)
        Parameters:
        tStart -
        tEnd -
        percentile -
        Returns: