|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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.
Constructor Summary | |
---|---|
QueryPlan()
|
|
QueryPlan(String queryString,
BaseSemanticAnalyzer sem,
Long startTime)
|
|
QueryPlan(String queryString,
BaseSemanticAnalyzer sem,
Long startTime,
String queryId)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public QueryPlan()
public QueryPlan(String queryString, BaseSemanticAnalyzer sem, Long startTime)
public QueryPlan(String queryString, BaseSemanticAnalyzer sem, Long startTime, String queryId)
Method Detail |
---|
public String getQueryStr()
public String getQueryId()
public static String makeQueryId()
public org.apache.hadoop.hive.ql.plan.api.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(org.apache.hadoop.hive.ql.plan.api.Query query)
public boolean isExplain()
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 org.apache.hadoop.hive.ql.plan.api.Query getQuery()
public List<ReducerTimeStatsPerJob> getReducerTimeStatsPerJobList()
public void setQuery(org.apache.hadoop.hive.ql.plan.api.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)
tableAccessInfo
- 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 |