org.apache.hadoop.hive.ql.optimizer
Class Optimizer

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

public class Optimizer
extends Object

Implementation of the optimizer.


Constructor Summary
Optimizer()
           
 
Method Summary
 ParseContext getPctx()
           
 void initialize(HiveConf hiveConf)
          Create the list of transformations.
 ParseContext optimize()
          Invoke all the transformations one-by-one, and alter the query plan.
 void setPctx(ParseContext pctx)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Optimizer

public Optimizer()
Method Detail

initialize

public void initialize(HiveConf hiveConf)
Create the list of transformations.

Parameters:
hiveConf -

optimize

public ParseContext optimize()
                      throws SemanticException
Invoke all the transformations one-by-one, and alter the query plan.

Returns:
ParseContext
Throws:
SemanticException

getPctx

public ParseContext getPctx()
Returns:
the pctx

setPctx

public void setPctx(ParseContext pctx)
Parameters:
pctx - the pctx to set


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