Skip to content
Snippets Groups Projects
Commit dfe7ccbf authored by Robert Lehmann's avatar Robert Lehmann Committed by Robert Lehmann
Browse files

fixed stub implementation of redis backend

parent b17865ac
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,10 @@ package com.yahoo.ycsb.db;
import com.yahoo.ycsb.DB;
import com.yahoo.ycsb.DBException;
import java.util.HashMap;
import java.util.Set;
import java.util.Vector;
public class RedisClient extends DB {
public void init() throws DBException {
}
......@@ -14,23 +18,28 @@ public class RedisClient extends DB {
@Override
public int read(String table, String key, Set<String> fields,
HashMap<String, String> result) {
return 0;
}
@Override
public int insert(String table, String key, HashMap<String, String> values) {
return 0;
}
@Override
public int delete(String table, String key) {
return 0;
}
@Override
public int update(String table, String key, HashMap<String, String> values) {
return 0;
}
@Override
public int scan(String table, String startkey, int recordcount,
Set<String> fields, Vector<HashMap<String, String>> result) {
return 0;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment