public class SimpleAuxiliaryDatabaseObject extends AbstractAuxiliaryDatabaseObject
AuxiliaryDatabaseObject.Expandable
Constructor and Description |
---|
SimpleAuxiliaryDatabaseObject(Namespace namespace,
String[] createStrings,
String[] dropStrings,
Set<String> dialectScopes) |
SimpleAuxiliaryDatabaseObject(Namespace namespace,
String createString,
String dropString,
Set<String> dialectScopes) |
SimpleAuxiliaryDatabaseObject(Set<String> dialectScopes,
String catalogName,
String schemaName,
String[] createStrings,
String[] dropStrings) |
Modifier and Type | Method and Description |
---|---|
String[] |
sqlCreateStrings(Dialect dialect)
Gets the SQL strings for creating the database object.
|
String[] |
sqlDropStrings(Dialect dialect)
Gets the SQL strings for dropping the database object.
|
addDialectScope, appliesToDialect, beforeTablesOnCreation, getDialectScopes, getExportIdentifier
public SimpleAuxiliaryDatabaseObject(Namespace namespace, String createString, String dropString, Set<String> dialectScopes)
public SimpleAuxiliaryDatabaseObject(Namespace namespace, String[] createStrings, String[] dropStrings, Set<String> dialectScopes)
public String[] sqlCreateStrings(Dialect dialect)
AuxiliaryDatabaseObject
dialect
- The dialect for which to generate the SQL creation stringspublic String[] sqlDropStrings(Dialect dialect)
AuxiliaryDatabaseObject
dialect
- The dialect for which to generate the SQL drop stringsCopyright © 2017 JBoss by Red Hat. All rights reserved.