public abstract class RocksDBStore extends AbstractBackendStore<RocksDBSessions.Session>
| Modifier and Type | Class and Description |
|---|---|
static class |
RocksDBStore.RocksDBGraphStore |
static class |
RocksDBStore.RocksDBSchemaStore
Store defines
|
BackendStore.TxState| Modifier and Type | Field and Description |
|---|---|
protected static ConcurrentMap<String,RocksDBSessions> |
dbs |
| 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() |
void |
mutate(BackendMutation mutation) |
void |
open(HugeConfig config) |
protected RocksDBSessions |
open(HugeConfig config,
List<String> tableNames) |
protected RocksDBSessions |
open(HugeConfig config,
String dataPath,
String walPath,
List<String> tableNames) |
protected RocksDBSessions |
openSessionPool(HugeConfig config,
String dataPath,
String walPath,
List<String> tableNames) |
BackendStoreProvider |
provider() |
Iterator<BackendEntry> |
query(Query query) |
protected void |
registerTableManager(HugeType type,
RocksDBTable table) |
void |
rollbackTx() |
protected RocksDBSessions.Session |
session(HugeType tableType) |
String |
store() |
protected RocksDBTable |
table(HugeType type) |
protected Map<String,RocksDBSessions> |
tableDBMapping() |
protected List<String> |
tableNames() |
void |
truncate() |
protected String |
wrapPath(String path) |
metadata, metaDispatcher, registerMetaHandlerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCounter, increaseCounter, nextId, setCounterLowestprotected static final ConcurrentMap<String,RocksDBSessions> dbs
public RocksDBStore(BackendStoreProvider provider, String database, String store)
protected void registerTableManager(HugeType type, RocksDBTable table)
protected final RocksDBTable table(HugeType type)
table in class AbstractBackendStore<RocksDBSessions.Session>public String store()
public String database()
public BackendStoreProvider provider()
public BackendFeatures features()
public void open(HugeConfig config)
protected RocksDBSessions open(HugeConfig config, List<String> tableNames)
protected RocksDBSessions open(HugeConfig config, String dataPath, String walPath, List<String> tableNames)
protected RocksDBSessions openSessionPool(HugeConfig config, String dataPath, String walPath, List<String> tableNames) throws org.rocksdb.RocksDBException
org.rocksdb.RocksDBExceptionprotected Map<String,RocksDBSessions> tableDBMapping()
public void close()
public void mutate(BackendMutation mutation)
public Iterator<BackendEntry> query(Query query)
public void init()
public void clear()
public void truncate()
public void beginTx()
public void commitTx()
public void rollbackTx()
protected RocksDBSessions.Session session(HugeType tableType)
session in class AbstractBackendStore<RocksDBSessions.Session>Copyright © 2017–2019. All rights reserved.