rasdaman API
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
r_Partial_Insert Class Reference

#include <partinsert.hh>

Public Member Functions

 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 More...
 
 r_Partial_Insert (r_Database &usedb, const char *collname, const char *mddtype, const char *settype, const r_Minterval &dom, unsigned int tsize)
 alternative constructor for regular tiling More...
 
 r_Partial_Insert (const r_Partial_Insert &src)
 copy constructor More...
 
 ~r_Partial_Insert (void)
 destructor More...
 
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. More...
 

Protected Member Functions

void init_share (const char *collname, const char *mddtype, const char *settype)
 shared init code More...
 

Protected Attributes

r_OId myOId
 the marray's OId More...
 
char * collName
 the collection name More...
 
char * mddType
 the MDD type name More...
 
char * setType
 the set type name More...
 
r_Databasemydb
 the database More...
 
r_Storage_Layoutmystl
 the storage layout More...
 
r_Transaction myta
 the transaction object More...
 
int doUpdate
 do we have to do an insert or an update? More...
 

Static Protected Attributes

static const char * format_create
 format strings for queries More...
 
static const char * format_update
 

Constructor & Destructor Documentation

r_Partial_Insert::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

r_Partial_Insert::r_Partial_Insert ( r_Database usedb,
const char *  collname,
const char *  mddtype,
const char *  settype,
const r_Minterval dom,
unsigned int  tsize 
)

alternative constructor for regular tiling

r_Partial_Insert::r_Partial_Insert ( const r_Partial_Insert src)

copy constructor

r_Partial_Insert::~r_Partial_Insert ( void  )

destructor

Member Function Documentation

void r_Partial_Insert::init_share ( const char *  collname,
const char *  mddtype,
const char *  settype 
)
protected

shared init code

int r_Partial_Insert::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.

Member Data Documentation

char* r_Partial_Insert::collName
protected

the collection name

int r_Partial_Insert::doUpdate
protected

do we have to do an insert or an update?

const char* r_Partial_Insert::format_create
staticprotected

format strings for queries

const char* r_Partial_Insert::format_update
staticprotected
char* r_Partial_Insert::mddType
protected

the MDD type name

r_Database& r_Partial_Insert::mydb
protected

the database

r_OId r_Partial_Insert::myOId
protected

the marray's OId

r_Storage_Layout* r_Partial_Insert::mystl
protected

the storage layout

r_Transaction r_Partial_Insert::myta
protected

the transaction object

char* r_Partial_Insert::setType
protected

the set type name


The documentation for this class was generated from the following file: