rasdaman complete source
|
#include <rasserver_entry.hh>
Public Member Functions | |
~RasServerEntry () | |
void | startRpcServer () throw ( r_Error ) |
void | stopRpcServer () |
void | compat_connectToDBMS () throw ( r_Error ) |
void | compat_connectNewClient (const char *capability) |
ClientTblElt * | getClientContext (unsigned long ClientId) |
void | compat_disconnectClient () |
void | compat_openDB (const char *databaseName) |
void | compat_closeDB () |
void | compat_beginTA (bool rw) |
void | compat_commitTA () |
void | compat_abortTA () |
bool | compat_isOpenTA () |
int | compat_executeQueryHttp (const char *httpParams, int httpParamsLen, char *&resultBuffer) |
r_OId | compat_getNewOId (unsigned short objType) |
int | compat_executeQueryRpc (const char *query, ExecuteQueryRes &queryResult) |
int | compat_getNextElement (char *&buffer, unsigned int &bufferSize) |
int | compat_endTransfer () |
int | compat_getNextMDD (r_Minterval &mddDomain, char *&typeName, char *&typeStructure, r_OId &oid, unsigned short ¤tFormat) |
int | compat_getNextTile (RPCMarray **rpcMarray) |
int | compat_ExecuteUpdateQuery (const char *query, ExecuteUpdateRes &returnStructure) |
int | compat_InitUpdate () |
int | compat_StartInsertTransMDD (const char *domain, int typeLength, const char *typeName) |
int | compat_InsertTile (int persistent, RPCMarray *) |
int | compat_EndInsertMDD (int persistent) |
int | compat_GetTypeStructure (const char *typeName, int typeType, char *&typeStructure) |
int | compat_StartInsertPersMDD (const char *collName, r_Minterval &mddDomain, int typeLength, const char *typeName, r_OId &oid) |
int | compat_InsertMDD (const char *collName, RPCMarray *rpcMarray, const char *typeName, r_OId &oid) |
int | compat_InsertCollection (const char *collName, const char *typeName, r_OId &oid) |
int | compat_DeleteCollByName (const char *collName) |
int | compat_DeleteObjByOId (r_OId &oid) |
int | compat_RemoveObjFromColl (const char *collName, r_OId &oid) |
int | compat_GetCollectionByName (const char *collName, char *&typeName, char *&typeStructure, r_OId &oid) |
int | compat_GetCollectionByName (r_OId oid, char *&typeName, char *&typeStructure, char *&collName) |
int | compat_GetCollectionOidsByName (const char *collName, char *&typeName, char *&typeStructure, r_OId &oid, RPCOIdEntry *&oidTable, unsigned int &oidTableSize) |
int | compat_GetCollectionOidsByOId (r_OId oid, char *&typeName, char *&typeStructure, RPCOIdEntry *&oidTable, unsigned int &oidTableSize, char *&collName) |
int | compat_GetObjectType (r_OId &oid, unsigned short &objType) |
int | compat_SetTransferFormat (int format, const char *params) |
int | compat_SetStorageFormat (int format, const char *params) |
r_OId | createCollection (const char *collName, const char *collTypeName) |
r_OId | createMDD (const char *collName, const char *mddTypeName, const char *definitionDomain, const char *tileDomain, bool rcindex) |
void | extendMDD (r_OId mddOId, const char *stripeDomain, const char *tileDomain) |
vector< r_Minterval > | getTileDomains (r_OId mddOId, const char *stripeDomain) |
Static Public Member Functions | |
static RasServerEntry & | getInstance () |
Public Attributes | |
unsigned long | currentClientIdx |
ClientTblElt * | currentClientContext |
RasServerEntry::~RasServerEntry | ( | ) |
void RasServerEntry::compat_abortTA | ( | ) |
void RasServerEntry::compat_beginTA | ( | bool | rw | ) |
void RasServerEntry::compat_closeDB | ( | ) |
void RasServerEntry::compat_commitTA | ( | ) |
void RasServerEntry::compat_connectNewClient | ( | const char * | capability | ) |
void RasServerEntry::compat_connectToDBMS | ( | ) | ||
throw | ( | r_Error | ||
) |
int RasServerEntry::compat_DeleteCollByName | ( | const char * | collName | ) |
int RasServerEntry::compat_DeleteObjByOId | ( | r_OId & | oid | ) |
void RasServerEntry::compat_disconnectClient | ( | ) |
int RasServerEntry::compat_EndInsertMDD | ( | int | persistent | ) |
int RasServerEntry::compat_endTransfer | ( | ) |
int RasServerEntry::compat_executeQueryHttp | ( | const char * | httpParams, |
int | httpParamsLen, | ||
char *& | resultBuffer | ||
) |
int RasServerEntry::compat_executeQueryRpc | ( | const char * | query, |
ExecuteQueryRes & | queryResult | ||
) |
int RasServerEntry::compat_ExecuteUpdateQuery | ( | const char * | query, |
ExecuteUpdateRes & | returnStructure | ||
) |
int RasServerEntry::compat_GetCollectionByName | ( | const char * | collName, |
char *& | typeName, | ||
char *& | typeStructure, | ||
r_OId & | oid | ||
) |
int RasServerEntry::compat_GetCollectionByName | ( | r_OId | oid, |
char *& | typeName, | ||
char *& | typeStructure, | ||
char *& | collName | ||
) |
int RasServerEntry::compat_GetCollectionOidsByName | ( | const char * | collName, |
char *& | typeName, | ||
char *& | typeStructure, | ||
r_OId & | oid, | ||
RPCOIdEntry *& | oidTable, | ||
unsigned int & | oidTableSize | ||
) |
int RasServerEntry::compat_GetCollectionOidsByOId | ( | r_OId | oid, |
char *& | typeName, | ||
char *& | typeStructure, | ||
RPCOIdEntry *& | oidTable, | ||
unsigned int & | oidTableSize, | ||
char *& | collName | ||
) |
r_OId RasServerEntry::compat_getNewOId | ( | unsigned short | objType | ) |
int RasServerEntry::compat_getNextElement | ( | char *& | buffer, |
unsigned int & | bufferSize | ||
) |
int RasServerEntry::compat_getNextMDD | ( | r_Minterval & | mddDomain, |
char *& | typeName, | ||
char *& | typeStructure, | ||
r_OId & | oid, | ||
unsigned short & | currentFormat | ||
) |
int RasServerEntry::compat_getNextTile | ( | RPCMarray ** | rpcMarray | ) |
int RasServerEntry::compat_GetObjectType | ( | r_OId & | oid, |
unsigned short & | objType | ||
) |
int RasServerEntry::compat_GetTypeStructure | ( | const char * | typeName, |
int | typeType, | ||
char *& | typeStructure | ||
) |
int RasServerEntry::compat_InitUpdate | ( | ) |
int RasServerEntry::compat_InsertCollection | ( | const char * | collName, |
const char * | typeName, | ||
r_OId & | oid | ||
) |
int RasServerEntry::compat_InsertMDD | ( | const char * | collName, |
RPCMarray * | rpcMarray, | ||
const char * | typeName, | ||
r_OId & | oid | ||
) |
int RasServerEntry::compat_InsertTile | ( | int | persistent, |
RPCMarray * | |||
) |
bool RasServerEntry::compat_isOpenTA | ( | ) |
void RasServerEntry::compat_openDB | ( | const char * | databaseName | ) |
int RasServerEntry::compat_RemoveObjFromColl | ( | const char * | collName, |
r_OId & | oid | ||
) |
int RasServerEntry::compat_SetStorageFormat | ( | int | format, |
const char * | params | ||
) |
int RasServerEntry::compat_SetTransferFormat | ( | int | format, |
const char * | params | ||
) |
int RasServerEntry::compat_StartInsertPersMDD | ( | const char * | collName, |
r_Minterval & | mddDomain, | ||
int | typeLength, | ||
const char * | typeName, | ||
r_OId & | oid | ||
) |
int RasServerEntry::compat_StartInsertTransMDD | ( | const char * | domain, |
int | typeLength, | ||
const char * | typeName | ||
) |
r_OId RasServerEntry::createCollection | ( | const char * | collName, |
const char * | collTypeName | ||
) |
r_OId RasServerEntry::createMDD | ( | const char * | collName, |
const char * | mddTypeName, | ||
const char * | definitionDomain, | ||
const char * | tileDomain, | ||
bool | rcindex | ||
) |
void RasServerEntry::extendMDD | ( | r_OId | mddOId, |
const char * | stripeDomain, | ||
const char * | tileDomain | ||
) |
ClientTblElt* RasServerEntry::getClientContext | ( | unsigned long | ClientId | ) |
|
static |
vector<r_Minterval> RasServerEntry::getTileDomains | ( | r_OId | mddOId, |
const char * | stripeDomain | ||
) |
void RasServerEntry::startRpcServer | ( | ) | ||
throw | ( | r_Error | ||
) |
void RasServerEntry::stopRpcServer | ( | ) |
ClientTblElt* RasServerEntry::currentClientContext |
unsigned long RasServerEntry::currentClientIdx |