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

Method fetch

src/core/MultiGetQuery.java:612–618  ·  view source on GitHub ↗

Initiate the get requests and return the tree map of results. @return A non-null tree map of results (may be empty)

()

Source from the content-addressed store, hash-verified

610 * @return A non-null tree map of results (may be empty)
611 */
612 public Deferred<SortedMap<byte[], Span>> fetch() {
613 if(tags.isEmpty()) {
614 return Deferred.fromResult(null);
615 }
616 startFetch();
617 return results;
618 }
619
620 /**
621 * Initiate the get requests and return the tree map of results.

Callers 8

fetchMethod · 0.95
fetchMultigetNoMetaMethod · 0.95
fetchMoreThanMaxBytesMethod · 0.95
fetchEmptyTableMethod · 0.95
fetchSmallBatchMethod · 0.95
fetchExceptionMethod · 0.95

Calls 2

startFetchMethod · 0.95
isEmptyMethod · 0.80

Tested by 7

fetchMethod · 0.76
fetchMultigetNoMetaMethod · 0.76
fetchMoreThanMaxBytesMethod · 0.76
fetchEmptyTableMethod · 0.76
fetchSmallBatchMethod · 0.76
fetchExceptionMethod · 0.76