Package | Description |
---|---|
gudusoft.gsqlparser.sqlenv |
Modifier and Type | Method and Description |
---|---|
TSQLCatalog |
TSQLEnv.createSQLCatalog(String catalogName)
create a new catalog/database in the SQL environment.
|
TSQLCatalog |
TSQLSchema.getCatalog() |
TSQLCatalog |
TSQLEnv.getSQLCatalog(String catalogName,
boolean createIfNotExist)
get a catalog from the SQL environment if already exists, otherwise, create a new catalog.
|
TSQLCatalog |
TSQLEnv.searchCatalog(String catalogName)
search catalog in the catalog list, return null if not found.
|
Modifier and Type | Method and Description |
---|---|
List<TSQLCatalog> |
TSQLEnv.getCatalogList()
a list of catalog/database in this SQL environment.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
TSQLEnv.doAddCatalog(TSQLCatalog sqlCatalog)
add a catalog to the SQL environment, called internally.
|
Constructor and Description |
---|
TSQLSchema(TSQLCatalog sqlCatalog,
String schemaName)
Create a new instance of the schema, added to the catalog.
|