Interface Schema
- All Superinterfaces:
Metadata
Metadata for a Relational
Schema
.-
Method Summary
Modifier and TypeMethodDescriptiondefault void
Returns the ID of the database whichthis
Schema
belong to.Returns a list of all table-scopedIndex
es in this schema.default Set<? extends InvokedRoutine>
Returns allInvokedRoutine
s defined in this schema.Returns the tables inside theSchema
.
-
Method Details
-
getSchemaTemplate
- Returns:
- The
SchemaTemplate
from whichthis
Schema
is generated.
-
getDatabaseName
Returns the ID of the database whichthis
Schema
belong to.- Returns:
- The ID of the database which
this
Schema
belong to.
-
getTables
Returns the tables inside theSchema
.- Returns:
- The tables inside the
Schema
. - Throws:
RelationalException
- if the schema template is NoOpSchemaTemplate
-
getIndexes
@Nonnull default com.google.common.collect.Multimap<String,String> getIndexes() throws RelationalExceptionReturns a list of all table-scopedIndex
es in this schema.- Returns:
- a multi-map whose key is the
Table
name, and value(s) is theIndex
. - Throws:
RelationalException
- if something goes wrong.
-
getInvokedRoutines
Returns allInvokedRoutine
s defined in this schema.- Returns:
- A set of all
InvokedRoutine
s defined in this schema. - Throws:
RelationalException
- If there was an error retrieving the invoked routines from the catalog.
-
accept
-