This project has retired. For details please refer to its
Attic page.
HiveQueryPlan (Lens 2.1.0-beta-incubating API)
org.apache.lens.driver.hive
Class HiveQueryPlan
java.lang.Object
org.apache.lens.server.api.driver.DriverQueryPlan
org.apache.lens.driver.hive.HiveQueryPlan
public class HiveQueryPlan
- extends DriverQueryPlan
The Class HiveQueryPlan.
Methods inherited from class org.apache.lens.server.api.driver.DriverQueryPlan |
getExecMode, getHandle, getPartitions, getPrepareHandle, getResultDestination, getScanMode, getTablesQueried, getTableWeight, getTableWeights, hasSubQuery, setPrepareHandle, toQueryPlan |
HiveQueryPlan
public HiveQueryPlan(List<String> explainOutput,
QueryPrepareHandle prepared,
org.apache.hadoop.hive.conf.HiveConf metastoreConf)
throws org.apache.hadoop.hive.ql.metadata.HiveException
- Instantiates a new hive query plan.
- Parameters:
explainOutput
- the explain outputprepared
- the preparedmetastoreConf
- the metastore conf
- Throws:
org.apache.hadoop.hive.ql.metadata.HiveException
- the hive exception
getPlan
public String getPlan()
- Description copied from class:
DriverQueryPlan
- Get the query plan
- Specified by:
getPlan
in class DriverQueryPlan
- Returns:
- The string representation of the plan
getCost
public QueryCost getCost()
- Description copied from class:
DriverQueryPlan
- Get the cost associated with the plan
- Specified by:
getCost
in class DriverQueryPlan
- Returns:
- QueryCost object
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.