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

Method runHistogramAsync

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

Source from the content-addressed store, hash-verified

785 }
786
787 @Override
788 public Deferred<DataPoints[]> runHistogramAsync() throws HBaseException {
789 if (!isHistogramQuery()) {
790 throw new RuntimeException("Should never be here");
791 }
792
793 Deferred<DataPoints[]> result = null;
794 if (use_multi_gets && override_multi_get) {
795 result = findHistogramSpansWithMultiGetter()
796 .addCallback(new HistogramGroupByAndAggregateCB());
797 } else {
798 result = findHistogramSpans()
799 .addCallback(new HistogramGroupByAndAggregateCB());
800 }
801
802 return result;
803 }
804
805 @Override
806 public boolean isHistogramQuery() {

Callers

nothing calls this directly

Calls 3

isHistogramQueryMethod · 0.95
findHistogramSpansMethod · 0.95

Tested by

no test coverage detected