com.microstrategy.web.objects.WebDBRole |
The WebDBRole interface represents a DB Role object in metadata. A DBRole object is a first class object.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract Integer |
getDBConnectionType()
Returns the type of DB being accessed.
| ||||||||||
abstract Integer |
getDBConnectionVersion()
Returns the version of the DB being accessed
| ||||||||||
abstract WebDBMS |
getDBMS()
Returns the
WebDBMS object used by this WebDBRole | ||||||||||
abstract Integer |
getDBRoleType()
Returns the type of DBRole being accessed.
| ||||||||||
abstract WebDBRole |
getDataMartDBInstance()
Returns a
WebDBRole pointing to a DB that this DBRole is
pointing to. | ||||||||||
abstract WebDBConnection |
getDefaultDBConnection()
Returns the
WebDBConnection object used by this WebDBRole | ||||||||||
abstract String |
getIntmdtStoreDBName()
Returns a String containing the name of the DB to store intermediate
tables
| ||||||||||
abstract String |
getIntmdtStoreTableSpaceName()
Returns the Table Space name used for intermediate table storage
| ||||||||||
abstract Integer | getMaxDBConnections() | ||||||||||
abstract Integer | getMaxDBCost() | ||||||||||
abstract int |
getODBCVersion()
Retrieve the ODBC version from the properties.
| ||||||||||
abstract WebDBRole |
getPrimaryDBInstance()
Returns the primary DB instance associated with this DBRole
| ||||||||||
abstract Integer |
getPriorityConnectionCount(int type)
Set the number of connections to the DB reserved for specified
priority jobs
| ||||||||||
abstract WebTableSource |
getTableSource()
Returns the
WebTableSource object used by this WebDBRole | ||||||||||
abstract boolean |
isForDataImport()
Return whether the DBRole will be used for DataImport
| ||||||||||
abstract void |
setDBConnectionType(int newType)
Changes the type of DB the DBRole will be connecting to
| ||||||||||
abstract void |
setDBConnectionVersion(int newVersion)
Set the new DB version type
| ||||||||||
abstract void |
setDBMS(WebDBMS dbms)
Associate
WebDBMS with this DBRole by object | ||||||||||
abstract void |
setDBRoleType(int newType)
Changes the type of DB the DBRole will be connecting to
| ||||||||||
abstract void |
setDataMartDBInstance(WebDBRole instance)
Sets the DBInstance that points to the same DB as this DBRole.
| ||||||||||
abstract void |
setDefaultDBConnection(WebDBConnection newConnection, boolean embed)
Sets the default DBConnection for this DBRole
| ||||||||||
abstract void |
setDefaultDBConnection(WebDBConnection newConnection)
Sets which new connection this DBRole will be using
| ||||||||||
abstract void |
setForDataImport(boolean isForDataImport)
Set whether this DBRole will be used for DataImport
| ||||||||||
abstract void |
setIntmdtStoreDBName(String newName)
Sets the prefix to be used for table names in this DBRole
| ||||||||||
abstract void |
setIntmdtStoreTableSpaceName(String newName)
Sets the new Table Space name for intermediate table storage
| ||||||||||
abstract void | setMaxDBConnections(int conns) | ||||||||||
abstract void | setMaxDBCost(int cost) | ||||||||||
abstract void |
setODBCVersion(int odbcVersion)
Set the ODBC version on the properties.
| ||||||||||
abstract void |
setPrimaryDBInstance(WebDBRole primary)
Sets the primary DBInstance for this DBRole
| ||||||||||
abstract void |
setPriorityConnectionCount(int type, int newCount)
Set the number of connections to the DB reserved for specified
priority jobs
| ||||||||||
abstract void |
setTableSource(WebTableSource tbs)
Associate
WebTableSource with this DBRole by object | ||||||||||
abstract String | toStringFull(String prefix) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Returns the type of DB being accessed.
EnumDSSXMLDatabaseType
Returns the version of the DB being accessed
EnumDSSXMLDatabaseVersion
Returns the type of DBRole being accessed.
EnumDSSXMLDatabaseType
Returns the WebDBConnection
object used by this WebDBRole
WebDBConnection
currently used by this DBRoleReturns a String containing the name of the DB to store intermediate tables
Returns the Table Space name used for intermediate table storage
Retrieve the ODBC version from the properties. This calls getPropertySets()
internally
so if the object is going to be populated prior to calling this method, it is best to populate with the flag
DssXmlObjectProperties
. This call can only be made to an object that already
exists in the metadata.
EnumWebODBCVersion
WebObjectsException |
---|
Returns the primary DB instance associated with this DBRole
WebDBRole
acting as primary DBInstance for this
DBRoleSet the number of connections to the DB reserved for specified priority jobs
type | Integer from EnumXmlPriorityType depicting what
priority will be set |
---|
Returns the WebTableSource
object used by this WebDBRole
WebTableSource
associated with this DBRoleReturn whether the DBRole will be used for DataImport
Changes the type of DB the DBRole will be connecting to
newType | integer representing the type of the new DB to be accessed
by this DBRole from EnumDSSXMLDatabaseType |
---|
Set the new DB version type
newVersion | integer representing a version type from
EnumDSSXMLDatabaseVersion |
---|
Changes the type of DB the DBRole will be connecting to
newType | integer representing the type of the new DB to be accessed
by this DBRoleType from EnumDSSXMLDatabaseType |
---|
Sets the DBInstance that points to the same DB as this DBRole. Used for Data Mart optimization
instance | WebDBRole pointing to the new Data Mart DBInstance |
---|
IllegalArgumentException |
---|
Sets the default DBConnection for this DBRole
newConnection | WebDBConnection representing the connection parameters to be used |
---|
Sets which new connection this DBRole will be using
newConnection | WebDBConnection specifying the new connection to be
used |
---|
IllegalArgumentException |
---|
Set whether this DBRole will be used for DataImport
isForDataImport | boolean |
---|
Sets the prefix to be used for table names in this DBRole
newName | String containing the new prefix |
---|
Sets the new Table Space name for intermediate table storage
newName | String containing new Table Space name |
---|
conns | integer specifying Maximum number of physical connections allowed |
---|
cost | integer Maximum query load allowed |
---|
Set the ODBC version on the properties. This calls getPropertySets()
internally
so if the object is going to be populated prior to calling this method, it is best to populate with the flag
DssXmlObjectProperties
. This call can only be made to an object that already
exists in the metadata.
odbcVersion | int from EnumWebODBCVersion |
---|
WebObjectsException | |
WebObjectsException |
Sets the primary DBInstance for this DBRole
primary | WebDBRole pointing to new primary DBInstance |
---|
Set the number of connections to the DB reserved for specified priority jobs
type | Integer from EnumXmlPriorityType depicting what
priority will be set |
---|---|
newCount | Integer number of connections allowed for the specified priority |
IllegalArgumentException |
---|
Associate WebTableSource
with this DBRole by object
tbs | WebTableSource to be associated |
---|
IllegalArgumentException |
---|