public class DataFlowGraphGenerator extends Object
| Constructor and Description |
|---|
DataFlowGraphGenerator() |
| Modifier and Type | Method and Description |
|---|---|
String |
genDataflowGraph(Dataflow model) |
String |
genDataflowGraph(Dataflow model,
boolean includeIsolatedNodes)
Graph JSON of a SQLFlow JSON model.
|
String |
genDlineageGraph(EDbVendor vendor,
boolean isIndirect,
dataflow dataflow) |
String |
genDlineageGraph(EDbVendor vendor,
boolean isIndirect,
dataflow dataflow,
boolean includeIsolatedNodes)
Graph JSON of
dataflow. |
String |
genERGraph(EDbVendor vendor,
dataflow dataflow) |
public DataFlowGraphGenerator()
public String genDlineageGraph(EDbVendor vendor, boolean isIndirect, dataflow dataflow) throws Exception
Exceptionpublic String genDlineageGraph(EDbVendor vendor, boolean isIndirect, dataflow dataflow, boolean includeIsolatedNodes) throws Exception
dataflow.includeIsolatedNodes - false, what genDlineageGraph(EDbVendor, boolean, dataflow) uses,
keeps only the tables, resultsets and columns that take part in a relationship;
true also keeps the isolated ones, such as a table a CREATE TABLE
declares that nothing reads, or the resultset of SELECT 1 AS n, and the
unlinked columns of every node. No relationship is added either way (Mantis 4812).Exceptionpublic String genERGraph(EDbVendor vendor, dataflow dataflow) throws Exception
Exceptionpublic String genDataflowGraph(Dataflow model) throws Exception
Exceptionpublic String genDataflowGraph(Dataflow model, boolean includeIsolatedNodes) throws Exception
includeIsolatedNodes - false, what genDataflowGraph(Dataflow) uses, keeps only the
tables, resultsets and columns that take part in a relationship; true also
keeps the isolated ones, such as a table a CREATE TABLE declares that nothing
reads, or the resultset of SELECT 1 AS n, and the unlinked columns of every
node. No relationship is added either way (Mantis 4812).Exception