public interface Schema extends QueryPart
Modifier and Type | Method and Description |
---|---|
Catalog |
getCatalog()
The catalog of this schema.
|
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.
|
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.
|
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()
String getName()
java.util.stream.Stream<Table<?>> tableStream()
Table<?> getTable(String name)
null
if no such table exists.java.util.stream.Stream<UDT<?>> udtStream()
UDT<?> getUDT(String name)
null
if no such UDT exists.java.util.stream.Stream<Sequence<?>> sequenceStream()
Copyright © 2017. All Rights Reserved.