hce-node application
1.4.3
HCE Hierarchical Cluster Engine node application
Main Page
Namespaces
Classes
Files
File List
File Members
hce-node application
HCE project node model
Namespaces
Classes
Files
File List
sources
src
utils
algorithms
applicationFramework
asmXMLParser
base64
coreDumpChecker
DRCE
exec
HCECSM
jsonObjExtractor
kvdb
src
citrusleaf
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
tests
messageStream
reduceAdditionCore
reduceCore
reduceDRCE
reduceHandler
reduceSphinx
refine
serializable
sphinx
types
xmlCleaner
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Voldemort.hpp
Go to the documentation of this file.
1
15
#ifndef VOLDEMORT_DB_HPP
16
#define VOLDEMORT_DB_HPP
17
18
22
#include "
BaseDB.hpp
"
23
27
#include <list>
28
#include <string>
29
#include <iostream>
30
34
#include <Poco/SharedPtr.h>
35
39
#include "voldemort/voldemort.h"
40
41
42
namespace
HCE
43
{
44
45
46
class
VoldemortDB
:
public
BaseDB
47
{
48
public
:
49
VoldemortDB
();
50
virtual
~VoldemortDB
();
51
public
:
52
void
setDatabaseName
(
const
std::string&);
53
void
put
(
const
std::string&
key
,
const
std::string& value);
54
virtual
std::string
get
(
const
std::string&
key
);
55
virtual
std::vector<std::string>
get_all
();
56
virtual
void
del
(
const
std::string& key);
57
inline
int
getLastError
()
const
{
return
_error
;}
58
private
:
59
Voldemort::ClientConfig _config;
60
Poco::SharedPtr<Voldemort::SocketStoreClientFactory> _factory;
61
Poco::SharedPtr<Voldemort::StoreClient> _client;
62
};
63
64
65
}
66
67
68
#endif
sources
utils
kvdb
src
Voldemort.hpp
Generated on Tue Jun 30 2015 19:42:14 for hce-node application by
1.8.1.2