org.apache.hadoop.hive.ql
Class QueryPlan

java.lang.Object
  extended by org.apache.hadoop.hive.ql.QueryPlan
All Implemented Interfaces:
Serializable

public class QueryPlan
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
QueryPlan(String queryString, BaseSemanticAnalyzer plan)
           
 
Method Summary
 Set<String> getDone()
           
 String getJSONKeyValue(Object key, Object value)
           
 String getJSONMap(Map map)
           
 String getJSONQuery(org.apache.hadoop.hive.ql.plan.api.Query query)
           
 String getJSONValue(Object value)
           
 BaseSemanticAnalyzer getPlan()
           
 String getQueryId()
           
 org.apache.hadoop.hive.ql.plan.api.Query getQueryPlan()
           
 String getQueryStr()
           
 Set<String> getStarted()
           
 void setDone()
           
 void setStarted()
           
 String toBinaryString()
           
 String toString()
           
 String toThriftJSONString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QueryPlan

public QueryPlan(String queryString,
                 BaseSemanticAnalyzer plan)
Method Detail

getQueryStr

public String getQueryStr()

getPlan

public BaseSemanticAnalyzer getPlan()

getQueryId

public String getQueryId()

getQueryPlan

public org.apache.hadoop.hive.ql.plan.api.Query getQueryPlan()
                                                      throws IOException
Throws:
IOException

getJSONValue

public String getJSONValue(Object value)

getJSONKeyValue

public String getJSONKeyValue(Object key,
                              Object value)

getJSONMap

public String getJSONMap(Map map)

getJSONQuery

public String getJSONQuery(org.apache.hadoop.hive.ql.plan.api.Query query)

toString

public String toString()
Overrides:
toString in class Object

toThriftJSONString

public String toThriftJSONString()
                          throws IOException
Throws:
IOException

toBinaryString

public String toBinaryString()
                      throws IOException
Throws:
IOException

setStarted

public void setStarted()

setDone

public void setDone()

getStarted

public Set<String> getStarted()

getDone

public Set<String> getDone()


Copyright © 2009 The Apache Software Foundation