Package | Description |
---|---|
gudusoft.gsqlparser |
Provides the class
TGSqlParser necessary to create a SQL Parser and the classes a SQL Parser uses
internally to handle different SQL dialects. |
gudusoft.gsqlparser.dlineage | |
gudusoft.gsqlparser.dlineage.dataflow.metadata.sqlenv | |
gudusoft.gsqlparser.dlineage.dataflow.metadata.sqlflow | |
gudusoft.gsqlparser.dlineage.dataflow.model | |
gudusoft.gsqlparser.dlineage.dataflow.sqlenv | |
gudusoft.gsqlparser.dlineage.util | |
gudusoft.gsqlparser.nodes |
Provides the classes represents various SQL query parse tree node.
|
gudusoft.gsqlparser.resolver | |
gudusoft.gsqlparser.sqlenv | |
gudusoft.gsqlparser.sqlenv.parser | |
gudusoft.gsqlparser.sqlenv.parser.grabit | |
gudusoft.gsqlparser.sqlenv.parser.sqldep | |
gudusoft.gsqlparser.sqlenv.parser.sqlflow |
Modifier and Type | Method and Description |
---|---|
TSQLEnv |
TCustomSqlStatement.getSqlEnv() |
TSQLEnv |
TGSqlParser.getSqlEnv()
SQL environment includes the database metadata such as procedure, function, trigger, table and etc.
|
Modifier and Type | Method and Description |
---|---|
void |
TGSqlParser.setSqlEnv(TSQLEnv sqlEnv) |
Modifier and Type | Method and Description |
---|---|
void |
IDataFlowAnalyzer.setSqlEnv(TSQLEnv sqlenv) |
void |
DataFlowAnalyzer.setSqlEnv(TSQLEnv sqlenv) |
void |
ParallelDataFlowAnalyzer.setSqlEnv(TSQLEnv sqlenv) |
Modifier and Type | Method and Description |
---|---|
dataflow |
SQLEnvMetadataAnalyzer.analyzeMetadata(EDbVendor metadataVendor,
TSQLEnv sqlenv) |
Constructor and Description |
---|
SqlflowMetadataAnalyzer(TSQLEnv sqlenv) |
Modifier and Type | Method and Description |
---|---|
static TSQLEnv |
ModelBindingManager.getGlobalSQLEnv() |
Modifier and Type | Method and Description |
---|---|
static void |
ModelBindingManager.setGlobalSQLEnv(TSQLEnv sqlenv) |
Modifier and Type | Method and Description |
---|---|
static TSQLEnv |
SQLEnvParser.mergeSQLEnv(List<TSQLEnv> sqlenvs) |
TSQLEnv[] |
SQLEnvParser.parseSQLEnv(EDbVendor vendor,
SqlInfo[] sqlInfos) |
TSQLEnv[] |
SQLEnvParser.parseSQLEnv(EDbVendor vendor,
String sql) |
Modifier and Type | Method and Description |
---|---|
static SQLEnv |
SQLEnvExporter.exportSQLEnv(TSQLEnv sqlenv) |
static void |
SQLEnvImporter.importTSQLEnv(TSQLEnv sqlenv,
SQLEnv sqlEnvModel) |
Modifier and Type | Method and Description |
---|---|
static TSQLEnv |
SQLEnvParser.mergeSQLEnv(List<TSQLEnv> sqlenvs) |
Constructor and Description |
---|
SQLEnvParser(TSQLEnv metadataSQLEnv,
String defaultServer,
String defaultDatabase,
String defaultSchema) |
Modifier and Type | Method and Description |
---|---|
static String |
LeftMostTableUtility.generateLeftMostTableCsv(Option option,
SqlInfo[] sqlInfos,
TSQLEnv sqlenv,
EDbVendor vendor) |
static String |
LeftMostTableUtility.generateLeftMostTableCsv(Option option,
SqlInfo[] sqlInfos,
TSQLEnv sqlenv,
EDbVendor vendor,
String delimiter) |
Modifier and Type | Method and Description |
---|---|
TSQLEnv |
TTable.getSqlEnv() |
Modifier and Type | Method and Description |
---|---|
ArrayList<TObjectName> |
TTable.getColumnsFromSQLEnv(TSQLEnv sqlEnv) |
void |
TTable.initAttributesForUnnest(TSQLEnv sqlEnv,
TSelectSqlStatement select) |
int |
TFunctionCall.isColumnInThisTableFunction(TSQLEnv sqlEnv,
EDbVendor dbVendor,
TObjectName pColumn) |
void |
TTable.setSqlEnv(TSQLEnv sqlEnv) |
void |
TObjectName.setSqlEnv(TSQLEnv sqlEnv) |
Modifier and Type | Method and Description |
---|---|
static ArrayList<String> |
TResolverHelpUtils.searchTypedStruct(TSQLEnv sqlEnv,
TResultColumn resultColumn) |
Modifier and Type | Class and Description |
---|---|
class |
TDDLSQLEnv |
Modifier and Type | Field and Description |
---|---|
protected TSQLEnv |
TSQLObject.sqlEnv |
Modifier and Type | Method and Description |
---|---|
TSQLEnv |
TSQLObject.getSqlEnv()
SQL environment where this database object belonged to.
|
Modifier and Type | Method and Description |
---|---|
void |
TServerSQLEnv.appendSQLEnv(String server,
TSQLEnv sqlEnv) |
static int |
TSQLObject.compareTo(TSQLEnv sqlEnv,
ESQLDataObjectType sqlDataObjectType,
TSQLObject targetDataObject,
String objectName)
how to compare the name of database object is various from different databases due to the different implementation.
|
static boolean |
TSQLObject.isDelimitedIdentifier(TSQLEnv sqlEnv,
String identifier)
check whether a database object name is a delimited identifier or not based on the database.
|
static String |
TSQLObject.normalizeIdentifier(TSQLEnv sqlEnv,
ESQLDataObjectType sqlDataObjectType,
String identifier)
change the case of the name of the database object name, and remove the delimited char if it's a delimited identifier.
|
Constructor and Description |
---|
TDDLSQLEnv(String defaultServer,
String defaultDatabase,
String defaultSchema,
TSQLEnv metadataSQLEnv,
EDbVendor dbVendor,
String sql) |
TSQLCatalog(TSQLEnv sqlEnv,
String catalogName)
create a catalog and add to the SQL environment.
|
TSQLObject(TSQLEnv sqlEnv,
String objectName,
ESQLDataObjectType dataObjectType)
create a new database object and add to the SQL environment.
|
Modifier and Type | Method and Description |
---|---|
TSQLEnv[] |
TSQLEnvParser.parseSQLEnv(EDbVendor vendor,
String metadata) |
TSQLEnv[] |
TJSONSQLEnvParser.parseSQLEnv(EDbVendor vendor,
String sql) |
Modifier and Type | Class and Description |
---|---|
class |
GrabitSQLEnv |
class |
MultipleGrabitSQLEnv |
Modifier and Type | Class and Description |
---|---|
class |
MultipleSQLDepSQLEnv |
class |
SQLDepSQLEnv |
Modifier and Type | Class and Description |
---|---|
class |
SqlflowSQLEnv |