ESS_PART_INFO_T

This structure holds the multicube shared partition information.

typedef struct ESS_PART_INFO_T
{
   ESS_USHORT_T  OperationType;        
   ESS_USHORT_T  DataDirection;        
   ESS_SVRNAME_T SvrName;              
   ESS_APPNAME_T AppName;              
   ESS_DBNAME_T  DbName;               
   ESS_TIME_T    LastMetaUpdateTime;   
   ESS_TIME_T    LastRefreshTime;      	
   ESS_BOOL_T    partitionUpdatable;      	
   ESS_BOOL_T    IncrRefreshAllowed;   	
   ESS_TIME_T    LastUpdateTime;       
} ESS_PART_INFO_T, *ESS_PPART_INFO_T, **ESS_PPPART_INFO_T;

Data Type FieldDescriptions
ESS_USHORT_T OperationType Operation type supported by this partition.
ESS_USHORT_T DataDirection Remote connection information (is this the source or target side?).
ESS_SVRNAME_T SvrName Host for the other side of the partition definition.
ESS_APPNAME_T AppName Application for the other side of the partition definition.
ESS_DBNAME_T DbName Database for other side of the partition definition; meta data change information.
ESS_TIME_T LastMetaUpdateTime Last time meta data was updated.
The following fields only apply to replication data targets
ESS_TIME_T LastRefreshTime Last time data at target was refreshed.
ESS_BOOL_T partitionUpdatable Are changes allowed to replicated data?
The following fields only apply to replication data sources
ESS_BOOL_T IncrRefreshAllowed Can we refresh only the changed data?
ESS_TIME_T LastUpdateTime Time of last change to data in the partition.

Operation Type Constants

#define ESS_PARTITION_OP_REPLICATED	0x0001
#define ESS_PARTITION_OP_LINKED 	0x0002
#define ESS_PARTITION_OP_TRANSPARENT 	0x0004
#define ESS_PARTITION_OP_ALLTYPES 	(ESS_PARTITION_OP_REPLICATED |
					 ESS_PARTITION_OP_LINKED |
					 ESS_PARTITION_OP_TRANSPARENT)

Direction Constants

#define ESS_PARTITION_DATA_SOURCE 	0x0001
#define ESS_PARTITION_DATA_TARGET 	0x0002
#define ESS_PARTITION_DATA_BOTH 	(ESS_PARTITION_DATA_SOURCE |
					 ESS_PARTITION_DATA_TARGET)