org.apache.hadoop.hive.ql.optimizer
Class Optimizer
java.lang.Object
org.apache.hadoop.hive.ql.optimizer.Optimizer
public class Optimizer
- extends Object
Implementation of the optimizer.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Optimizer
public Optimizer()
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 © 2013 The Apache Software Foundation