public abstract class RocksDBStore extends AbstractBackendStore<RocksDBSessions.Session>
| 限定符和类型 | 类和说明 |
|---|---|
static class |
RocksDBStore.RocksDBGraphStore |
static class |
RocksDBStore.RocksDBSchemaStore
Store defines
|
BackendStore.TxState| 构造器和说明 |
|---|
RocksDBStore(BackendStoreProvider provider,
String database,
String store) |
checkOpened, metadata, metaDispatcher, registerMetaHandler, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCounter, increaseCounter, isSchemaStore, nextId, setCounterLowestpublic RocksDBStore(BackendStoreProvider provider, String database, String store)
protected void registerTableManager(HugeType type, RocksDBTable table)
protected final RocksDBTable table(HugeType type)
table 在类中 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 boolean opened()
public void mutate(BackendMutation mutation)
public Iterator<BackendEntry> query(Query query)
public void init()
public void clear(boolean clearSpace)
public boolean initialized()
public void truncate()
public void beginTx()
public void commitTx()
public void rollbackTx()
protected RocksDBSessions.Session session(HugeType tableType)
public void writeSnapshot(String parentPath)
public void readSnapshot(String parentPath)
Copyright © 2017–2021. All rights reserved.