org.apache.hadoop.hive.ql.parse
Class GenTezWork
java.lang.Object
org.apache.hadoop.hive.ql.parse.GenTezWork
- All Implemented Interfaces:
- NodeProcessor
public class GenTezWork
- extends Object
- implements NodeProcessor
GenTezWork separates the operator tree into tez tasks.
It is called once per leaf operator (operator that forces
a new execution unit.) and break the operators into work
and tasks along the way.
Constructor Summary |
GenTezWork(GenTezUtils utils)
Constructor takes utils as parameter to facilitate testing |
GenTezWork
public GenTezWork(GenTezUtils utils)
- Constructor takes utils as parameter to facilitate testing
process
public Object process(Node nd,
Stack<Node> stack,
NodeProcessorCtx procContext,
Object... nodeOutputs)
throws SemanticException
- Description copied from interface:
NodeProcessor
- Generic process for all ops that don't have specific implementations.
- Specified by:
process
in interface NodeProcessor
- Parameters:
nd
- operator to processprocContext
- operator processor contextnodeOutputs
- A variable argument list of outputs from other nodes in the walk
- Returns:
- Object to be returned by the process call
- Throws:
SemanticException
Copyright © 2014 The Apache Software Foundation. All rights reserved.