|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hive.ql.QueryPlan
public class QueryPlan
QueryPlan can be serialized to disk so that we can restart/resume the progress of it in the future, either within or outside of the current jvm.
Field Summary | |
---|---|
protected LineageInfo |
linfo
Lineage information for the query. |
Constructor Summary | |
---|---|
QueryPlan()
|
|
QueryPlan(String queryString,
BaseSemanticAnalyzer sem,
Long startTime)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected LineageInfo linfo
Constructor Detail |
---|
public QueryPlan()
public QueryPlan(String queryString, BaseSemanticAnalyzer sem, Long startTime)
Method Detail |
---|
public String getQueryStr()
public String getQueryId()
public Query getQueryPlan() throws IOException
IOException
public String getJSONValue(Object value)
public String getJSONKeyValue(Object key, Object value)
public String getJSONMap(Map map)
public String getJSONQuery(Query query)
public String toString()
toString
in class Object
public String toThriftJSONString() throws IOException
IOException
public String toBinaryString() throws IOException
IOException
public void setStarted()
public void setDone()
public Set<String> getStarted()
public Set<String> getDone()
public ArrayList<Task<? extends Serializable>> getRootTasks()
public void setRootTasks(ArrayList<Task<? extends Serializable>> rootTasks)
public FetchTask getFetchTask()
public void setFetchTask(FetchTask fetchTask)
public HashSet<ReadEntity> getInputs()
public void setInputs(HashSet<ReadEntity> inputs)
public HashSet<WriteEntity> getOutputs()
public void setOutputs(HashSet<WriteEntity> outputs)
public HashMap<String,String> getIdToTableNameMap()
public void setIdToTableNameMap(HashMap<String,String> idToTableNameMap)
public String getQueryString()
public void setQueryString(String queryString)
public Query getQuery()
public List<ReducerTimeStatsPerJob> getReducerTimeStatsPerJobList()
public void setQuery(Query query)
public Map<String,Map<String,Long>> getCounters()
public void setQueryId(String queryId)
public LineageInfo getLineageInfo()
public void setLineageInfo(LineageInfo linfo)
linfo
- The LineageInfo structure that is set in the optimization phase.public TableAccessInfo getTableAccessInfo()
public void setTableAccessInfo(TableAccessInfo tableAccessInfo)
taInfo
- The TableAccessInfo structure that is set right before the optimization phase.public ColumnAccessInfo getColumnAccessInfo()
public void setColumnAccessInfo(ColumnAccessInfo columnAccessInfo)
columnAccessInfo
- The ColumnAccessInfo structure that is set immediately after
the optimization phase.public QueryProperties getQueryProperties()
public Long getQueryStartTime()
public void setQueryStartTime(Long queryStartTime)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |