public class TopNMapperRequestHandler extends Object implements DataRequestHandler
| Constructor and Description |
|---|
TopNMapperRequestHandler(DataRequestHandler next)
Build a topN request handler.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
handleRequest(RequestContext context,
DataApiRequest request,
DruidAggregationQuery<?> druidQuery,
ResponseProcessor response)
Handle the response, passing the request down the chain as necessary.
|
public TopNMapperRequestHandler(DataRequestHandler next)
next - The next handler in the chainpublic boolean handleRequest(RequestContext context, DataApiRequest request, DruidAggregationQuery<?> druidQuery, ResponseProcessor response)
DataRequestHandlerhandleRequest in interface DataRequestHandlercontext - The context for the Requestrequest - The Api Request ObjectdruidQuery - The druid queryresponse - The Async responseCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.