Package com.mapr.ycsb.db
Class MapRDBJavaClient
java.lang.Object
com.yahoo.ycsb.DB
com.mapr.ycsb.db.MapRDBJavaClient
public class MapRDBJavaClient
extends com.yahoo.ycsb.DB
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanup()intvoidinit()intintread(String tableName, String key, Set<String> fields, HashMap<String, com.yahoo.ycsb.ByteIterator> result) intscan(String tableName, String startkey, int recordcount, Set<String> fields, Vector<HashMap<String, com.yahoo.ycsb.ByteIterator>> result) intMethods inherited from class com.yahoo.ycsb.DB
getProperties, getProperty, getProperty, getPropertyBool, getPropertyBool, getPropertyDouble, getPropertyDouble, getPropertyInt, getPropertyInt, getPropertyLong, getPropertyLong, setProperties
-
Field Details
-
Ok
public static final int Ok- See Also:
-
ServerError
public static final int ServerError- See Also:
-
-
Constructor Details
-
MapRDBJavaClient
public MapRDBJavaClient()
-
-
Method Details
-
init
public void init()- Overrides:
initin classcom.yahoo.ycsb.DB
-
cleanup
public void cleanup() throws com.yahoo.ycsb.DBException- Overrides:
cleanupin classcom.yahoo.ycsb.DB- Throws:
com.yahoo.ycsb.DBException
-
scan
public int scan(String tableName, String startkey, int recordcount, Set<String> fields, Vector<HashMap<String, com.yahoo.ycsb.ByteIterator>> result) - Specified by:
scanin classcom.yahoo.ycsb.DB
-
read
public int read(String tableName, String key, Set<String> fields, HashMap<String, com.yahoo.ycsb.ByteIterator> result) - Specified by:
readin classcom.yahoo.ycsb.DB
-
update
- Specified by:
updatein classcom.yahoo.ycsb.DB
-
insert
- Specified by:
insertin classcom.yahoo.ycsb.DB
-
delete
- Specified by:
deletein classcom.yahoo.ycsb.DB
-