public class LineageInfo extends java.lang.Object implements NodeProcessor
Constructor and Description |
---|
LineageInfo() |
Modifier and Type | Method and Description |
---|---|
java.util.TreeSet<java.lang.String> |
getInputTableList() |
void |
getLineageInfo(java.lang.String query)
parses given query and gets the lineage info.
|
java.util.TreeSet<java.lang.String> |
getOutputTableList() |
static void |
main(java.lang.String[] args) |
java.lang.Object |
process(Node nd,
java.util.Stack<Node> stack,
NodeProcessorCtx procCtx,
java.lang.Object... nodeOutputs)
Implements the process method for the NodeProcessor interface.
|
public java.util.TreeSet<java.lang.String> getInputTableList()
public java.util.TreeSet<java.lang.String> getOutputTableList()
public java.lang.Object process(Node nd, java.util.Stack<Node> stack, NodeProcessorCtx procCtx, java.lang.Object... nodeOutputs) throws SemanticException
process
in interface NodeProcessor
nd
- operator to processprocCtx
- operator processor contextnodeOutputs
- A variable argument list of outputs from other nodes in the walkSemanticException
public void getLineageInfo(java.lang.String query) throws ParseException, SemanticException
query
- ParseException
SemanticException
public static void main(java.lang.String[] args) throws java.io.IOException, ParseException, SemanticException
java.io.IOException
ParseException
SemanticException
Copyright © 2012 The Apache Software Foundation