Class QueryResource

    • Field Detail

      • log

        protected static final org.apache.druid.java.util.emitter.EmittingLogger log
      • NO_STACK_LOGGER

        public static final org.apache.druid.java.util.emitter.EmittingLogger NO_STACK_LOGGER
      • HEADER_RESPONSE_CONTEXT

        public static final String HEADER_RESPONSE_CONTEXT
        HTTP response header name containing ResponseContext serialized string
        See Also:
        Constant Field Values
      • jsonMapper

        protected final com.fasterxml.jackson.databind.ObjectMapper jsonMapper
      • smileMapper

        protected final com.fasterxml.jackson.databind.ObjectMapper smileMapper
      • serializeDateTimeAsLongJsonMapper

        protected final com.fasterxml.jackson.databind.ObjectMapper serializeDateTimeAsLongJsonMapper
      • serializeDateTimeAsLongSmileMapper

        protected final com.fasterxml.jackson.databind.ObjectMapper serializeDateTimeAsLongSmileMapper
    • Method Detail

      • cancelQuery

        public javax.ws.rs.core.Response cancelQuery​(String queryId,
                                                     @Context
                                                     javax.servlet.http.HttpServletRequest req)
      • serializeDataTimeAsLong

        protected com.fasterxml.jackson.databind.ObjectMapper serializeDataTimeAsLong​(com.fasterxml.jackson.databind.ObjectMapper mapper)
      • transferEntityTag

        public static void transferEntityTag​(org.apache.druid.query.context.ResponseContext context,
                                             javax.ws.rs.core.Response.ResponseBuilder builder)