|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Schema
Database schema Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves. This interface is not intended to be implemented by clients.
Method Summary | |
---|---|
boolean |
containsSequenceNamed(java.lang.String name)
Return whether the schema contains a sequence with the specified name, respecting the database's case-sensitivity. |
boolean |
containsTableNamed(java.lang.String name)
Return whether the schema contains a table with the specified name, respecting the database's case-sensitivity. |
java.lang.String |
getName()
Return the schema's name. |
Sequence |
sequenceNamed(java.lang.String name)
Return the sequence in the schema with the specified name, respecting the database's case-sensitivity. |
java.util.Iterator<java.lang.String> |
sequenceNames()
Return the names of the schema's sequences. |
java.util.Iterator<Sequence> |
sequences()
Return the schema's sequences. |
int |
sequencesSize()
Return the number of sequences the schema contains. |
Table |
tableNamed(java.lang.String name)
Return the table in the schema with the specified name, respecting the database's case-sensitivity. |
java.util.Iterator<java.lang.String> |
tableNames()
Return the names of the schema's tables. |
java.util.Iterator<Table> |
tables()
Return the schema's tables. |
int |
tablesSize()
Return the number of tables the schema contains. |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
java.lang.String getName()
java.util.Iterator<Table> tables()
int tablesSize()
java.util.Iterator<java.lang.String> tableNames()
boolean containsTableNamed(java.lang.String name)
Table tableNamed(java.lang.String name)
java.util.Iterator<Sequence> sequences()
int sequencesSize()
java.util.Iterator<java.lang.String> sequenceNames()
boolean containsSequenceNamed(java.lang.String name)
Sequence sequenceNamed(java.lang.String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |