public interface Schema extends QueryPart
Modifier and Type | Method and Description |
---|---|
Catalog |
getCatalog()
The catalog of this schema.
|
java.lang.String |
getName()
The name of this schema.
|
Name |
getQualifiedName()
The qualified name of this schema.
|
Sequence<?> |
getSequence(java.lang.String name)
Get a sequence by its name (case-sensitive) in this schema, or
null if no such sequence exists. |
java.util.List<Sequence<?>> |
getSequences()
List all sequences contained in this schema.
|
Table<?> |
getTable(java.lang.String name)
Get a table by its name (case-sensitive) in this schema, or
null if no such table exists. |
java.util.List<Table<?>> |
getTables()
List all tables contained in this schema.
|
UDT<?> |
getUDT(java.lang.String name)
Get a UDT by its name (case-sensitive) in this schema, or
null if no such UDT exists. |
java.util.List<UDT<?>> |
getUDTs()
List all UDTs contained in this schema.
|
Name |
getUnqualifiedName()
The unqualified name of this schema.
|
java.util.stream.Stream<Sequence<?>> |
sequenceStream()
Stream all sequences contained in this schema.
|
java.util.stream.Stream<Table<?>> |
tableStream()
Stream all tables contained in this schema.
|
java.util.stream.Stream<UDT<?>> |
udtStream()
Stream all UDTs contained in this schema.
|
Catalog getCatalog()
java.lang.String getName()
Name getQualifiedName()
Name getUnqualifiedName()
java.util.stream.Stream<Table<?>> tableStream()
java.util.List<Table<?>> getTables()
Table<?> getTable(java.lang.String name)
null
if no such table exists.java.util.stream.Stream<UDT<?>> udtStream()
java.util.List<UDT<?>> getUDTs()
UDT<?> getUDT(java.lang.String name)
null
if no such UDT exists.java.util.stream.Stream<Sequence<?>> sequenceStream()
java.util.List<Sequence<?>> getSequences()
Sequence<?> getSequence(java.lang.String name)
null
if no such sequence exists.Copyright © 2018. All Rights Reserved.