org.apache.lens.server.stats.event
Class LoggableLensStatistics

java.lang.Object
  extended by org.apache.lens.server.api.events.LensEvent
      extended by org.apache.lens.server.stats.event.LensStatistics
          extended by org.apache.lens.server.stats.event.LoggableLensStatistics
Direct Known Subclasses:
QueryExecutionStatistics

public abstract class LoggableLensStatistics
extends LensStatistics

Loggable Lens Statistics which is logged to a log4j file as a JSON Object.


Constructor Summary
LoggableLensStatistics()
          Instantiates a new loggable lens statistics.
LoggableLensStatistics(long eventTime)
          Instantiates a new loggable lens statistics.
 
Method Summary
abstract  org.apache.hadoop.hive.ql.metadata.Table getHiveTable(org.apache.hadoop.conf.Configuration conf)
          Gets the hive table.
 
Methods inherited from class org.apache.lens.server.api.events.LensEvent
getEventId
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggableLensStatistics

public LoggableLensStatistics(long eventTime)
Instantiates a new loggable lens statistics.

Parameters:
eventTime - the event time

LoggableLensStatistics

public LoggableLensStatistics()
Instantiates a new loggable lens statistics.

Method Detail

getHiveTable

public abstract org.apache.hadoop.hive.ql.metadata.Table getHiveTable(org.apache.hadoop.conf.Configuration conf)
Gets the hive table.

Parameters:
conf - the conf
Returns:
the hive table


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.