public class MutableSchema extends AbstractSchema implements Serializable, Schema
Table,
Serialized Form| Constructor and Description |
|---|
MutableSchema() |
MutableSchema(String name) |
MutableSchema(String name,
MutableTable... tables) |
| Modifier and Type | Method and Description |
|---|---|
MutableSchema |
addTable(MutableTable 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.
|
MutableTable[] |
getTables()
Gets all tables in this Schema.
|
MutableSchema |
removeTable(Table table) |
MutableSchema |
setName(String name) |
MutableSchema |
setTables(Collection<? extends MutableTable> tables) |
MutableSchema |
setTables(MutableTable... 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 MutableSchema(String name, MutableTable... tables)
public String getName()
Schemapublic MutableSchema setName(String name)
public MutableTable[] getTables()
Schemapublic MutableSchema setTables(Collection<? extends MutableTable> tables)
public MutableSchema setTables(MutableTable... tables)
public MutableSchema clearTables()
public MutableSchema addTable(MutableTable table)
public MutableSchema removeTable(Table table)
public String getQuote()
NamedStructuregetQuote in interface NamedStructureCopyright © 2007–2016 The Apache Software Foundation. All rights reserved.