public class QueryPlan extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected LineageInfo |
linfo
Lineage information for the query.
|
Constructor and Description |
---|
QueryPlan() |
QueryPlan(String queryString,
BaseSemanticAnalyzer sem,
Long startTime,
String queryId,
String operationName) |
protected LineageInfo linfo
public QueryPlan()
public QueryPlan(String queryString, BaseSemanticAnalyzer sem, Long startTime, String queryId, String operationName)
public String getQueryStr()
public String getQueryId()
public static String makeQueryId()
public Query getQueryPlan() throws IOException
IOException
public boolean isExplain()
public String toThriftJSONString() throws IOException
IOException
public String toBinaryString() throws IOException
IOException
public void setStarted()
public void setDone()
public ArrayList<Task<? extends Serializable>> getRootTasks()
public void setRootTasks(ArrayList<Task<? extends Serializable>> rootTasks)
public boolean isForExplain()
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 String getQueryString()
public void setQueryString(String queryString)
public Query getQuery()
public List<ReducerTimeStatsPerJob> getReducerTimeStatsPerJobList()
public void setQuery(Query query)
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)
public String getOperationName()
Copyright © 2017 The Apache Software Foundation. All rights reserved.