public class BrokerQueryResource extends QueryResource
QueryResource.ResponseContext
APPLICATION_SMILE, authConfig, config, emitter, HDR_ETAG, HDR_IF_NONE_MATCH, jsonMapper, log, queryManager, requestLogger, RESPONSE_CTX_HEADER_LEN_LIMIT, smileMapper, texasRanger, warehouse
Constructor and Description |
---|
BrokerQueryResource(QueryToolChestWarehouse warehouse,
ServerConfig config,
com.fasterxml.jackson.databind.ObjectMapper jsonMapper,
com.fasterxml.jackson.databind.ObjectMapper smileMapper,
QuerySegmentWalker texasRanger,
com.metamx.emitter.service.ServiceEmitter emitter,
RequestLogger requestLogger,
QueryManager queryManager,
AuthConfig authConfig,
TimelineServerView brokerServerView) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getQueryTargets(InputStream in,
String pretty,
int numCandidates,
javax.servlet.http.HttpServletRequest req) |
createContext, doPost, getFailedQueryCount, getInterruptedQueryCount, getServer, getSuccessfulQueryCount
@Inject public BrokerQueryResource(QueryToolChestWarehouse warehouse, ServerConfig config, com.fasterxml.jackson.databind.ObjectMapper jsonMapper, com.fasterxml.jackson.databind.ObjectMapper smileMapper, QuerySegmentWalker texasRanger, com.metamx.emitter.service.ServiceEmitter emitter, RequestLogger requestLogger, QueryManager queryManager, AuthConfig authConfig, TimelineServerView brokerServerView)
public javax.ws.rs.core.Response getQueryTargets(InputStream in, String pretty, int numCandidates, @Context javax.servlet.http.HttpServletRequest req) throws IOException
IOException
Copyright © 2011–2017. All rights reserved.