MCPcopy Index your code
hub / github.com/OpenTSDB/opentsdb / decodeHistogramDataPoint

Method decodeHistogramDataPoint

src/core/Internal.java:1081–1085  ·  view source on GitHub ↗

Decode the histogram point from the given key value @param kv the key value that contains a histogram @return the decoded HistogramDataPoint

(final TSDB tsdb,
                                                            final KeyValue kv)

Source from the content-addressed store, hash-verified

1079 * @return the decoded {@code HistogramDataPoint}
1080 */
1081 public static HistogramDataPoint decodeHistogramDataPoint(final TSDB tsdb,
1082 final KeyValue kv) {
1083 long timestamp = Internal.baseTime(kv.key());
1084 return decodeHistogramDataPoint(tsdb, timestamp, kv.qualifier(), kv.value());
1085 }
1086
1087 /**
1088 * Decode the histogram point from the given key and values

Callers 3

processRowMethod · 0.95
processRollupQueryMethod · 0.95

Calls 8

baseTimeMethod · 0.95
getTimeStampFromNonDPMethod · 0.95
decodeMethod · 0.95
getCodecMethod · 0.80
histogramManagerMethod · 0.80
keyMethod · 0.65
qualifierMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected