|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hive.ql.plan.api.Query
public class Query
Nested Class Summary | |
---|---|
static class |
Query._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
static Map<Query._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
Constructor Summary | |
---|---|
Query()
|
|
Query(Query other)
Performs a deep copy on other. |
|
Query(String queryId,
String queryType,
Map<String,String> queryAttributes,
Map<String,Long> queryCounters,
Graph stageGraph,
List<Stage> stageList,
boolean done,
boolean started)
|
Method Summary | |
---|---|
void |
addToStageList(Stage elem)
|
void |
clear()
|
int |
compareTo(Query other)
|
Query |
deepCopy()
|
boolean |
equals(Object that)
|
boolean |
equals(Query that)
|
Query._Fields |
fieldForId(int fieldId)
|
Object |
getFieldValue(Query._Fields field)
|
Map<String,String> |
getQueryAttributes()
|
int |
getQueryAttributesSize()
|
Map<String,Long> |
getQueryCounters()
|
int |
getQueryCountersSize()
|
String |
getQueryId()
|
String |
getQueryType()
|
Graph |
getStageGraph()
|
List<Stage> |
getStageList()
|
Iterator<Stage> |
getStageListIterator()
|
int |
getStageListSize()
|
int |
hashCode()
|
boolean |
isDone()
|
boolean |
isSet(Query._Fields field)
Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise |
boolean |
isSetDone()
Returns true if field done is set (has been asigned a value) and false otherwise |
boolean |
isSetQueryAttributes()
Returns true if field queryAttributes is set (has been asigned a value) and false otherwise |
boolean |
isSetQueryCounters()
Returns true if field queryCounters is set (has been asigned a value) and false otherwise |
boolean |
isSetQueryId()
Returns true if field queryId is set (has been asigned a value) and false otherwise |
boolean |
isSetQueryType()
Returns true if field queryType is set (has been asigned a value) and false otherwise |
boolean |
isSetStageGraph()
Returns true if field stageGraph is set (has been asigned a value) and false otherwise |
boolean |
isSetStageList()
Returns true if field stageList is set (has been asigned a value) and false otherwise |
boolean |
isSetStarted()
Returns true if field started is set (has been asigned a value) and false otherwise |
boolean |
isStarted()
|
void |
putToQueryAttributes(String key,
String val)
|
void |
putToQueryCounters(String key,
long val)
|
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
void |
setDone(boolean done)
|
void |
setDoneIsSet(boolean value)
|
void |
setFieldValue(Query._Fields field,
Object value)
|
void |
setQueryAttributes(Map<String,String> queryAttributes)
|
void |
setQueryAttributesIsSet(boolean value)
|
void |
setQueryCounters(Map<String,Long> queryCounters)
|
void |
setQueryCountersIsSet(boolean value)
|
void |
setQueryId(String queryId)
|
void |
setQueryIdIsSet(boolean value)
|
void |
setQueryType(String queryType)
|
void |
setQueryTypeIsSet(boolean value)
|
void |
setStageGraph(Graph stageGraph)
|
void |
setStageGraphIsSet(boolean value)
|
void |
setStageList(List<Stage> stageList)
|
void |
setStageListIsSet(boolean value)
|
void |
setStarted(boolean started)
|
void |
setStartedIsSet(boolean value)
|
String |
toString()
|
void |
unsetDone()
|
void |
unsetQueryAttributes()
|
void |
unsetQueryCounters()
|
void |
unsetQueryId()
|
void |
unsetQueryType()
|
void |
unsetStageGraph()
|
void |
unsetStageList()
|
void |
unsetStarted()
|
void |
validate()
|
void |
write(org.apache.thrift.protocol.TProtocol oprot)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Map<Query._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public Query()
public Query(String queryId, String queryType, Map<String,String> queryAttributes, Map<String,Long> queryCounters, Graph stageGraph, List<Stage> stageList, boolean done, boolean started)
public Query(Query other)
Method Detail |
---|
public Query deepCopy()
deepCopy
in interface org.apache.thrift.TBase<Query,Query._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<Query,Query._Fields>
public String getQueryId()
public void setQueryId(String queryId)
public void unsetQueryId()
public boolean isSetQueryId()
public void setQueryIdIsSet(boolean value)
public String getQueryType()
public void setQueryType(String queryType)
public void unsetQueryType()
public boolean isSetQueryType()
public void setQueryTypeIsSet(boolean value)
public int getQueryAttributesSize()
public void putToQueryAttributes(String key, String val)
public Map<String,String> getQueryAttributes()
public void setQueryAttributes(Map<String,String> queryAttributes)
public void unsetQueryAttributes()
public boolean isSetQueryAttributes()
public void setQueryAttributesIsSet(boolean value)
public int getQueryCountersSize()
public void putToQueryCounters(String key, long val)
public Map<String,Long> getQueryCounters()
public void setQueryCounters(Map<String,Long> queryCounters)
public void unsetQueryCounters()
public boolean isSetQueryCounters()
public void setQueryCountersIsSet(boolean value)
public Graph getStageGraph()
public void setStageGraph(Graph stageGraph)
public void unsetStageGraph()
public boolean isSetStageGraph()
public void setStageGraphIsSet(boolean value)
public int getStageListSize()
public Iterator<Stage> getStageListIterator()
public void addToStageList(Stage elem)
public List<Stage> getStageList()
public void setStageList(List<Stage> stageList)
public void unsetStageList()
public boolean isSetStageList()
public void setStageListIsSet(boolean value)
public boolean isDone()
public void setDone(boolean done)
public void unsetDone()
public boolean isSetDone()
public void setDoneIsSet(boolean value)
public boolean isStarted()
public void setStarted(boolean started)
public void unsetStarted()
public boolean isSetStarted()
public void setStartedIsSet(boolean value)
public void setFieldValue(Query._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<Query,Query._Fields>
public Object getFieldValue(Query._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<Query,Query._Fields>
public boolean isSet(Query._Fields field)
isSet
in interface org.apache.thrift.TBase<Query,Query._Fields>
public boolean equals(Object that)
equals
in class Object
public boolean equals(Query that)
public int hashCode()
hashCode
in class Object
public int compareTo(Query other)
compareTo
in interface Comparable<Query>
public Query._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<Query,Query._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<Query,Query._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<Query,Query._Fields>
org.apache.thrift.TException
public String toString()
toString
in class Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |