SequoiaDB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Classes | Typedefs | Enumerations | Functions
sdbclient Namespace Reference

SequoiaDB Driver for C++. More...

Classes

class  sdbCursor
 Database operation interfaces of cursor. More...
 
class  sdbCollection
 Database operation interfaces of collection. More...
 
class  sdbNode
 Database operation interfaces of node. This class takes the place of class "sdbReplicaNode". More...
 
class  sdbReplicaGroup
 Database operation interfaces of replica group. More...
 
class  sdbCollectionSpace
 Database operation interfaces of collection space. More...
 
class  sdbDomain
 Database operation interfaces of domain. More...
 
class  sdbLob
 Database operation interfaces of large object. More...
 
class  sdb
 Database operation interfaces of admin. More...
 

Typedefs

typedef void(* ERROR_ON_REPLY_FUNC )(const CHAR *pErrorObj, UINT32 objSize, INT32 flag, const CHAR *pDescription, const CHAR *pDetail)
 
typedef class sdb sdb
 Class sdb definition for sdb.
 

Enumerations

enum  sdbNodeStatus
 

Functions

SDB_EXPORT void sdbSetErrorOnReplyCallback (ERROR_ON_REPLY_FUNC func)
 Set the callback function when reply message if error from server.
 
SDB_EXPORT INT32 initClient (sdbClientConf *config)
 set client global configuration such as cache strategy to improve performance
 

Detailed Description

SequoiaDB Driver for C++.

Typedef Documentation

typedef void(* sdbclient::ERROR_ON_REPLY_FUNC)(const CHAR *pErrorObj, UINT32 objSize, INT32 flag, const CHAR *pDescription, const CHAR *pDetail)

Callback function when the reply message is error

Enumeration Type Documentation

The status of the node.

Function Documentation

INT32 sdbclient::initClient ( sdbClientConf config)

set client global configuration such as cache strategy to improve performance

Parameters
[in]configThe configuration struct, see detail of sdbClientConf
Return values
SDB_OKOperation Success
OthersOperation Fail
INT32 sdbclient::sdbSetErrorOnReplyCallback ( ERROR_ON_REPLY_FUNC  func)

Set the callback function when reply message if error from server.

Parameters
[in]funcThe callback function when called on reply error