public class MutableSchema extends AbstractSchema implements Serializable, Schema
Table,
Serialized Form| Constructor and Description |
|---|
MutableSchema() |
MutableSchema(String name) |
MutableSchema(String name,
Table... tables) |
| Modifier and Type | Method and Description |
|---|---|
MutableSchema |
addTable(Table table) |
MutableSchema |
clearTables() |
String |
getName()
Gets the name of this Schema
|
String |
getQuote()
Gets an optional quote string that is used to enclose the name of this
structure.
|
List<Table> |
getTables()
Gets all tables in this Schema.
|
MutableSchema |
removeTable(Table table) |
MutableSchema |
setName(String name) |
MutableSchema |
setTables(Collection<? extends Table> tables) |
MutableSchema |
setTables(Table... tables) |
compareTo, equals, getQualifiedLabel, getQuotedName, getRelationshipCount, getRelationships, getTable, getTableByName, getTableCount, getTableCount, getTableNames, getTables, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetRelationshipCount, getRelationships, getTable, getTableByName, getTableCount, getTableCount, getTableNames, getTablescompareTogetQualifiedLabel, getQuotedNamepublic MutableSchema()
public MutableSchema(String name)
public String getName()
Schemapublic MutableSchema setName(String name)
public List<Table> getTables()
Schemapublic MutableSchema setTables(Collection<? extends Table> tables)
public MutableSchema setTables(Table... tables)
public MutableSchema clearTables()
public MutableSchema addTable(Table table)
public MutableSchema removeTable(Table table)
public String getQuote()
NamedStructuregetQuote in interface NamedStructureCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.