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