66 const char *settype,
const r_Minterval &dom,
unsigned int tsize );
75 const char* transferFormatParams = NULL,
77 const char* storageFormatParams = NULL
89 void init_share(
const char *collname,
const char *mddtype,
const char *settype );
static const char * format_update
Definition: partinsert.hh:109
Definition: transaction.hh:58
r_Partial_Insert(r_Database &usedb, const char *collname, const char *mddtype, const char *settype, const r_Storage_Layout &stl)
constructor receiving all necessary parameters. The storage layout is copied
int update(r_GMarray *mddPtr, r_Data_Format transferFormat=r_Array, const char *transferFormatParams=NULL, r_Data_Format storageFormat=r_Array, const char *storageFormatParams=NULL)
update the marray; no transaction should be activated, this is done internally.
r_Storage_Layout * mystl
the storage layout
Definition: partinsert.hh:102
r_Database & mydb
the database
Definition: partinsert.hh:100
char * setType
the set type name
Definition: partinsert.hh:98
void init_share(const char *collname, const char *mddtype, const char *settype)
shared init code
Definition: database.hh:60
r_Data_Format
Definition: mddtypes.hh:133
~r_Partial_Insert(void)
destructor
Definition: gmarray.hh:66
Definition: storagelayout.hh:70
Definition: mddtypes.hh:135
int doUpdate
do we have to do an insert or an update?
Definition: partinsert.hh:106
r_OId myOId
the marray's OId
Definition: partinsert.hh:92
r_Transaction myta
the transaction object
Definition: partinsert.hh:104
Definition: partinsert.hh:58
char * collName
the collection name
Definition: partinsert.hh:94
static const char * format_create
format strings for queries
Definition: partinsert.hh:108
char * mddType
the MDD type name
Definition: partinsert.hh:96
Definition: minterval.hh:249