Class DataChunk


  • public class DataChunk
    extends Object
    Models a chunk of result data from an RRDatabase.
    Version:
    $Revision$
    Author:
    Ciaran Treanor
    • Field Detail

      • startTime

        long startTime
      • start

        int start
      • end

        int end
      • step

        long step
      • dsCount

        int dsCount
      • data

        double[][] data
      • rows

        int rows
    • Constructor Detail

      • DataChunk

        DataChunk​(long startTime,
                  int start,
                  int end,
                  long step,
                  int dsCount,
                  int rows)
    • Method Detail

      • toString

        public String toString()
        Returns a summary of the contents of this data chunk. The first column is the time (RRD format) and the following columns are the data source values.
        Overrides:
        toString in class Object
        Returns:
        a summary of the contents of this data chunk.