public interface IEssPartition extends IEssExtendedObject
Modifier and Type | Interface and Description |
---|---|
static interface |
IEssPartition.IEssPartitionInfo |
Modifier and Type | Method and Description |
---|---|
void |
alter(int setType,
java.lang.String oldName,
java.lang.String newName,
int prtDirType)
Performs sequence of steps to alter the partition.
|
void |
delete()
Performs sequence of steps to delete a Partition.
|
double |
getAreaCellCount(java.lang.String area)
Returns the cell count for the area
|
java.lang.String[] |
getSourceArea()
Get the area slices defined for source partition
|
java.lang.String[] |
getTargetArea()
Get the area slices defined for target partition
|
void |
save()
Performs sequence of steps to save the Partition by Creating/Updating the .ddb file
with the details of IEssPartition on the Cube.
|
void |
setArea(java.lang.String[] localPartionArea,
java.lang.String[] remotePartitionArea)
Sets the local and remote partition area
|
void |
setDescription(java.lang.String srcDescription,
java.lang.String targetDescription)
Sets the Description for Source and Target partition
|
void |
setLocalConnection(java.lang.String user,
java.lang.String password)
Sets the Local partition connection information.
|
void |
setLocalConnection(java.lang.String svrName,
java.lang.String user,
java.lang.String password)
Sets the Local partition connection information.
|
void |
setMemberMap(java.lang.String[] localMbrs,
java.lang.String[] remoteMbrs)
Sets the Member Mapping for a partition.
|
void |
setRemoteConnection(java.lang.String svrName,
java.lang.String appName,
java.lang.String dbName,
java.lang.String userName,
java.lang.String password)
Sets the remote partition connection information.
|
void |
setSliceMap(java.lang.String[] localMbrs,
java.lang.String[] remoteMbrs,
java.lang.String sliceName)
Sets the MemberMapping for Source and Target partition that are specific to a particular Slice
|
void |
validate()
Deprecated.
replaced with
validateEx() |
com.essbase.api.datasource.EssInvalidPartition[][] |
validateEx()
Performs sequence of steps to validate the partition.
|
clearClientCache, getName, getParent, getParentBase, isClientCachingEnabled, setClientCachingEnabled
static final short TYPE_REPLICATED
static final short TYPE_LINKED
static final short TYPE_TRANSPARENT
static final short TYPE_FEDERATED
static final short TYPE_LAZY_TRANSPARENT
static final short DIRECTION_DATA_SOURCE
static final short DIRECTION_DATA_TARGET
static final short DIRECTION_DATA_BOTH
static final short DIRECTION_METADATA_SOURCE
static final short DIRECTION_METADATA_TARGET
static final short DIRECTION_METADATA_BOTH
static final int ALTER_TYPE_SYSTEM
static final int ALTER_TYPE_APPLICATION
static final int ALTER_TYPE_DATABASE
static final int ALTER_TYPE_USER
static final int ALTER_SINGLE
static final int ALTER_ALL
static final short ESS_PARTITION_ALL
static final short ESS_PARTITION_NONE
static final int ESS_PARTITION_OTLDIM_ADD
static final int ESS_PARTITION_OTLDIM_DELETE
static final int ESS_PARTITION_OTLDIM_UPDATE
static final int ESS_PARTITION_OTLDIM_MOVE
static final int ESS_PARTITION_OTLDIM_RENAME
static final int ESS_PARTITION_OTLDIM_MBRCHG
static final int ESS_PARTITION_OTLDIM_ALL
static final int ESS_PARTITION_OTLMBR_ADD
static final int ESS_PARTITION_OTLMBR_DELETE
static final int ESS_PARTITION_OTLMBR_RENAME
static final int ESS_PARTITION_OTLMBR_MOVE
static final int ESS_PARTITION_OTLMBR_UPDATE
static final int ESS_PARTITION_OTLMBR_ALL
static final int ESS_PARTITION_OTLMBRATTR_STATUS
static final int ESS_PARTITION_OTLMBRATTR_ALIAS
static final int ESS_PARTITION_OTLMBRATTR_UCALC
static final int ESS_PARTITION_OTLMBRATTR_ATYPE
static final int ESS_PARTITION_OTLMBRATTR_CCONVERT
static final int ESS_PARTITION_OTLMBRATTR_CRMBRNAME
static final int ESS_PARTITION_OTLMBRATTR_UDA
static final int ESS_PARTITION_OTLMBRATTR_CALC
static final int ESS_PARTITION_OTLMBRATTR_LEVEL
static final int ESS_PARTITION_OTLMBRATTR_GENERATION
static final int ESS_PARTITION_OTLMBRATTR_ATTRIBUTE
static final int ESS_PARTITION_OTLMBRATTR_ALL
static final int ESS_ALLCHG
void setLocalConnection(java.lang.String user, java.lang.String password) throws com.essbase.api.base.EssException
user
- of the cube to which user is connectedpassword
- of the cube to which user is connectedcom.essbase.api.base.EssException
- if an error occurs.void setLocalConnection(java.lang.String svrName, java.lang.String user, java.lang.String password) throws com.essbase.api.base.EssException
svrName
- The hostname/url of the cube to which user is connecteduser
- of the cube to which user is connectedpassword
- of the cube to which user is connectedcom.essbase.api.base.EssException
- if an error occurs.void setRemoteConnection(java.lang.String svrName, java.lang.String appName, java.lang.String dbName, java.lang.String userName, java.lang.String password) throws com.essbase.api.base.EssException
svrName
- The hostname of target partitionappName
- The Application name of the remote cubedbName
- Database name of the remote cubeuserName
- The username of the remote cubepassword
- the password of the remote cubecom.essbase.api.base.EssException
- if an error occurs.void setArea(java.lang.String[] localPartionArea, java.lang.String[] remotePartitionArea) throws com.essbase.api.base.EssException
localPartionArea
- will set the partition area of the cube to which user is active againstremotePartitionArea
- will set the partition area of the cube with which user wants partition to pair with, it may be on same/different servercom.essbase.api.base.EssException
- if an error occurs.void setMemberMap(java.lang.String[] localMbrs, java.lang.String[] remoteMbrs) throws com.essbase.api.base.EssException
localMbrs
- will set the partition area of the cube to which user is active against
- This will set the global mapping for local cuberemoteMbrs
- will set the partition area of the cube with which user wants partition to pair with, it may be on same/different server
- This will set the global mapping for remote cubecom.essbase.api.base.EssException
- if an error occurs.void setSliceMap(java.lang.String[] localMbrs, java.lang.String[] remoteMbrs, java.lang.String sliceName) throws com.essbase.api.base.EssException
localMbrs
- will set the partition area of the cube to which user is active againstremoteMbrs
- will set the partition area of the cube with which user wants partition to pair with, it may be on same/different serversliceName
- sliceName should be one of the members from definitions given for the remote's map.
This will be used to set local mapping, which will override global mapping
This should be used after the setMemberMap. User had to ensure that setMemberMap has set the global values
This can be used to specify area level member mappingcom.essbase.api.base.EssException
- if an error occurs.void setDescription(java.lang.String srcDescription, java.lang.String targetDescription) throws com.essbase.api.base.EssException
srcDescription
- Source partition description.targetDescription
- Target partition description.com.essbase.api.base.EssException
- if an error occurs.void save() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.void delete() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.void validate() throws com.essbase.api.base.EssException
validateEx()
com.essbase.api.base.EssException
- if an error occurs.com.essbase.api.datasource.EssInvalidPartition[][] validateEx() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.void alter(int setType, java.lang.String oldName, java.lang.String newName, int prtDirType) throws com.essbase.api.base.EssException
setType
- is IEssPartition.ALTER_TYPE_SYSTEM to alter hostname,
IEssPartition.ALTER_TYPE_APPLICATION to alter appName,
IEssPartition.ALTER_TYPE_DATABASE to alter dbName,
IEssPartition.ALTER_TYPE_USER to connect as different partition user.oldName
- The old hostname.newName
- The new hostname.prtDirType
- IEssPartition.ALTER_SINGLE to alter source/target,
IEssPartition.ALTER_ALL to alter both source and target partitioncom.essbase.api.base.EssException
- if an error occurs.java.lang.String[] getSourceArea() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.java.lang.String[] getTargetArea() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.double getAreaCellCount(java.lang.String area) throws com.essbase.api.base.EssException
area
- region for which the cell count is requiredcom.essbase.api.base.EssException
- if an error occurs.