public class ApiImpalaQuery extends Object
Constructor and Description |
---|
ApiImpalaQuery() |
ApiImpalaQuery(String queryId,
String statement,
String queryType,
String queryState,
Date startTime,
Date endTime,
Long rowsProduced,
Map<String,String> syntheticAttributes,
String user,
String frontEndHostId,
boolean runtimeProfileAvailable,
String defaultDatabase,
org.joda.time.Duration duration) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getAttributes()
A map of additional query attributes which is generated by Cloudera Manager.
|
ApiHostRef |
getCoordinator()
The host of the Impala Daemon coordinating the query
|
String |
getDatabase()
The database on which this query was issued.
|
boolean |
getDetailsAvailable()
Whether we have a detailed runtime profile available for the query.
|
Long |
getDurationMillis()
The duration of the query in milliseconds.
|
Date |
getEndTime()
The time the query finished.
|
String |
getQueryId()
The query id.
|
String |
getQueryState()
The query state.
|
String |
getQueryType()
The query type.
|
Long |
getRowsProduced()
The number of rows produced by the query.
|
Date |
getStartTime()
The time the query was issued.
|
String |
getStatement()
The SQL statement for the query.
|
String |
getUser()
The user who issued this query.
|
void |
setAttributes(Map<String,String> attributes) |
void |
setCoordinator(ApiHostRef coordinator) |
void |
setDatabase(String database) |
void |
setDetailsAvailable(boolean detailsAvailable) |
void |
setDurationMillis(long durationMillis) |
void |
setEndTime(Date endTime) |
void |
setQueryId(String queryId) |
void |
setQueryState(String queryState) |
void |
setQueryType(String queryType) |
void |
setRowsProduced(Long rowsProduced) |
void |
setStartTime(Date startTime) |
void |
setStatement(String statement) |
void |
setUser(String user) |
String |
toString() |
public ApiImpalaQuery()
public ApiImpalaQuery(String queryId, String statement, String queryType, String queryState, Date startTime, Date endTime, Long rowsProduced, Map<String,String> syntheticAttributes, String user, String frontEndHostId, boolean runtimeProfileAvailable, String defaultDatabase, org.joda.time.Duration duration)
public String getQueryId()
public void setQueryId(String queryId)
public String getStatement()
public void setStatement(String statement)
public String getQueryType()
public void setQueryType(String queryType)
public String getQueryState()
public void setQueryState(String queryState)
public Date getStartTime()
public void setStartTime(Date startTime)
public Date getEndTime()
public void setEndTime(Date endTime)
public Long getRowsProduced()
public void setRowsProduced(Long rowsProduced)
public Map<String,String> getAttributes()
public String getUser()
public void setUser(String user)
public ApiHostRef getCoordinator()
public void setCoordinator(ApiHostRef coordinator)
public boolean getDetailsAvailable()
public void setDetailsAvailable(boolean detailsAvailable)
public String getDatabase()
public void setDatabase(String database)
public Long getDurationMillis()
public void setDurationMillis(long durationMillis)
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.