org.apache.lens.server.stats.event.query
Class QueryExecutionStatistics
java.lang.Object
org.apache.lens.server.api.events.LensEvent
org.apache.lens.server.stats.event.LensStatistics
org.apache.lens.server.stats.event.LoggableLensStatistics
org.apache.lens.server.stats.event.query.QueryExecutionStatistics
public class QueryExecutionStatistics
- extends LoggableLensStatistics
Statistics class used to capture query information.
|
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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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.