Class RequestLogLine


  • public class RequestLogLine
    extends Object
    • Method Detail

      • forNative

        public static RequestLogLine forNative​(org.apache.druid.query.Query<?> query,
                                               org.joda.time.DateTime timestamp,
                                               String remoteAddr,
                                               QueryStats queryStats)
      • getNativeQueryLine

        public String getNativeQueryLine​(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
                                  throws com.fasterxml.jackson.core.JsonProcessingException
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException
      • getSqlQueryLine

        public String getSqlQueryLine​(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
                               throws com.fasterxml.jackson.core.JsonProcessingException
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException
      • getQuery

        @Nullable
        public org.apache.druid.query.Query<?> getQuery()
      • getTimestamp

        public org.joda.time.DateTime getTimestamp()
      • getQueryStats

        public QueryStats getQueryStats()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object