public class HiveQueryPlan extends DriverQueryPlan
DriverQueryPlan.ExecMode, DriverQueryPlan.ScanMode
Constructor and Description |
---|
HiveQueryPlan(List<String> explainOutput,
QueryPrepareHandle prepared,
org.apache.hadoop.hive.conf.HiveConf metastoreConf,
QueryCost cost)
Instantiates a new hive query plan.
|
Modifier and Type | Method and Description |
---|---|
QueryCost |
getCost()
Get the cost associated with the plan
|
String |
getPlan()
Get the query plan
|
getExecMode, getHandle, getPartitions, getPrepareHandle, getResultDestination, getScanMode, getTablesQueried, getTableWeight, getTableWeights, hasSubQuery, setPrepareHandle, toQueryPlan
public HiveQueryPlan(List<String> explainOutput, QueryPrepareHandle prepared, org.apache.hadoop.hive.conf.HiveConf metastoreConf, QueryCost cost) throws org.apache.hadoop.hive.ql.metadata.HiveException
explainOutput
- the explain outputprepared
- the preparedmetastoreConf
- the metastore conforg.apache.hadoop.hive.ql.metadata.HiveException
- the hive exceptionpublic String getPlan()
DriverQueryPlan
getPlan
in class DriverQueryPlan
@Generated(value="lombok") public QueryCost getCost()
DriverQueryPlan
getCost
in class DriverQueryPlan
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.