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

All Known Implementing Classes:
ASTNode, CollectOperator, ExtractOperator, FileSinkOperator, FilterOperator, ForwardOperator, GroupByOperator, JoinOperator, LimitOperator, MapOperator, Operator, ReduceSinkOperator, ScriptOperator, SelectOperator, TableScanOperator, TerminalOperator, UnionOperator

public interface Node

This interface defines the functions needed by the walkers and dispatchers. These are implemented by the node of the graph that needs to be walked.


Method Summary
 Vector<Node> getChildren()
          Gets the vector of children nodes.
 String getName()
          Gets the name of the node.
 

Method Detail

getChildren

Vector<Node> getChildren()
Gets the vector of children nodes. This is used in the graph walker algorithms.

Returns:
Vector

getName

String getName()
Gets the name of the node. This is used in the rule dispatchers.

Returns:
String


Copyright © 2009 The Apache Software Foundation