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

Method fetch

test/core/TestMultiGetQuery.java:687–699  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

685 }
686
687 @Test
688 public void fetch() throws Exception {
689 setupStorage();
690 MultiGetQuery mgq = new MultiGetQuery(tsdb, query, METRIC_BYTES, q_tags,
691 start_ts, end_ts, tsdb.dataTable(), spans, null, 0, null, query_stats,
692 0, max_bytes, false, multiget_no_meta);
693
694 final SortedMap<byte[], Span> results = mgq.fetch().join();
695 assertSame(spans, results);
696 verify(client, times(1)).get(anyList());
697 System.out.println(spans);
698 validateSpans();
699 }
700
701 @Test
702 public void fetchMultigetNoMeta() throws Exception {

Callers

nothing calls this directly

Calls 5

setupStorageMethod · 0.95
fetchMethod · 0.95
validateSpansMethod · 0.95
dataTableMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected