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, toQueryPlanpublic 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()
DriverQueryPlangetPlan in class DriverQueryPlan@Generated(value="lombok") public QueryCost getCost()
DriverQueryPlangetCost in class DriverQueryPlanCopyright © 2014–2016 Apache Software Foundation. All rights reserved.