Package org.yamcs.yarch
Class HistogramRecord
- java.lang.Object
-
- org.yamcs.yarch.HistogramRecord
-
- All Implemented Interfaces:
Comparable<HistogramRecord>
public class HistogramRecord extends Object implements Comparable<HistogramRecord>
Stores a record in the histogram database. A record is composed of - value - start - stop - num tuples Note: this class has a natural ordering that is inconsistent with equals.
-
-
Constructor Summary
Constructors Constructor Description HistogramRecord(byte[] columnv, long start, long stop, int num)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(HistogramRecord p)
byte[]
getColumnv()
int
getNumTuples()
long
getStart()
long
getStop()
String
toString()
-
-
-
Method Detail
-
compareTo
public int compareTo(HistogramRecord p)
- Specified by:
compareTo
in interfaceComparable<HistogramRecord>
-
getColumnv
public byte[] getColumnv()
-
getStart
public long getStart()
-
getStop
public long getStop()
-
getNumTuples
public int getNumTuples()
-
-