org.apache.lens.server.stats.event
Class LoggableLensStatistics
java.lang.Object
org.apache.lens.server.api.events.LensEvent
org.apache.lens.server.stats.event.LensStatistics
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.
Method Summary |
abstract org.apache.hadoop.hive.ql.metadata.Table |
getHiveTable(org.apache.hadoop.conf.Configuration conf)
Gets the hive table. |
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.
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.