org.apache.hadoop.hive.ql.optimizer.physical.index
Class IndexWhereTaskDispatcher

java.lang.Object
  extended by org.apache.hadoop.hive.ql.optimizer.physical.index.IndexWhereTaskDispatcher
All Implemented Interfaces:
Dispatcher

public class IndexWhereTaskDispatcher
extends Object
implements Dispatcher

IndexWhereTaskDispatcher. Walks a Task tree, and for the right kind of Task, walks the operator tree to create an index subquery. Then attaches the subquery task to the task tree.


Constructor Summary
IndexWhereTaskDispatcher(PhysicalContext context)
           
 
Method Summary
 Object dispatch(Node nd, Stack<Node> stack, Object... nodeOutputs)
          Dispatcher function.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexWhereTaskDispatcher

public IndexWhereTaskDispatcher(PhysicalContext context)
Method Detail

dispatch

public Object dispatch(Node nd,
                       Stack<Node> stack,
                       Object... nodeOutputs)
                throws SemanticException
Description copied from interface: Dispatcher
Dispatcher function.

Specified by:
dispatch in interface Dispatcher
Parameters:
nd - operator to process.
stack - operator stack to process.
nodeOutputs - The argument list of outputs from processing other nodes that are passed to this dispatcher from the walker.
Returns:
Object The return object from the processing call.
Throws:
SemanticException


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