public class MultipleGrabitSQLEnv extends TSQLEnv
TSQLEnv.InvalidNameFormExceptioncatalogCollationCaseSensitive, columnCollationCaseSensitive, DEFAULT_DB_NAME, DEFAULT_SCHEMA_NAME, DEFAULT_SERVER_NAME, defaultCollationCaseSensitive, functionCollationCaseSensitive, isAliasReferenceForbidden, SNOWFLAKE_SCHEMA_AFTER_DATABASE_SWITCH, tableCollationCaseSensitive| Constructor and Description |
|---|
MultipleGrabitSQLEnv(String defaultServer,
String defaultDatabase,
String defaultSchema,
EDbVendor dbVendor,
List jsonArray) |
MultipleGrabitSQLEnv(String defaultServer,
String defaultDatabase,
String defaultSchema,
EDbVendor dbVendor,
List jsonArray,
IdentifierProfile identifierProfile)
Same input, analyzed under an explicit identifier configuration.
|
| Modifier and Type | Method and Description |
|---|---|
void |
initSQLEnv()
This method must be override in the subclass to build a SQL environment with real metadata.
|
addFunction, addFunction, addOraclePackage, addProcedure, addSQLRoutine, addTable, addTrigger, addView, columnInTable, compareColumn, compareColumn, compareIdentifier, compareIdentifier, compareIdentifier, compareQualifiedColumn, compareQualifiedTable, compareTable, compareTable, copy, createSQLCatalog, createSQLSchema, delimitedChar, doAddCatalog, doAddSchemaObject, doAddSchemaObject, doSearchSchemaObject, endsWithDelimitedIdentifier, findSchemaAfterDatabaseSwitch, getAFullQualifiedSchemaObjectName, getCatalogList, getCatalogProvider, getCatalogStore, getColumnInTable, getColumnsInTable, getDatabaseName, getDatabaseName, getDBVendor, getDefaultCatalogName, getDefaultSchemaName, getDefaultServerName, getIdentifierProfile, getIdentifierService, getNumberOfTables, getObjectName, getObjectName, getProcedureParameterPresets, getProcedureParameterValue, getProcedureParameterValue, getSchemaName, getSchemaName, getSQLCatalog, getSQLSchema, getStmtSeparatorChar, getVariableValue, hasCatalogMetadata, hasParameterPresets, isAliasOccludingColumn, isAliasVisibleInHaving, isDelimitedIdentifier, isDelimitedIdentifier, isEnableGetMetadataFromDDL, isHavingAliasOutrankingUngroupedColumn, matchSubObjectNameToWhole, normalizeIdentifier, normalizeIdentifier, parseNameForm, putSchemaObject, qualifyForPresets, requireSqlLexicalNameForm, searchCatalog, searchFunction, searchFunction, searchSchemaObject, searchSchemaObject, searchTable, searchTable, setCatalogProviderForCompatibility, setDefaultCatalogName, setDefaultSchemaName, setDefaultServerName, setEnableGetMetadataFromDDL, setProcedureParameterValue, setProcedureParameterValue, supportCatalog, supportSchema, toLexical, toLexical, toStringpublic MultipleGrabitSQLEnv(String defaultServer, String defaultDatabase, String defaultSchema, EDbVendor dbVendor, List jsonArray)
public MultipleGrabitSQLEnv(String defaultServer, String defaultDatabase, String defaultSchema, EDbVendor dbVendor, List jsonArray, IdentifierProfile identifierProfile)
The metadata this environment registers is indexed with identifierProfile, so the
analysis that reads it back asks the catalog the same question it was filled with. A profile
belonging to another vendor is not applied (IdentifierProfile.forVendorOr(gudusoft.gsqlparser.sqlenv.IdentifierProfile, gudusoft.gsqlparser.EDbVendor)); null means
the vendor default.
public void initSQLEnv()
TSQLEnvinitSQLEnv in class TSQLEnv