SequoiaDB
|
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 | sdbSequence |
Database operation interfaces of sequence. More... | |
class | sdb |
Database operation interfaces of admin. More... | |
class | sdbDataSourceConf |
The configure of sdb data source. More... | |
class | sdbDataSource |
The sdb data source. 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 |
enum | DATASOURCE_STRATEGY { DS_STY_SERIAL, DS_STY_RANDOM, DS_STY_LOCAL, DS_STY_BALANCE } |
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 | |
SequoiaDB Driver for C++.
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
enum enum sdbNodeStatus sdbclient::sdbNodeStatus |
The status of the node.
INT32 sdbclient::initClient | ( | sdbClientConf * | config | ) |
set client global configuration such as cache strategy to improve performance
[in] | config | The configuration struct, see detail of sdbClientConf |
SDB_OK | Operation Success |
Others | Operation Fail |
INT32 sdbclient::sdbSetErrorOnReplyCallback | ( | ERROR_ON_REPLY_FUNC | func | ) |
Set the callback function when reply message if error from server.
[in] | func | The callback function when called on reply error |