FAQ

Q: How to set default database and schema in DataFlowAnalyzer?

DataFlowAnalyzer dlineage = new DataFlowAnalyzer(sql, vendor, simpleMode);
dlineage.getOption().setDefaultDatabase("PRD");
dlineage.getOption().setDefaultSchema("apps");

From DataFlowAnalyzer instance, getting the Option field in the instance, use setDefaultDatabase and setDefaultSchema methods to set default database and schema.

Last updated