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

Method findHistogramSpansWithMultiGetter

src/core/TsdbQuery.java:965–975  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

963 }
964
965 private Deferred<SortedMap<byte[], HistogramSpan>> findHistogramSpansWithMultiGetter() throws HBaseException {
966 final short metric_width = tsdb.metrics.width();
967 // The key is a row key from HBase
968 final TreeMap<byte[], HistogramSpan> histSpans = new TreeMap<byte[], HistogramSpan>(new SpanCmp(metric_width));
969
970 scan_start_time = System.nanoTime();
971 return new MultiGetQuery(tsdb, this, metric, row_key_literals_list,
972 getScanStartTimeSeconds(), getScanEndTimeSeconds(),
973 tableToBeScanned(), null, histSpans, 0, rollup_query, query_stats, query_index, 0,
974 false, search_query_failure).fetchHistogram();
975 }
976
977 /**
978 * Callback that should be attached the the output of

Callers 1

runHistogramAsyncMethod · 0.95

Calls 6

getScanEndTimeSecondsMethod · 0.95
tableToBeScannedMethod · 0.95
fetchHistogramMethod · 0.80
widthMethod · 0.65
nanoTimeMethod · 0.45

Tested by

no test coverage detected