public class MutableSchema extends AbstractSchema implements Serializable, Schema
Table
,
Serialized FormConstructor 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, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getRelationshipCount, getRelationships, getTable, getTableByName, getTableCount, getTableCount, getTableNames, getTables
compareTo
getQualifiedLabel, getQuotedName
public MutableSchema()
public MutableSchema(String name)
public MutableSchema(String name, MutableTable... tables)
public String getName()
Schema
public MutableSchema setName(String name)
public MutableTable[] getTables()
Schema
public 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()
NamedStructure
getQuote
in interface NamedStructure
Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.