public interface DatabaseInformation
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
catalogExists(Identifier catalog)
Check to see if the given catalog already exists. 
 | 
void | 
cleanup()  | 
SequenceInformation | 
getSequenceInformation(Identifier catalogName,
                      Identifier schemaName,
                      Identifier sequenceName)
Obtain reference to the named SequenceInformation 
 | 
SequenceInformation | 
getSequenceInformation(Namespace.Name schemaName,
                      Identifier sequenceName)
Obtain reference to the named SequenceInformation 
 | 
SequenceInformation | 
getSequenceInformation(QualifiedSequenceName sequenceName)
Obtain reference to the named SequenceInformation 
 | 
TableInformation | 
getTableInformation(Identifier catalogName,
                   Identifier schemaName,
                   Identifier tableName)
Obtain reference to the named TableInformation 
 | 
TableInformation | 
getTableInformation(Namespace.Name schemaName,
                   Identifier tableName)
Obtain reference to the named TableInformation 
 | 
TableInformation | 
getTableInformation(QualifiedTableName tableName)
Obtain reference to the named TableInformation 
 | 
NameSpaceTablesInformation | 
getTablesInformation(Namespace namespace)
Obtain reference to all the TableInformation) for a given {@link Namespace} 
 | 
boolean | 
schemaExists(Namespace.Name schema)
Check to see if the given schema already exists. 
 | 
boolean schemaExists(Namespace.Name schema)
schema - The schema nametrue indicates a schema with the given name already existsTableInformation getTableInformation(Identifier catalogName, Identifier schemaName, Identifier tableName)
catalogName - The name of the catalog which contains the schema which the table belongs toschemaName - The name of the schema the table belongs totableName - The table namenull if not found.TableInformation getTableInformation(Namespace.Name schemaName, Identifier tableName)
schemaName - The name of the schema the table belongs totableName - The table namenull if not found.TableInformation getTableInformation(QualifiedTableName tableName)
tableName - The qualfied table namenull if not found.NameSpaceTablesInformation getTablesInformation(Namespace namespace)
namespace - The Namespace which contains the {@link TableInformation)NameSpaceTablesInformationSequenceInformation getSequenceInformation(Identifier catalogName, Identifier schemaName, Identifier sequenceName)
catalogName - The name of the catalog which contains the schema which the sequence belongs toschemaName - The name of the schema the sequence belongs tosequenceName - The sequence namenull if not found.SequenceInformation getSequenceInformation(Namespace.Name schemaName, Identifier sequenceName)
schemaName - The name of the schema the table belongs tosequenceName - The sequence namenull if not found.SequenceInformation getSequenceInformation(QualifiedSequenceName sequenceName)
sequenceName - The qualified sequence namenull if not found.boolean catalogExists(Identifier catalog)
catalog - The catalog nametrue indicates a catalog with the given name already existsvoid cleanup()
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.