ESS_PARTDEF_TYPE_T

This structure holds partition type-specific information.

typedef struct ESSPARTDEF_TYPE_T 
{
   ESS_USHORT_T		operation_type;            
   ESS_USHORT_T		direction_type;            
   ESS_BOOL_T		incr_refresh;              
   ESS_PARTDEF_MAP_T	partition_map;                
   ESS_PARTDEF_MAP_T	*slice_maps;                
   ESS_TIME_T		last_refreshed;            
   ESS_BOOL_T		updatable;                 
   ESS_CHAR_T		defaultuser[ESS_USERNAMELEN]; 
   ESS_CHAR_T		defaultpass[ESS_PASSWORDLEN]; 
} ESS_PARTDEF_TYPE_T, *ESS_PPARTDEF_TYPE_T, **ESS_PPPARTDEF_TYPE_T;

Data Type Field Descriptions
ESS_USHORT_T operation_type One of the Operation Type constants listed below.
ESS_USHORT_T direction_type One of the Direction constants listed below.
NOTE: fields marked as SVR: should only be modified by server code.
ESS_USHORT_T meta_direction_type Source of metadata identified by one of the Direction constants listed below.
The following fields are applicable for replication sources
ESS_BOOL_T incr_refresh SVR: incr. refresh allowed?
The following fields are applicable for all targets
ESS_PARTDEF_MAP_T partition_map Main shared partition member map.
ESS_PARTDEF_MAP_T slice_maps Slice-specific mappings.
The following fields are applicable to replication targets
ESS_TIME_T last_refreshed SVR: time of last refresh.
ESS_BOOL_T updatable Is data at target updatable?
The following fields are applicable to link targets
ESS_CHAR_T defaultuser [ESS_USERNAMELEN] Default username
ESS_CHAR_T defaultpass [ESS_PASSWORDLEN] Default password

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)