public interface Catalog extends NamedObject, AttributedObject, DescribedObject, Reducible
Modifier and Type | Method and Description |
---|---|
Collection<ColumnDataType> |
getColumnDataTypes()
Gets the column data types
|
Collection<ColumnDataType> |
getColumnDataTypes(Schema schema)
Gets the column data types defined in the schema, by name.
|
CrawlInfo |
getCrawlInfo() |
DatabaseInfo |
getDatabaseInfo() |
Collection<DatabaseUser> |
getDatabaseUsers()
Gets the database users
|
JdbcDriverInfo |
getJdbcDriverInfo() |
Collection<Routine> |
getRoutines()
Gets the routine.
|
Collection<Routine> |
getRoutines(Schema schema)
Gets the routine.
|
Collection<Routine> |
getRoutines(Schema schema,
String routineName)
Gets a routine by unqualified name.
|
Collection<Schema> |
getSchemas()
Gets the schemas.
|
Collection<Sequence> |
getSequences()
Gets the sequences.
|
Collection<Sequence> |
getSequences(Schema schema)
Gets the sequences.
|
Collection<Synonym> |
getSynonyms()
Gets the synonyms.
|
Collection<Synonym> |
getSynonyms(Schema schema)
Gets the synonyms.
|
Collection<ColumnDataType> |
getSystemColumnDataTypes()
Gets the column data types defined by the RDBMS system.
|
Collection<Table> |
getTables()
Gets the tables.
|
Collection<Table> |
getTables(Schema schema)
Gets the tables.
|
Optional<Column> |
lookupColumn(Schema schema,
String tableName,
String name)
Gets a table column by unqualified name.
|
<C extends ColumnDataType> |
lookupColumnDataType(Schema schema,
String dataTypeName)
Gets the column data types defined in the schema, by name.
|
<S extends Schema> |
lookupSchema(String name)
Gets a schema by name.
|
<S extends Sequence> |
lookupSequence(Schema schema,
String sequenceName)
Gets the sequence by unqualified name.
|
<S extends Synonym> |
lookupSynonym(Schema schema,
String synonymName)
Gets the synonym by unqualified name.
|
<C extends ColumnDataType> |
lookupSystemColumnDataType(String name)
Gets the column data types defined by the RDBMS system, by name.
|
<T extends Table> |
lookupTable(Schema schema,
String tableName)
Gets a table by unqualified name.
|
getFullName, getName, key
compareTo
getAttribute, getAttribute, getAttributes, hasAttribute, lookupAttribute, removeAttribute, setAttribute
getRemarks, hasRemarks, setRemarks
Collection<ColumnDataType> getColumnDataTypes()
Collection<ColumnDataType> getColumnDataTypes(Schema schema)
CrawlInfo getCrawlInfo()
DatabaseInfo getDatabaseInfo()
Collection<DatabaseUser> getDatabaseUsers()
JdbcDriverInfo getJdbcDriverInfo()
Collection<Routine> getRoutines()
Collection<Routine> getRoutines(Schema schema)
Collection<Routine> getRoutines(Schema schema, String routineName)
schema
- SchemaroutineName
- Unqualified routine nameCollection<Schema> getSchemas()
Collection<Sequence> getSequences()
Collection<Sequence> getSequences(Schema schema)
Collection<Synonym> getSynonyms()
Collection<Synonym> getSynonyms(Schema schema)
Collection<ColumnDataType> getSystemColumnDataTypes()
Collection<Table> getTables()
Collection<Table> getTables(Schema schema)
Optional<Column> lookupColumn(Schema schema, String tableName, String name)
schema
- SchematableName
- Unqualified table namename
- Unqualified column name<C extends ColumnDataType> Optional<C> lookupColumnDataType(Schema schema, String dataTypeName)
schema
- SchemadataTypeName
- Unqualified column data-type name<S extends Schema> Optional<S> lookupSchema(String name)
name
- Schema name<S extends Sequence> Optional<S> lookupSequence(Schema schema, String sequenceName)
schema
- SchemasequenceName
- Unqualified sequence name<S extends Synonym> Optional<S> lookupSynonym(Schema schema, String synonymName)
schema
- SchemasynonymName
- Unqualified synonym name<C extends ColumnDataType> Optional<C> lookupSystemColumnDataType(String name)
name
- Column data type nameCopyright © 2000-2021 Sualeh Fatehi. All rights reserved.