From bd99422f83ca86d333bc167090fb03de5092a708 Mon Sep 17 00:00:00 2001
From: Luc Boudreau 2.2.2. The OlapConnection interface
Methods:
String getDatabase()
// returns the name of the current databasevoid setDatabase(String databaseName)
// sets this connection's current databaseDatabase getOlapDatabase()
// returns the current databaseNamedList<Database> getOlapDatabases()
// returns a list of all databasesString getCatalog()
// returns the name of the current catalog (inherited from Connection)void setCatalog(String catalogName)
// sets this connection's current catalogCatalog getOlapCatalog()
// returns the current catalog objectNamedList<Catalog> getOlapCatalogs()
// returns a list of all catalogsDatabase getOlapDatabase()
// returns the current databaseNamedList<Database> getOlapDatabases()
// returns a list of all databasesString getSchema()
// returns the name of the current schemavoid setSchema(String schemaName)
// sets this connection's current schemaSchema getOlapSchema()
// returns the current schema objectNamedList<Schema> getOlapSchema()
// returns a list of all schemasNamedList<Schema> getOlapSchemas()
// returns a list of all schemasOlapDatabaseMetaData getMetaData()
// returns an object that contains metadata about the databasevoid setLocale(Locale locale)
// sets this connection's localeLocale getLocale()
// returns this connection's localevoid setLocale(Locale locale)
// sets this connection's localevoid setRoleName(String roleName)
// sets the name of the role in which access-control context this connection will execute queriesString getRoleName()
// returns the name of the role in which access-control context this connection will execute queriesList<String> getAvailableRoleNames()
// returns a list of role names available in this connectionPreparedOlapStatement prepareOlapStatement(String mdx)
// prepares a statementcreateStatement createStatement(String mdx)
// creates a statement (overrides Connection method)List<String> getAvailableRoleNames()
// returns a list of role names available in this connectionScenario createScenario()
// creates a scenariovoid setScenario(Scenario scenario)
// sets the current scenario for this connectionScenario getScenario()
// returns the current scenario for this connectionMethods:
OlapConnection()
// returns the current connectionOlapConnection getOlapConnection()
// returns the current connectionString getName()
// returns the name of this databaseNamedList<Catalog> getCatalogs()
// returns a list of catalogs in this databaseString getDescription()
// returns the description of this databaseString getURL()
// returns the redirection URL, if this database is a proxy to another serverString getDataSourceInfo()
// returns provider-specific informationString getProviderName()
// returns the name of the underlying OLAP providerList<ProviderType> getProviderTypes()
// returns the types of data that are supported by this providerList<AuthenticationMode> getAuthenticationModes()
// returns the modes of authentication that are supported by this providerNamedList<Catalog> getCatalogs()
// returns a list of catalogs in this database