MCPcopy Create free account
hub / github.com/OpenTSDB/opentsdb / findSpansWithMultiGetter

Method findSpansWithMultiGetter

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

Source from the content-addressed store, hash-verified

898 }
899
900 private Deferred<SortedMap<byte[], Span>> findSpansWithMultiGetter() throws HBaseException {
901 final short metric_width = tsdb.metrics.width();
902 final TreeMap<byte[], Span> spans = // The key is a row key from HBase.
903 new TreeMap<byte[], Span>(new SpanCmp(metric_width));
904
905 scan_start_time = System.nanoTime();
906
907 return new MultiGetQuery(tsdb, this, metric, row_key_literals_list,
908 getScanStartTimeSeconds(), getScanEndTimeSeconds(),
909 tableToBeScanned(), spans, null, 0, rollup_query, query_stats, query_index, 0,
910 false, search_query_failure).fetch();
911 }
912
913 /**
914 * Finds all the {@link HistogramSpan}s that match this query.

Callers 1

runAsyncMethod · 0.95

Calls 6

getScanEndTimeSecondsMethod · 0.95
tableToBeScannedMethod · 0.95
widthMethod · 0.65
nanoTimeMethod · 0.45
fetchMethod · 0.45

Tested by

no test coverage detected