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

java.lang.Object
  extended by org.apache.hadoop.hive.ql.optimizer.physical.SamplingOptimizer
All Implemented Interfaces:
PhysicalPlanResolver

public class SamplingOptimizer
extends Object
implements PhysicalPlanResolver

Mark final MapredWork for ORDER BY to use sampling and set number of reduce task as -1


Constructor Summary
SamplingOptimizer()
           
 
Method Summary
 PhysicalContext resolve(PhysicalContext pctx)
          All physical plan resolvers have to implement this entry method.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SamplingOptimizer

public SamplingOptimizer()
Method Detail

resolve

public PhysicalContext resolve(PhysicalContext pctx)
                        throws SemanticException
Description copied from interface: PhysicalPlanResolver
All physical plan resolvers have to implement this entry method.

Specified by:
resolve in interface PhysicalPlanResolver
Returns:
the physical plan
Throws:
SemanticException


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