Format the query stats @param query_stats Map of query statistics @return A ChannelBuffer object to pass on to the caller @throws BadRequestException if the plugin has not implemented this method @since 2.2
(final Map<String, Object> query_stats)
| 766 | * @since 2.2 |
| 767 | */ |
| 768 | public ChannelBuffer formatQueryStatsV1(final Map<String, Object> query_stats) { |
| 769 | throw new BadRequestException(HttpResponseStatus.NOT_IMPLEMENTED, |
| 770 | "The requested API endpoint has not been implemented", |
| 771 | this.getClass().getCanonicalName() + |
| 772 | " has not implemented formatQueryStatsV1"); |
| 773 | } |
| 774 | |
| 775 | /** |
| 776 | * Format the response from a search query |