HCE project C++ developers source code library
1.1.1
HCE project developer library
Main Page
Namespaces
Classes
Files
File List
File Members
HCE project C++ developers source code library
HCE project C++ developer source code library
Namespaces
Classes
Files
File List
sources
algorithms
applicationFramework
asmXMLParser
base64
coreDumpChecker
DRCE
exec
HCECSM
jsonObjExtractor
kvdb
src
Exceptions
Aerospike.cpp
Aerospike.hpp
BaseDB.hpp
DataBaseDriverConfig.cpp
DataBaseDriverConfig.hpp
Errors.hpp
FakeDB.hpp
HCETimer.hpp
LevelDB.cpp
LevelDB.hpp
ORMFunctionalObject.cpp
ORMFunctionalObject.hpp
Response.hpp
Voldemort.cpp
Voldemort.hpp
messageStream
reduceAdditionCore
reduceCore
reduceDRCE
reduceHandler
reduceSphinx
refine
serializable
sphinx
types
xmlCleaner
main.cpp
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Aerospike.hpp
Go to the documentation of this file.
1
15
#ifndef AEROSPIKE_DB_HPP
16
#define AEROSPIKE_DB_HPP
17
18
19
#include <string>
20
#include <Poco/URI.h>
21
#include "
BaseDB.hpp
"
22
23
#include "citrusleaf/citrusleaf.h"
24
25
26
namespace
HCE {
27
28
class
AerospikeDB
:
public
BaseDB
{
29
public
:
30
AerospikeDB
();
31
virtual
~AerospikeDB
();
32
public
:
33
void
setDriverUrl
(
const
std::string & dbUrl);
34
void
put
(
const
std::string&,
const
std::string&);
35
std::string
get
(
const
std::string&);
36
virtual
std::vector<std::string>
get_all
();
37
void
del
(
const
std::string&);
38
inline
int
getLastError
()
const
{
return
_error
; }
39
private
:
40
cl_cluster *_clc;
41
private
:
42
enum
{TIMEOUT=2000};
43
enum
{DEFAULT_DOCUMENT=0};
44
const
std::string docs[1] = {
"document"
};
45
enum
{DEFAULT_SET=0};
46
const
std::string sets[1] = {
"default_set"
};
47
};
48
49
}
50
51
52
#endif //AEROSPIKE_DB_HPP
sources
kvdb
src
Aerospike.hpp
Generated on Mon Jan 13 2014 13:08:37 for HCE project C++ developers source code library by
1.8.1.2