public final class LevelDBUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DB_FACTORY_PROPERTY
The name of a system property that can be set to override the default
DBFactory logic. |
static String |
LEVELDB_CLASS_NAME
Class name for the
DBFactory provided by leveldb. |
static String |
LEVELDBJNI_CLASS_NAME
Class name for the
DBFactory provided by leveldbjni. |
public static final String LEVELDBJNI_CLASS_NAME
DBFactory provided by leveldbjni.public static final String LEVELDB_CLASS_NAME
DBFactory provided by leveldb.public static final String DB_FACTORY_PROPERTY
DBFactory logic.
Set to the name of a class that implements DBFactory and has a zero-arg constructor.public static org.iq80.leveldb.DBFactory getDefaultDBFactory()
DBFactory.
This method first tries the class specified by the DB_FACTORY_PROPERTY system property, if any,
then leveldbjni, and finally
leveldb.
DBFactory instanceRuntimeException - if no suitable DBFactory class can be found and instantiatedCopyright © 2016. All rights reserved.