()
| 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() { |
nothing calls this directly
no test coverage detected