Class DefaultRequestLogEvent

  • All Implemented Interfaces:
    org.apache.druid.java.util.emitter.core.Event, RequestLogEvent

    public final class DefaultRequestLogEvent
    extends Object
    implements RequestLogEvent
    The default implementation of RequestLogEvent. This class is annotated PublicApi because it's getters could be used in proprietary Emitter implementations.
    • Method Detail

      • toMap

        public org.apache.druid.java.util.emitter.core.EventMap toMap()
        Override JsonValue serialization, instead use annotations to include type information for polymorphic Query objects.
        Specified by:
        toMap in interface org.apache.druid.java.util.emitter.core.Event
      • getFeed

        public String getFeed()
        Specified by:
        getFeed in interface org.apache.druid.java.util.emitter.core.Event
      • getCreatedTime

        public org.joda.time.DateTime getCreatedTime()
      • getService

        public String getService()
      • getHost

        public String getHost()
      • getQuery

        public org.apache.druid.query.Query getQuery()
      • getSql

        public String getSql()
      • getRemoteAddr

        public String getRemoteAddr()
      • getQueryStats

        public QueryStats getQueryStats()