|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cloudera.api.model.ApiImpalaQuery
public class ApiImpalaQuery
Represents an Impala Query.
Constructor Summary | |
---|---|
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)
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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)
Method Detail |
---|
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 void setAttributes(Map<String,String> attributes)
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)
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |