public interface Schema extends NamedQueryPart
Modifier and Type | Method and Description |
---|---|
String |
getName()
The name of this schema
|
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()
Deprecated.
- 2.3.0 - Do not reuse this method
|
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
|
internalAPI
compareTo
String getName()
getName
in interface NamedQueryPart
@Deprecated 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
Table<?> getTable(String name)
null
if no such table existsUDT<?> getUDT(String name)
null
if no such UDT existsCopyright © 2013. All Rights Reserved.