org.apache.lens.server.stats.event.query
Class QueryExecutionStatistics

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
              extended by org.apache.lens.server.stats.event.query.QueryExecutionStatistics

public class QueryExecutionStatistics
extends LoggableLensStatistics

Statistics class used to capture query information.


Constructor Summary
QueryExecutionStatistics()
          Instantiates a new query execution statistics.
QueryExecutionStatistics(long eventTime)
          Instantiates a new query execution statistics.
 
Method Summary
 String getEventId()
           
 org.apache.hadoop.hive.ql.metadata.Table getHiveTable(org.apache.hadoop.conf.Configuration conf)
          Gets the hive table.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryExecutionStatistics

public QueryExecutionStatistics()
Instantiates a new query execution statistics.


QueryExecutionStatistics

public QueryExecutionStatistics(long eventTime)
Instantiates a new query execution statistics.

Parameters:
eventTime - the event time
Method Detail

getHiveTable

public org.apache.hadoop.hive.ql.metadata.Table getHiveTable(org.apache.hadoop.conf.Configuration conf)
Description copied from class: LoggableLensStatistics
Gets the hive table.

Specified by:
getHiveTable in class LoggableLensStatistics
Parameters:
conf - the conf
Returns:
the hive table

getEventId

public String getEventId()
Specified by:
getEventId in class LensEvent


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