org.apache.hadoop.hive.ql.optimizer.physical
Class PhysicalOptimizer

java.lang.Object
  extended by org.apache.hadoop.hive.ql.optimizer.physical.PhysicalOptimizer

public class PhysicalOptimizer
extends Object

A hierarchy physical optimizer, which contains a list of PhysicalPlanResolver. Each resolver has its own set of optimization rule.


Constructor Summary
PhysicalOptimizer(PhysicalContext pctx, HiveConf hiveConf)
           
 
Method Summary
 PhysicalContext optimize()
          invoke all the resolvers one-by-one, and alter the physical plan.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhysicalOptimizer

public PhysicalOptimizer(PhysicalContext pctx,
                         HiveConf hiveConf)
Method Detail

optimize

public PhysicalContext optimize()
                         throws SemanticException
invoke all the resolvers one-by-one, and alter the physical plan.

Returns:
PhysicalContext
Throws:
HiveException
SemanticException


Copyright © 2014 The Apache Software Foundation. All rights reserved.