Package org.apache.druid.server.log
Class DefaultRequestLogEvent
- java.lang.Object
-
- org.apache.druid.server.log.DefaultRequestLogEvent
-
- All Implemented Interfaces:
org.apache.druid.java.util.emitter.core.Event,RequestLogEvent
public final class DefaultRequestLogEvent extends Object implements RequestLogEvent
The default implementation ofRequestLogEvent. This class is annotatedPublicApibecause it's getters could be used in proprietaryEmitterimplementations.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.joda.time.DateTimegetCreatedTime()StringgetFeed()StringgetHost()org.apache.druid.query.QuerygetQuery()QueryStatsgetQueryStats()StringgetRemoteAddr()StringgetService()StringgetSql()Map<String,Object>getSqlQueryContext()org.apache.druid.java.util.emitter.core.EventMaptoMap()OverrideJsonValueserialization, instead use annotations to include type information for polymorphicQueryobjects.
-
-
-
Method Detail
-
toMap
public org.apache.druid.java.util.emitter.core.EventMap toMap()
OverrideJsonValueserialization, instead use annotations to include type information for polymorphicQueryobjects.- Specified by:
toMapin interfaceorg.apache.druid.java.util.emitter.core.Event
-
getFeed
public String getFeed()
- Specified by:
getFeedin interfaceorg.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()
-
-