public class Database extends Object
Constructor and Description |
---|
Database(Metadata.Options options) |
Modifier and Type | Method and Description |
---|---|
void |
addAuxiliaryDatabaseObject(AuxiliaryDatabaseObject auxiliaryDatabaseObject) |
String[] |
generateDropSchemaScript(Dialect dialect) |
String[] |
generateSchemaCreationScript(Dialect dialect) |
Iterable<AuxiliaryDatabaseObject> |
getAuxiliaryDatabaseObjects() |
Schema |
getDefaultSchema() |
Schema |
getSchema(Identifier schema,
Identifier catalog) |
Schema |
getSchema(String schema,
String catalog) |
Schema |
locateSchema(Schema.Name name) |
public Database(Metadata.Options options)
public Schema getDefaultSchema()
public Schema locateSchema(Schema.Name name)
public Schema getSchema(Identifier schema, Identifier catalog)
public void addAuxiliaryDatabaseObject(AuxiliaryDatabaseObject auxiliaryDatabaseObject)
public Iterable<AuxiliaryDatabaseObject> getAuxiliaryDatabaseObjects()
Copyright © 2018 JBoss by Red Hat. All rights reserved.