Interface Schema
- All Superinterfaces:
Metadata
Metadata for a Relational
Schema
.-
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 the schema template.- Returns:
- a multi-map whose key is the
Table
name, and value(s) is theIndex
. - Throws:
RelationalException
- if something goes wrong.
-
accept
-