Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions common/redisclient.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,23 +32,23 @@ class RedisClient

std::vector<std::string> keys(std::string key);

//std::vector<std::string> hkeys(std::string key);
std::vector<std::string> hkeys(std::string key);

void set(std::string key, std::string value);

void hset(std::string key, std::string field, std::string value);

//void mset(std::unordered_map<std::string, std::string> map);
void mset(std::unordered_map<std::string, std::string> map);

//void hmset(std::string key, std::unordered_map<std::string, std::string> map);
void hmset(std::string key, std::unordered_map<std::string, std::string> map);

std::shared_ptr<std::string> get(std::string key);

std::shared_ptr<std::string> hget(std::string key, std::string field);

//std::vector<std::shared_ptr<std::string>> mget(std::vector<std::string> keys);
std::vector<std::shared_ptr<std::string>> mget(std::vector<std::string> keys);

//std::vector<std::shared_ptr<std::string>> hmget(std::string key, std::vector<std::string> fields);
std::vector<std::shared_ptr<std::string>> hmget(std::string key, std::vector<std::string> fields);

int64_t incr(std::string key);

Expand Down
2 changes: 0 additions & 2 deletions pyext/swsscommon.i
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include "redispipeline.h"
#include "redisselect.h"
#include "redistran.h"
#include "redisclient.h"
#include "producerstatetable.h"
#include "consumertablebase.h"
#include "consumerstatetable.h"
Expand Down Expand Up @@ -79,4 +78,3 @@
%clear std::vector<std::pair<std::string, std::string>> &values;

%include "notificationproducer.h"
%include "redisclient.h"