AbstractAuxiliaryDatabaseObject in which the
CREATE and DROP strings are provided up front. Contains simple
facilities for templating the catalog and schema names into the provided strings.
This is the form created when the mapping documents use <create/> and
<drop/>.
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private final String | |
| private final String[] | |
| private final String[] | |
| private static final String | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static String | |
| protected String | |
| protected String | |
| private String | |
| public String[] | sqlCreateStrings(SqlStringGenerationContext
A context to help generate the SQL creation strings context)Implements org. |
| public String[] | sqlDropStrings(SqlStringGenerationContext
A context to help generate the SQL drop strings context)Implements org. |
| CATALOG_NAME_PLACEHOLDER | back to summary |
|---|---|
| private static final String CATALOG_NAME_PLACEHOLDER | |
| catalogName | back to summary |
|---|---|
| private final String catalogName | |
| createStrings | back to summary |
|---|---|
| private final String[] createStrings | |
| dropStrings | back to summary |
|---|---|
| private final String[] dropStrings | |
| SCHEMA_NAME_PLACEHOLDER | back to summary |
|---|---|
| private static final String SCHEMA_NAME_PLACEHOLDER | |
| schemaName | back to summary |
|---|---|
| private final String schemaName | |
| SimpleAuxiliaryDatabaseObject | back to summary |
|---|---|
| public SimpleAuxiliaryDatabaseObject(Namespace namespace, String createString, String dropString, Set<String> dialectScopes, boolean beforeTables) | |
| SimpleAuxiliaryDatabaseObject | back to summary |
|---|---|
| public SimpleAuxiliaryDatabaseObject(Namespace namespace, String[] createStrings, String[] dropStrings, Set<String> dialectScopes, boolean beforeTables) | |
| SimpleAuxiliaryDatabaseObject | back to summary |
|---|---|
| public SimpleAuxiliaryDatabaseObject(Namespace namespace, String createString, String dropString, Set<String> dialectScopes) | |
| SimpleAuxiliaryDatabaseObject | back to summary |
|---|---|
| public SimpleAuxiliaryDatabaseObject(Namespace namespace, String[] createStrings, String[] dropStrings, Set<String> dialectScopes) | |
| SimpleAuxiliaryDatabaseObject | back to summary |
|---|---|
| public SimpleAuxiliaryDatabaseObject(Set<String> dialectScopes, String catalogName, String schemaName, String[] createStrings, String[] dropStrings, boolean beforeTables) | |
| SimpleAuxiliaryDatabaseObject | back to summary |
|---|---|
| public SimpleAuxiliaryDatabaseObject(Set<String> dialectScopes, String catalogName, String schemaName, String[] createStrings, String[] dropStrings) | |
| extractName | back to summary |
|---|---|
| private static String extractName(Identifier identifier) | |
| getCatalogName | back to summary |
|---|---|
| protected String getCatalogName() | |
| getSchemaName | back to summary |
|---|---|
| protected String getSchemaName() | |
| injectCatalogAndSchema | back to summary |
|---|---|
| private String injectCatalogAndSchema(String ddlString, SqlStringGenerationContext context) | |
| sqlCreateStrings | back to summary |
|---|---|
| public String[] sqlCreateStrings(SqlStringGenerationContext context) Implements org. Doc from org. Gets the SQL strings for creating the database object.
| |
| sqlDropStrings | back to summary |
|---|---|
| public String[] sqlDropStrings(SqlStringGenerationContext context) Implements org. Doc from org. Gets the SQL strings for dropping the database object.
| |