public interface Schema
Interface of a database schema.
Modifier and Type | Interface and Description |
---|---|
static interface |
Schema.Name |
Modifier and Type | Method and Description |
---|---|
Schema.Name |
getName()
Returns the schema name.
|
SQLFactory |
getSQLFactory()
Returns the
SQLFactory
that created this instance of Schema. |
Table |
getTable(java.lang.String pName)
Returns the table with the given name or null, if no such table exists
in the schema.
|
Table |
getTable(Table.Name pName)
Returns the table with the given name or null, if no such table exists
in the schema.
|
java.util.Iterator |
getTables()
Returns an
Iterator to all tables in the schema. |
Table |
newTable(java.lang.String pName)
Creates a new table with the given name in the schema.
|
Table |
newTable(Table.Name pName)
Creates a new table with the given name in the schema.
|
SQLFactory getSQLFactory()
Returns the SQLFactory
that created this instance of Schema.
Schema.Name getName()
Returns the schema name.
Table newTable(java.lang.String pName)
Creates a new table with the given name in the schema.
Table newTable(Table.Name pName)
Creates a new table with the given name in the schema.
Table getTable(Table.Name pName)
Returns the table with the given name or null, if no such table exists in the schema.
Table getTable(java.lang.String pName)
Returns the table with the given name or null, if no such table exists in the schema.
java.util.Iterator getTables()
Returns an Iterator
to all tables in the schema.