| Modifier and Type | Field and Description |
|---|---|
| private final ExtractionContext | |
| private final InformationExtractor | |
| private final JdbcEnvironment | |
| private final Map | |
| private final SqlStringGenerationContext |
| Access | Constructor and Description |
|---|---|
| public | DatabaseInformationImpl(ServiceRegistry serviceRegistry, JdbcEnvironment jdbcEnvironment, SqlStringGenerationContext sqlStringGenerationContext, DdlTransactionIsolator ddlTransactionIsolator, SchemaManagementTool tool)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | catalogExists(Identifier
The catalog name catalog)Implements org. |
| public void | |
| public SequenceInformation | getSequenceInformation(Identifier
The name of the catalog which contains the schema which the sequence belongs to catalogName, Identifier The name of the schema the sequence belongs to schemaName, Identifier The sequence name sequenceName)Implements org. |
| public SequenceInformation | getSequenceInformation(Namespace.
The name of the schema the table belongs to schemaName,The sequence name sequenceName)Implements org. |
| public SequenceInformation | getSequenceInformation(QualifiedSequenceName
The qualified sequence name sequenceName)Implements org. |
| public TableInformation | getTableInformation(Identifier
The name of the catalog which contains the schema which the table belongs to catalogName, Identifier The name of the schema the table belongs to schemaName, Identifier The table name tableName)Implements org. |
| public TableInformation | getTableInformation(Namespace.
The name of the schema the table belongs to namespace,The table name tableName)Implements org. |
| public TableInformation | getTableInformation(QualifiedTableName
The qualified table name tableName)Implements org. |
| public NameSpaceTablesInformation | getTablesInformation(Namespace
The namespace)Namespace which contains the TableInformationImplements org. TableInformation for a given Namespace
|
| private void | |
| public SequenceInformation | |
| public TableInformation | |
| public boolean | schemaExists(Namespace.
The schema name namespaceImplements org. |
| extractionContext | back to summary |
|---|---|
| private final ExtractionContext extractionContext | |
| extractor | back to summary |
|---|---|
| private final InformationExtractor extractor | |
| jdbcEnvironment | back to summary |
|---|---|
| private final JdbcEnvironment jdbcEnvironment | |
| sequenceInformationMap | back to summary |
|---|---|
| private final Map<QualifiedSequenceName, SequenceInformation> sequenceInformationMap | |
| sqlStringGenerationContext | back to summary |
|---|---|
| private final SqlStringGenerationContext sqlStringGenerationContext | |
| DatabaseInformationImpl | back to summary |
|---|---|
| public DatabaseInformationImpl(ServiceRegistry serviceRegistry, JdbcEnvironment jdbcEnvironment, SqlStringGenerationContext sqlStringGenerationContext, DdlTransactionIsolator ddlTransactionIsolator, SchemaManagementTool tool) throws SQLException | |
| catalogExists | back to summary |
|---|---|
| public boolean catalogExists(Identifier catalog) Implements org. Doc from org. Check to see if the given catalog already exists.
| |
| cleanup | back to summary |
|---|---|
| public void cleanup() Implements org.
| |
| getSequenceInformation | back to summary |
|---|---|
| public SequenceInformation getSequenceInformation(Identifier catalogName, Identifier schemaName, Identifier sequenceName) Implements org. Doc from org. Obtain reference to the named SequenceInformation
| |
| getSequenceInformation | back to summary |
|---|---|
| public SequenceInformation getSequenceInformation(Namespace. Implements org. Doc from org. Obtain reference to the named SequenceInformation
| |
| getSequenceInformation | back to summary |
|---|---|
| public SequenceInformation getSequenceInformation(QualifiedSequenceName sequenceName) Implements org. Doc from org. Obtain reference to the named SequenceInformation
| |
| getTableInformation | back to summary |
|---|---|
| public TableInformation getTableInformation(Identifier catalogName, Identifier schemaName, Identifier tableName) Implements org. Doc from org. Obtain reference to the named TableInformation
| |
| getTableInformation | back to summary |
|---|---|
| public TableInformation getTableInformation(Namespace. Implements org. Doc from org. Obtain reference to the named TableInformation
| |
| getTableInformation | back to summary |
|---|---|
| public TableInformation getTableInformation(QualifiedTableName tableName) Implements org. Doc from org. Obtain reference to the named TableInformation
| |
| getTablesInformation | back to summary |
|---|---|
| public NameSpaceTablesInformation getTablesInformation(Namespace namespace) Implements org. Doc from org. Obtain reference to all the
| |
| initializeSequences | back to summary |
|---|---|
| private void initializeSequences() throws SQLException | |
| locateSequenceInformation | back to summary |
|---|---|
| public SequenceInformation locateSequenceInformation(QualifiedSequenceName sequenceName) Implements org.
| |
| locateTableInformation | back to summary |
|---|---|
| public TableInformation locateTableInformation(QualifiedTableName tableName) Implements org.
| |
| schemaExists | back to summary |
|---|---|
| public boolean schemaExists(Namespace. Implements org. Doc from org. Check to see if the given schema already exists. | |