public class QueryExecutionStatistics extends LoggableLensStatistics
Constructor and Description |
---|
QueryExecutionStatistics()
Instantiates a new query execution statistics.
|
QueryExecutionStatistics(long eventTime)
Instantiates a new query execution statistics.
|
Modifier and Type | Method and Description |
---|---|
String |
getCause()
The cause.
|
String |
getClusterUser()
The cluster user.
|
QueryDriverStatistics |
getDriverStats()
The driver stats.
|
long |
getEndTime()
The end time.
|
String |
getEventId() |
String |
getHandle()
The handle.
|
org.apache.hadoop.hive.ql.metadata.Table |
getHiveTable(org.apache.hadoop.hive.conf.HiveConf conf)
Gets the hive table.
|
String |
getResult()
The result.
|
String |
getSessionId()
The session id.
|
long |
getStartTime()
The start time.
|
QueryStatus |
getStatus()
The status.
|
long |
getSubmissionTime()
The submission time.
|
String |
getSubmitter()
The submitter.
|
String |
getUserQuery()
The user query.
|
void |
setCause(String cause)
The cause.
|
void |
setClusterUser(String clusterUser)
The cluster user.
|
void |
setDriverStats(QueryDriverStatistics driverStats)
The driver stats.
|
void |
setEndTime(long endTime)
The end time.
|
void |
setHandle(String handle)
The handle.
|
void |
setResult(String result)
The result.
|
void |
setSessionId(String sessionId)
The session id.
|
void |
setStartTime(long startTime)
The start time.
|
void |
setStatus(QueryStatus status)
The status.
|
void |
setSubmissionTime(long submissionTime)
The submission time.
|
void |
setSubmitter(String submitter)
The submitter.
|
void |
setUserQuery(String userQuery)
The user query.
|
getEventTime
public QueryExecutionStatistics()
public QueryExecutionStatistics(long eventTime)
eventTime
- the event timepublic org.apache.hadoop.hive.ql.metadata.Table getHiveTable(org.apache.hadoop.hive.conf.HiveConf conf)
LoggableLensStatistics
getHiveTable
in class LoggableLensStatistics
conf
- the confpublic String getEventId()
getEventId
in class LensEvent
@Generated(value="lombok") public String getHandle()
@Generated(value="lombok") public void setHandle(String handle)
@Generated(value="lombok") public String getUserQuery()
@Generated(value="lombok") public void setUserQuery(String userQuery)
@Generated(value="lombok") public String getSubmitter()
@Generated(value="lombok") public void setSubmitter(String submitter)
@Generated(value="lombok") public String getClusterUser()
@Generated(value="lombok") public void setClusterUser(String clusterUser)
@Generated(value="lombok") public String getSessionId()
@Generated(value="lombok") public void setSessionId(String sessionId)
@Generated(value="lombok") public long getSubmissionTime()
@Generated(value="lombok") public void setSubmissionTime(long submissionTime)
@Generated(value="lombok") public long getStartTime()
@Generated(value="lombok") public void setStartTime(long startTime)
@Generated(value="lombok") public long getEndTime()
@Generated(value="lombok") public void setEndTime(long endTime)
@Generated(value="lombok") public String getResult()
@Generated(value="lombok") public void setResult(String result)
@Generated(value="lombok") public QueryStatus getStatus()
@Generated(value="lombok") public void setStatus(QueryStatus status)
@Generated(value="lombok") public String getCause()
@Generated(value="lombok") public void setCause(String cause)
@Generated(value="lombok") public QueryDriverStatistics getDriverStats()
@Generated(value="lombok") public void setDriverStats(QueryDriverStatistics driverStats)
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.