Package org.yamcs.yarch
Class HistogramRecord
java.lang.Object
org.yamcs.yarch.HistogramRecord
- All Implemented Interfaces:
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 Details
-
HistogramRecord
public HistogramRecord(byte[] columnv, long start, long stop, int num)
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<HistogramRecord>
-
getColumnv
public byte[] getColumnv() -
getStart
public long getStart() -
getStop
public long getStop() -
getNumTuples
public int getNumTuples() -
toString
-