public abstract class RocksDBStore extends Object implements BackendStore
| Modifier and Type | Class and Description |
|---|---|
static class |
RocksDBStore.RocksDBGraphStore |
static class |
RocksDBStore.RocksDBSchemaStore
Store defines
|
BackendStore.TxState| Constructor and Description |
|---|
RocksDBStore(BackendStoreProvider provider,
String database,
String store) |
| Modifier and Type | Method and Description |
|---|---|
void |
beginTx() |
void |
clear() |
void |
close() |
void |
commitTx() |
String |
database() |
BackendFeatures |
features() |
void |
init() |
<R> R |
metadata(HugeType type,
String meta,
Object[] args) |
void |
mutate(BackendMutation mutation) |
void |
open(HugeConfig config) |
protected RocksDBSessions |
open(HugeConfig config,
String dataPath,
List<String> tableNames) |
protected RocksDBSessions |
openSessionPool(HugeConfig config,
List<String> tableNames) |
BackendStoreProvider |
provider() |
Iterator<BackendEntry> |
query(Query query) |
protected void |
registerTableManager(HugeType type,
RocksDBTable table) |
void |
rollbackTx() |
String |
store() |
protected RocksDBTable |
table(HugeType type) |
protected List<String> |
tableNames() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnextIdpublic RocksDBStore(BackendStoreProvider provider, String database, String store)
protected void registerTableManager(HugeType type, RocksDBTable table)
protected final RocksDBTable table(HugeType type)
public String store()
store in interface BackendStorepublic String database()
database in interface BackendStorepublic BackendStoreProvider provider()
provider in interface BackendStorepublic BackendFeatures features()
features in interface BackendStorepublic void open(HugeConfig config)
open in interface BackendStoreprotected RocksDBSessions open(HugeConfig config, String dataPath, List<String> tableNames)
protected RocksDBSessions openSessionPool(HugeConfig config, List<String> tableNames) throws org.rocksdb.RocksDBException
org.rocksdb.RocksDBExceptionpublic void close()
close in interface BackendStorepublic void mutate(BackendMutation mutation)
mutate in interface BackendStorepublic Iterator<BackendEntry> query(Query query)
query in interface BackendStorepublic void init()
init in interface BackendStorepublic void clear()
clear in interface BackendStorepublic void beginTx()
beginTx in interface BackendStorepublic void commitTx()
commitTx in interface BackendStorepublic void rollbackTx()
rollbackTx in interface BackendStorepublic <R> R metadata(HugeType type, String meta, Object[] args)
metadata in interface BackendStoreCopyright © 2017–2018. All rights reserved.