public static HistogramDataPoint decodeHistogramDataPoint ( final TSDB tsdb , final long base_time , final byte [ ] qualifier , final byte [ ] value ) { final HistogramDataPointCodec decoder = tsdb . histogramManager ( ) . getCodec ( ( int ) value [ 0 ] ) ; long timestamp = getTimeStampFromNonDP ( base_time , qualifier ) ; final Histogram histogram = decoder . decode ( value , true ) ; return new SimpleHistogramDataPointAdapter ( histogram , timestamp ) ; }
Decode the histogram point from the given key and values