public class DBSchema extends Object
| Constructor and Description |
|---|
DBSchema(String label,
String schemaName,
String dbName,
YDBTypeMapping dbTypeMappings) |
| Modifier and Type | Method and Description |
|---|---|
DBTable |
addExistingTable(String name) |
DBTable |
createTable(String name) |
void |
drop(String tableName) |
Collection<DBTable> |
getAllChangedTables() |
Collection<DBTable> |
getAllTables() |
int |
getAllTablesCount() |
String |
getDbName() |
YDBTypeMapping |
getDBTypeMappings() |
String |
getLabel() |
Set<DBTable> |
getModifiedTables() |
String |
getSchemaName() |
DBTable |
getTable(String tableName) |
protected Map<String,DBTable> |
getTableMap(boolean create) |
Set<DBTable> |
getTablesToCreate() |
Set<DBTable> |
getTablesToDrop() |
boolean |
hasChanged() |
void |
remove(String tableName) |
boolean |
tableExists(String tableName) |
String |
toString() |
public DBSchema(String label, String schemaName, String dbName, YDBTypeMapping dbTypeMappings)
public String getLabel()
public String getSchemaName()
public String getDbName()
public YDBTypeMapping getDBTypeMappings()
public boolean hasChanged()
public Collection<DBTable> getAllChangedTables()
public int getAllTablesCount()
public Collection<DBTable> getAllTables()
public boolean tableExists(String tableName)
public void drop(String tableName)
public void remove(String tableName)
Copyright © 2017 SAP SE. All Rights Reserved.