| java.lang.Object org.continuent.sequoia.controller.backend.DatabaseBackendMetaData
DatabaseBackendMetaData | public DatabaseBackendMetaData(AbstractConnectionManager connectionManager, Trace logger, int dynamicPrecision, boolean gatherSystemTables, String vdbName, String schemaName)(Code) | | Creates a new DatabaseBackendMetaData instance. This class
takes care of initializing the connection manager if needed but the driver
must have been previously loaded else the connection manager's
initialization will fail.
Parameters: connectionManager - the connection manager to gather the schema from Parameters: logger - the logger (usually the backend logger) to use Parameters: dynamicPrecision - the precision with which we gather a schemadirectly from the backend Parameters: gatherSystemTables - true if system tables must be gathered Parameters: vdbName - the virtual database name this schema represents Parameters: schemaName - schema name to use to retrieve information |
createDatabaseSchemaDynamically | public void createDatabaseSchemaDynamically() throws SQLException(Code) | | Gets the list of tables of a database and add them to the database schema.
The caller must ensure that the parameters are not null .
exception: SQLException - if an error occurs |
retrieveDatabaseMetadata | public MetadataContainer retrieveDatabaseMetadata() throws SQLException(Code) | | Retrieve metadata from a connection on this backend and build the
("getDataXXX(Y,Z,...)", value) hash table. Note that some values are
overriden with Sequoia specific features (add-ons or limitations).
a metadata container including all metadata values throws: SQLException - if an error occurs |
|
|