| 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 |
|---|---|
static TSQLEnv |
CatalogLoaders.loadToSQLEnv(CatalogInputSource source,
CatalogLoadOptions options)
Convenience: read
source into a UnifiedCatalogModel and apply it to
a freshly-constructed TSQLEnv via SqlEnvCatalogBridge.from(gudusoft.gsqlparser.catalog.input.model.UnifiedCatalogModel, gudusoft.gsqlparser.catalog.input.CatalogLoadOptions). |
TSQLEnv |
CatalogLoader.loadToSQLEnv(UnifiedCatalogModel model,
CatalogLoadOptions options) |
static TSQLEnv |
CatalogLoaders.loadToSQLEnvForSql(CatalogInputSource source,
CatalogLoadOptions options,
String sqlText)
Phase 1F optional optimization.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<TSQLEnv> |
CatalogLoadResult.sqlEnv() |
| Modifier and Type | Method and Description |
|---|---|
static CatalogLoadResult |
CatalogLoaders.loadIntoSQLEnv(TSQLEnv env,
UnifiedCatalogModel model,
CatalogLoadOptions options)
Apply
model to an existing caller-managed TSQLEnv via
SQLEnvCatalogLoader.loadIntoSQLEnv(gudusoft.gsqlparser.sqlenv.TSQLEnv, gudusoft.gsqlparser.catalog.input.model.UnifiedCatalogModel, gudusoft.gsqlparser.catalog.input.CatalogLoadOptions). |
CatalogLoadResult |
CatalogLoader.loadIntoSQLEnv(TSQLEnv env,
UnifiedCatalogModel model,
CatalogLoadOptions options) |
static CatalogLoadResult |
CatalogLoadResult.ok(TSQLEnv env,
List<CatalogDiagnostic> diagnostics) |
| Modifier and Type | Method and Description |
|---|---|
DynamicLineageResult |
DataFlowAnalyzer.resolveDynamicSqlLineage(TCustomSqlStatement procAst,
EDbVendor vendor,
TSQLEnv sqlEnv,
String currentDatabase,
String defaultSchema,
Map<String,SqlValue> bindings,
DynamicLineageOptions options)
Resolve dynamic-SQL object names by abstractly evaluating a stored procedure
with a set of parameter bindings.
|
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) |
| Constructor and Description |
|---|
SqlflowShardedMetadataAnalyzer(TSQLEnv sqlenv,
String baseDir) |
| 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 |
DynamicSqlLineageResolver.caseCollision(TCustomSqlStatement procAst,
TSQLEnv sqlEnv)
Why the evaluation cannot be trusted with
declared under the catalog's rules names: the
evaluation keys variables without their case, so two names the rules keep apart but that differ only in case
would share a value. |
static DynamicSqlLineageResolver.CallSiteDiscovery |
DynamicSqlLineageResolver.discoverCallSites(TCustomSqlStatement procAst,
int maxBindingSets,
TSQLEnv sqlEnv,
RoutineCatalog catalog,
DynamicLineageOptions options)
DynamicSqlLineageResolver.discoverCallSites(TCustomSqlStatement, int) with what a call whose actuals are not literals needs
(Mantis 4962): the catalog (sqlEnv, for a calling procedure's presets), the other units
(catalog, for a calling procedure's own calls there) and the evaluation's options. |
static DynamicSqlLineageResolver.CallSiteDiscovery |
DynamicSqlLineageResolver.discoverCrossFileCallSites(TCustomSqlStatement procAst,
RoutineCatalog catalog,
int maxBindingSets,
TSQLEnv sqlEnv,
DynamicLineageOptions options)
DynamicSqlLineageResolver.discoverCrossFileCallSites(TCustomSqlStatement, RoutineCatalog, int) with the catalog and options a
call whose actuals are not literals needs (DynamicSqlLineageResolver.discoverCallSites(TCustomSqlStatement, int, TSQLEnv,
RoutineCatalog, DynamicLineageOptions)). |
static Map<String,SqlValue> |
DynamicSqlLineageResolver.presetBindings(TCustomSqlStatement procAst,
TSQLEnv sqlEnv,
String currentDatabase,
String defaultSchema)
The values preset in
sqlEnv for the parameters of the procedure procAst defines (Mantis 4962),
as bindings, or null when none is set. |
static DynamicLineageResult |
DynamicSqlLineageResolver.resolve(TCustomSqlStatement procAst,
EDbVendor vendor,
TSQLEnv sqlEnv,
String currentDatabase,
String defaultSchema,
Map<String,SqlValue> bindings,
DynamicLineageOptions options) |
| 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 |
|---|---|
static AnalysisResult |
SqlSemanticAnalyzer.analyze(String sql,
EDbVendor vendor,
TSQLEnv catalog)
Analyze a single
SELECT statement using catalog metadata
supplied as a TSQLEnv. |
| Constructor and Description |
|---|
Resolver2NameBindingProvider(TSQLEnv sqlEnv)
Slice 58 — construct a provider with catalog access.
|
| Modifier and Type | Method and Description |
|---|---|
TSQLEnv |
ProducerConfig.Metadata.getCatalog()
The catalog; the producer analyses against a private copy and never modifies it.
|
| Modifier and Type | Method and Description |
|---|---|
ProducerConfig.Builder |
ProducerConfig.Builder.metadata(TSQLEnv catalog,
String status,
List<Object[]> artifacts)
The catalog and what it was built from.
|
| 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 | 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 TSQLTable |
TMetadataCollector.addDeclaredTable(TCreateTableSqlStatement stmt,
TSQLEnv env)
The catalog half of
TMetadataCollector.registerDeclaredTable(gudusoft.gsqlparser.stmt.TCreateTableSqlStatement, gudusoft.gsqlparser.sqlenv.TSQLEnv): put the declared table in env and return it, leaving
the statement as it is. |
static TSQLTable |
TMetadataCollector.addDeclaredTable(TCreateTableSqlStatement stmt,
TSQLEnv env,
String defaultCatalog,
String defaultSchema)
TMetadataCollector.addDeclaredTable(TCreateTableSqlStatement, TSQLEnv) in an explicit database and schema. |
static TSQLSchema |
TMetadataCollector.declaredTableOwner(TObjectName name,
EDbVendor vendor,
TSQLEnv env,
String defaultCatalog,
String defaultSchema)
The schema a table named
name is declared in: its own qualification, else defaultCatalog and
defaultSchema, else DEFAULT (dbo for SQL Server). |
static TSQLTable |
TMetadataCollector.findDeclaredTable(TCreateTableSqlStatement stmt,
TSQLEnv env,
String defaultCatalog,
String defaultSchema)
The table
env already holds where a declaration of stmt's table would go if env's current
database and schema were defaultCatalog and defaultSchema, or null. |
static TSQLTable |
TMetadataCollector.registerDeclaredTable(TCreateTableSqlStatement stmt,
TSQLEnv env)
Register only a schema declared by this CREATE, never an unknown LIKE/CLONE shape.
|
static TSQLTable |
TMetadataCollector.registerDeclaredTable(TCreateTableSqlStatement stmt,
TSQLEnv env,
String defaultCatalog,
String defaultSchema)
TMetadataCollector.registerDeclaredTable(TCreateTableSqlStatement, TSQLEnv) as if env's current database and schema
were defaultCatalog and defaultSchema, without changing them. |
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 |
|---|---|
static BindingResult |
SqlBinding.resolve(String sql,
EDbVendor vendor,
TSQLEnv env,
TSQLResolverConfig config)
Parse and resolve
sql against the supplied vendor / catalog,
returning the binding result. |
| Modifier and Type | Method and Description |
|---|---|
void |
DatabaseContextTracker.applyDefaults(TSQLEnv env) |
| Modifier and Type | Method and Description |
|---|---|
static String |
IdentityNameList.renderCatalogTableName(EDbVendor vendor,
TSQLEnv sqlEnv,
TObjectName tableName,
DisplayNameMode mode,
SqlNameGenerator.QuotePolicy quotePolicy)
How a listing prints the catalog's stored name for a table, or null when there is no
catalog entry.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
StatementMetadata.ProcedureEnvironment
Distinguishes a routine-local catalog from a separately parsed batch's environment.
|
| Modifier and Type | Method and Description |
|---|---|
TSQLEnv |
BatchMetadataCollector.collect()
Collect metadata from DDL statements and create a TSQLEnv.
|
| Modifier and Type | Method and Description |
|---|---|
void |
StatementMetadata.collect(TStatementList statements,
TSQLEnv env) |
void |
StatementMetadata.registerFunction(TCreateFunctionStmt statement,
TSQLEnv env)
Register a function using its declaration's lexical defaults, not the batch's defaults.
|
| Constructor and Description |
|---|
ParseTimeCatalog(TSQLEnv shared,
TStatementList statements,
String catalog,
String schema) |
| 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 |
|---|---|
static void |
TableFunctionLayout.recordDeclared(TTable table,
TSQLEnv env)
Records on a function call in FROM the columns the catalog declares for the function it calls (a CREATE FUNCTION
of the input registered before the call, or the catalog's metadata), so every consumer of the layout reads the
columns resolver2 resolved the call with; nothing for a built-in this rule lays out, or an unknown function.
|
void |
TableNamespace.setSqlEnv(TSQLEnv sqlEnv)
Set the TSQLEnv for metadata lookup.
|
void |
SubqueryNamespace.setSqlEnv(TSQLEnv sqlEnv) |
| 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 |
TSQLEnv.copy()
Create a deep copy of this TSQLEnv for use in concurrent threads.
|
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) |
TDDLSQLEnv(String defaultServer,
String defaultDatabase,
String defaultSchema,
TSQLEnv metadataSQLEnv,
EDbVendor dbVendor,
String sql,
IdentifierProfile identifierProfile)
Same input, analyzed under an explicit identifier configuration.
|
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 | Class and Description |
|---|---|
class |
CatalogRuntimeToSQLEnvBridge
Lazy bridge: a
TSQLEnv subclass whose only job is to install
CatalogBackedCatalogProvider via the legacy ICatalogProvider hook. |
| Modifier and Type | Method and Description |
|---|---|
static TSQLEnv |
SqlEnvCatalogBridge.from(CatalogInputSource source,
CatalogLoadOptions options)
Read
source via the registered CatalogInputReader for its kind, then
apply the resulting UnifiedCatalogModel to a freshly-constructed
TSQLEnv. |
static TSQLEnv |
LazyCatalogSqlEnv.from(CatalogProvider provider,
CatalogProviderConfig config)
Open the provider, build a runtime in
LAZY mode at
vendor generic, and wrap. |
static TSQLEnv |
LazyCatalogSqlEnv.from(CatalogProvider provider,
CatalogProviderConfig config,
EDbVendor vendor)
Open the provider, build a runtime in LAZY mode for the given vendor, and wrap.
|
static TSQLEnv |
LazyCatalogSqlEnv.from(CatalogRuntime runtime)
Wrap an existing runtime as a
TSQLEnv. |
static TSQLEnv |
LazyCatalogSqlEnv.from(CatalogRuntime runtime,
CatalogLoadOptions options)
Wrap an existing runtime as a
TSQLEnv with the supplied options applied
(defaults / identifier config / fetch caps). |
static TSQLEnv |
SqlEnvCatalogBridge.from(UnifiedCatalogModel model,
CatalogLoadOptions options)
Apply
model to a freshly-constructed TSQLEnv via
SQLEnvCatalogLoader.loadToSQLEnv(gudusoft.gsqlparser.catalog.input.model.UnifiedCatalogModel, gudusoft.gsqlparser.catalog.input.CatalogLoadOptions). |
TSQLEnv |
SQLEnvCatalogLoader.loadToSQLEnv(UnifiedCatalogModel model,
CatalogLoadOptions options)
Convenience: spin up a fresh
TSQLEnv (concrete TDDLSQLEnv subclass
with empty defaults) and apply model to it. |
| Modifier and Type | Method and Description |
|---|---|
CatalogRuntime |
SQLEnvToCatalogRuntimeAdapter.adapt(TSQLEnv env)
|
CatalogRuntime |
SQLEnvToCatalogRuntimeAdapter.adapt(TSQLEnv env,
IdentifierConfig identifierConfig)
Same as
SQLEnvToCatalogRuntimeAdapter.adapt(TSQLEnv) but with an explicit IdentifierConfig
override so the snapshot keys are built under a non-default policy (e.g. |
CatalogLoadResult |
SQLEnvCatalogLoader.loadIntoSQLEnv(TSQLEnv env,
UnifiedCatalogModel model,
CatalogLoadOptions options)
Walk
model and apply it to env. |
CatalogSnapshot |
SQLEnvToCatalogRuntimeAdapter.snapshot(TSQLEnv env)
Build the snapshot directly without wrapping it in a runtime.
|
TSQLSchemaObject |
CatalogEntryToSQLEnvMapper.toSQLSchemaObject(CatalogEntry entry,
TSQLEnv targetEnv)
Dispatch helper: route a
CatalogEntry to the right typed mapper based on its
CatalogObjectKind. |
TSQLSchemaObject |
CatalogEntryToSQLEnvMapper.toSQLSchemaObject(CatalogEntry entry,
TSQLEnv targetEnv,
List<CatalogEntry> columnChildren)
Same as
CatalogEntryToSQLEnvMapper.toSQLSchemaObject(CatalogEntry, TSQLEnv) but lets the caller
supply a list of column entries that will be attached to a TABLE / VIEW /
MATERIALIZED_VIEW result via TSQLTable.addColumn(String). |
TSQLFunction |
CatalogEntryToSQLEnvMapper.toTSQLFunction(CatalogEntry entry,
TSQLEnv targetEnv) |
TSQLOraclePackage |
CatalogEntryToSQLEnvMapper.toTSQLOraclePackage(CatalogEntry entry,
TSQLEnv targetEnv) |
TSQLProcedure |
CatalogEntryToSQLEnvMapper.toTSQLProcedure(CatalogEntry entry,
TSQLEnv targetEnv) |
TSQLSchemaObject |
CatalogEntryToSQLEnvMapper.toTSQLSequence(CatalogEntry entry,
TSQLEnv targetEnv)
|
TSQLSchemaObject |
CatalogEntryToSQLEnvMapper.toTSQLSynonym(CatalogEntry entry,
TSQLEnv targetEnv) |
TSQLTable |
CatalogEntryToSQLEnvMapper.toTSQLTable(CatalogEntry entry,
TSQLEnv targetEnv) |
TSQLTable |
CatalogEntryToSQLEnvMapper.toTSQLTable(CatalogEntry entry,
TSQLEnv targetEnv,
List<CatalogEntry> columnChildren)
Materialize a TABLE entry and attach the supplied column entries.
|
TSQLSchemaObject |
CatalogEntryToSQLEnvMapper.toTSQLTrigger(CatalogEntry entry,
TSQLEnv targetEnv) |
TSQLTable |
CatalogEntryToSQLEnvMapper.toTSQLView(CatalogEntry entry,
TSQLEnv targetEnv)
Views are represented in the legacy model as
TSQLTable with view metadata. |
TSQLTable |
CatalogEntryToSQLEnvMapper.toTSQLView(CatalogEntry entry,
TSQLEnv targetEnv,
List<CatalogEntry> columnChildren)
Same as
CatalogEntryToSQLEnvMapper.toTSQLView(CatalogEntry, TSQLEnv) but with explicit column entries
for the lazy bridge path. |
| Constructor and Description |
|---|
CatalogBackedCatalogProvider(CatalogRuntime runtime,
ICatalogProvider delegate,
CatalogEntryToSQLEnvMapper mapper,
TSQLEnv targetEnv) |
CatalogBackedCatalogProvider(CatalogRuntime runtime,
ICatalogProvider delegate,
CatalogEntryToSQLEnvMapper mapper,
TSQLEnv targetEnv,
IdentifierConfig identifierConfig)
Convenience constructor without a diagnostic sink.
|
CatalogBackedCatalogProvider(CatalogRuntime runtime,
ICatalogProvider delegate,
CatalogEntryToSQLEnvMapper mapper,
TSQLEnv targetEnv,
IdentifierConfig identifierConfig,
CatalogDiagnosticSink diagnosticSink)
Construct a bridge provider with an explicit
IdentifierConfig and an
optional CatalogDiagnosticSink. |
| Modifier and Type | Method and Description |
|---|---|
TSQLEnv[] |
TSQLEnvParser.parseSQLEnv(EDbVendor vendor,
String metadata) |
TSQLEnv[] |
TJSONSQLEnvParser.parseSQLEnv(EDbVendor vendor,
String sql) |
TSQLEnv[] |
TJSONSQLEnvParser.parseSQLEnv(EDbVendor vendor,
String sql,
String explicitBaseDir) |
| Modifier and Type | Class and Description |
|---|---|
class |
GrabitSQLEnv |
class |
MultipleGrabitSQLEnv |
| Modifier and Type | Class and Description |
|---|---|
class |
SqlflowShardedSQLEnv
SQLEnv implementation for sqlflow-sharded format.
|
| Modifier and Type | Class and Description |
|---|---|
class |
MultipleSQLDepSQLEnv |
class |
SQLDepSQLEnv |
| Modifier and Type | Class and Description |
|---|---|
class |
SqlflowSQLEnv |
| Modifier and Type | Method and Description |
|---|---|
TResultColumn |
TSelectSqlStatement.findEnclosingAliasDefinition(TObjectName reference,
TSQLEnv sqlEnv)
The SELECT-list alias of an ENCLOSING SELECT block that
reference, an unqualified name of this block,
stands for in SAP IQ and SQL Anywhere (Mantis 4752). |
boolean |
TSelectSqlStatement.mayExposeColumn(String columnName,
TSQLEnv sqlEnv)
Whether this block may have a column
columnName of its own: some table it reads may have it (a derived
table, a CTE, a table function, a table whose columns the catalog does not all know, or knows to include it). |
static TTable |
TSelectSqlStatement.outerCorrelationTable(TObjectName name,
TSelectSqlStatement subquery,
TSQLEnv sqlEnv)
The table of an enclosing query that the unqualified
name in subquery reads, or null when the name
is the subquery's own (Mantis 4797). |
| Modifier and Type | Method and Description |
|---|---|
void |
TGetTableColumn.setSqlEnv(TSQLEnv sqlEnv) |