| 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 |
ParallelDataFlowAnalyzer.setSqlEnv(TSQLEnv sqlenv) |
void |
DataFlowAnalyzer.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 |
TObjectName.setSqlEnv(TSQLEnv sqlEnv) |
void |
TTable.setSqlEnv(TSQLEnv sqlEnv) |
| Modifier and Type | Field and Description |
|---|---|
protected TSQLEnv |
AbstractSqlParser.sqlEnv
SQL environment for semantic analysis.
|
| Modifier and Type | Method and Description |
|---|---|
TSQLEnv |
ParserContext.getSqlEnv() |
| Modifier and Type | Method and Description |
|---|---|
ParserContext.Builder |
ParserContext.Builder.sqlEnv(TSQLEnv sqlEnv)
Set SQL environment.
|
| Modifier and Type | Method and Description |
|---|---|
static ArrayList<String> |
TResolverHelpUtils.searchTypedStruct(TSQLEnv sqlEnv,
TResultColumn resultColumn) |
| Modifier and Type | Method and Description |
|---|---|
TSQLEnv |
ScopeBuilder.getSqlEnv()
Get the TSQLEnv used for table metadata lookup.
|
TSQLEnv |
TSQLResolver2.getSqlEnv()
Get the TSQLEnv used for table metadata lookup.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ScopeBuilder.setSqlEnv(TSQLEnv sqlEnv)
Set the TSQLEnv for table metadata lookup.
|
void |
TSQLResolver2.setSqlEnv(TSQLEnv sqlEnv)
Set the TSQLEnv to use for table metadata lookup.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DatabaseContextTracker.applyDefaults(TSQLEnv env)
Apply the tracked defaults to a TSQLEnv.
|
| Modifier and Type | Method and Description |
|---|---|
TSQLEnv |
BatchMetadataCollector.collect()
Collect metadata from DDL statements and create a TSQLEnv.
|
| Constructor and Description |
|---|
QualifiedNameResolver(TSQLEnv sqlEnv,
EDbVendor vendor)
Create a QualifiedNameResolver with the given SQL environment.
|
| Modifier and Type | Method and Description |
|---|---|
TSQLEnv |
TableNamespace.getSqlEnv()
Get the TSQLEnv used for metadata lookup.
|
TSQLEnv |
SubqueryNamespace.getSqlEnv()
Get the TSQLEnv used for metadata lookup.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TableNamespace.setSqlEnv(TSQLEnv sqlEnv)
Set the TSQLEnv for metadata lookup.
|
void |
SubqueryNamespace.setSqlEnv(TSQLEnv sqlEnv)
Set the TSQLEnv for metadata lookup.
|
| Constructor and Description |
|---|
TableNamespace(TTable table,
INameMatcher nameMatcher,
TSQLEnv sqlEnv) |
TableNamespace(TTable table,
INameMatcher nameMatcher,
TSQLEnv sqlEnv,
EDbVendor vendor)
Create a TableNamespace with full qualified name resolution support.
|
| Modifier and Type | Method and Description |
|---|---|
TSQLEnv |
GlobalScope.getSqlEnv()
Get the SQL environment.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GlobalScope.setSqlEnv(TSQLEnv sqlEnv)
Set the SQL environment for qualified name resolution.
|
| Constructor and Description |
|---|
GlobalScope(gudusoft.gsqlparser.compiler.TContext globalContext,
INameMatcher nameMatcher,
TSQLEnv sqlEnv,
EDbVendor vendor)
Create a GlobalScope with SQL environment for qualified name resolution.
|
| 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.
|
TSQLFunction |
HierarchicalResolver.findFunction(TSQLEnv env,
String qualifiedName)
查找函数(便捷方法)
|
TSQLProcedure |
HierarchicalResolver.findProcedure(TSQLEnv env,
String qualifiedName)
查找存储过程(便捷方法)
|
TSQLSchemaObject |
HierarchicalResolver.findSchemaObject(TSQLEnv env,
String qualifiedName,
ESQLDataObjectType objectType)
查找 schema 对象(通用方法)
|
TSQLTable |
HierarchicalResolver.findTable(TSQLEnv env,
String qualifiedName)
查找表(便捷方法)
|
static boolean |
TSQLObject.isDelimitedIdentifier(TSQLEnv sqlEnv,
String identifier)
check whether a database object name is a delimited identifier or not based on the database.
|
| 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.
|
| Constructor and Description |
|---|
LegacyCatalogProvider(TSQLEnv sqlEnv,
List<TSQLCatalog> catalogList) |
| 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 |
| Modifier and Type | Method and Description |
|---|---|
void |
TGetTableColumn.setSqlEnv(TSQLEnv sqlEnv) |