com.yahoo.ycsb
Class DBFactory

java.lang.Object
  extended by com.yahoo.ycsb.DBFactory

public class DBFactory
extends java.lang.Object

Creates a DB layer by dynamically classloading the specified DB class.


Constructor Summary
DBFactory()
           
 
Method Summary
static DB newDB(java.lang.String dbname, java.util.Properties properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBFactory

public DBFactory()
Method Detail

newDB

public static DB newDB(java.lang.String dbname,
                       java.util.Properties properties)
                throws UnknownDBException
Throws:
UnknownDBException