org.apache.hadoop.hive.ql.lib
Interface NodeProcessor

All Known Implementing Classes:
ColumnPrunerProcFactory.ColumnPrunerDefaultProc, ColumnPrunerProcFactory.ColumnPrunerFilterProc, ColumnPrunerProcFactory.ColumnPrunerGroupByProc, ColumnPrunerProcFactory.ColumnPrunerReduceSinkProc, ColumnPrunerProcFactory.ColumnPrunerSelectProc, GenMRFileSink1, GenMROperator, GenMRRedSink1, GenMRRedSink2, GenMRRedSink3, GenMRTableScan1, GenMRUnion1, LineageInfo, PrintOpTreeProcessor, TypeCheckProcFactory.BoolExprProcessor, TypeCheckProcFactory.ColumnExprProcessor, TypeCheckProcFactory.DefaultExprProcessor, TypeCheckProcFactory.NullExprProcessor, TypeCheckProcFactory.NumExprProcessor, TypeCheckProcFactory.StrExprProcessor, UnionProcFactory.MapRedUnion, UnionProcFactory.MapUnion, UnionProcFactory.NoUnion, UnionProcFactory.UnknownUnion

public interface NodeProcessor

Base class for processing operators which is no-op. The specific processors can register their own context with the dispatcher.


Method Summary
 Object process(Node nd, Stack<Node> stack, NodeProcessorCtx procCtx, Object... nodeOutputs)
          generic process for all ops that don't have specific implementations
 

Method Detail

process

Object process(Node nd,
               Stack<Node> stack,
               NodeProcessorCtx procCtx,
               Object... nodeOutputs)
               throws SemanticException
generic process for all ops that don't have specific implementations

Parameters:
nd - operator to process
procCtx - operator processor context
nodeOutputs - A variable argument list of outputs from other nodes in the walk
Returns:
Object to be returned by the process call
Throws:
SemanticException


Copyright © 2009 The Apache Software Foundation