liquibase.structure.core.Schema in that it has
not come from an actual database Schema.
A null value for catalogName or schemaName signifies the default catalog/schema.
| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| public static final CatalogAndSchema | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public CatalogAndSchema | |
| public boolean | |
| private boolean | |
| public String | |
| public String | |
| public CatalogAndSchema | standardize(Database accordingTo)
This method returns a new CatalogAndSchema adjusted based on the configuration of the passed database. |
| public String |
| catalogName | back to summary |
|---|---|
| private final String catalogName | |
| DEFAULT | back to summary |
|---|---|
| public static final CatalogAndSchema DEFAULT | |
| schemaName | back to summary |
|---|---|
| private final String schemaName | |
| CatalogAndSchema | back to summary |
|---|---|
| public CatalogAndSchema(String catalogName, String schemaName) | |
| customize | back to summary |
|---|---|
| public CatalogAndSchema customize(Database accordingTo) Returns a new CatalogAndSchema object with null/default catalog and schema names set to the correct default catalog and schema. If the database does not support catalogs or schemas they will retain a null value. Catalog and schema capitalization will match what the database expects. | |
| equals | back to summary |
|---|---|
| public boolean equals(CatalogAndSchema catalogAndSchema, Database accordingTo) | |
| equals | back to summary |
|---|---|
| private boolean equals(Database database, String value1, String value2) This method does schema or catalog comparison | |
| getCatalogName | back to summary |
|---|---|
| public String getCatalogName() | |
| getSchemaName | back to summary |
|---|---|
| public String getSchemaName() | |
| standardize | back to summary |
|---|---|
| public CatalogAndSchema standardize(Database accordingTo) This method returns a new CatalogAndSchema adjusted based on the configuration of the passed database. If the database does not support schemas, the returned object will have a null schema. If the database does not support catalogs, the returned object will have a null catalog. If either the schema or catalog matches the database default catalog or schema, they will be nulled out. Catalog and/or schema names will be upper case unless the database violates the SQL standard by being case-sensitive about some or all unquoted identifiers. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. String version includes both catalog and schema. If either is null it returns the string "DEFAULT" in its place.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final CatalogAndSchema. | |
| public static final CatalogAndSchema. | |
| public static final CatalogAndSchema. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static CatalogAndSchema. | |
| public static CatalogAndSchema. |
| LOWER_CASE | back to summary |
|---|---|
| public static final CatalogAndSchema. | |
| ORIGINAL_CASE | back to summary |
|---|---|
| public static final CatalogAndSchema. | |
| UPPER_CASE | back to summary |
|---|---|
| public static final CatalogAndSchema. | |
| CatalogAndSchemaCase | back to summary |
|---|---|
| private CatalogAndSchemaCase() | |
| valueOf | back to summary |
|---|---|
| public static CatalogAndSchema. | |
| values | back to summary |
|---|---|
| public static CatalogAndSchema. | |