|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Schema
An entity representing a database schema
Method Summary | |
---|---|
Sequence<?> |
getSequence(String name)
Get a sequence by its name (case-sensitive) in this schema, or null if no such sequence exists |
List<Sequence<?>> |
getSequences()
List all sequences contained in this schema |
Table<?> |
getTable(String name)
Get a table by its name (case-sensitive) in this schema, or null if no such table exists |
List<Table<?>> |
getTables()
List all tables contained in this schema |
Map<String,Class<?>> |
getTypeMapping()
The complete type mapping for this schema. |
UDT<?> |
getUDT(String name)
Get a UDT by its name (case-sensitive) in this schema, or null if no such UDT exists |
List<UDT<?>> |
getUDTs()
List all UDTs contained in this schema |
Methods inherited from interface org.jooq.NamedQueryPart |
---|
getName |
Methods inherited from interface org.jooq.Attachable |
---|
attach |
Methods inherited from interface org.jooq.Adapter |
---|
internalAPI |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
Map<String,Class<?>> getTypeMapping()
This method returns all generated types involved with this schema. The
result can be used in ResultSet.getObject(int, Map)
and similar
methods.
for a UDT-specific type mapping
List<Table<?>> getTables()
Table<?> getTable(String name)
null
if no such table exists
List<UDT<?>> getUDTs()
UDT<?> getUDT(String name)
null
if no such UDT exists
List<Sequence<?>> getSequences()
Sequence<?> getSequence(String name)
null
if no such sequence exists
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |