public abstract class RocksDBStore extends Object implements com.baidu.hugegraph.backend.store.BackendStore
| 限定符和类型 | 类和说明 |
|---|---|
static class |
RocksDBStore.RocksDBGraphStore |
static class |
RocksDBStore.RocksDBSchemaStore
Store defines
|
| 构造器和说明 |
|---|
RocksDBStore(com.baidu.hugegraph.backend.store.BackendStoreProvider provider,
String database,
String name) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
beginTx() |
void |
clear() |
void |
close() |
void |
commitTx() |
String |
database() |
com.baidu.hugegraph.backend.store.BackendFeatures |
features() |
void |
init() |
<R> R |
metadata(com.baidu.hugegraph.type.HugeType type,
String meta,
Object[] args) |
void |
mutate(com.baidu.hugegraph.backend.store.BackendMutation mutation) |
String |
name() |
protected RocksDBSessions |
newSessions(com.baidu.hugegraph.config.HugeConfig config,
String data,
String wal,
List<String> tableNames) |
void |
open(com.baidu.hugegraph.config.HugeConfig config) |
protected RocksDBSessions |
open(String data,
String wal,
List<String> tbs) |
com.baidu.hugegraph.backend.store.BackendStoreProvider |
provider() |
Iterator<com.baidu.hugegraph.backend.store.BackendEntry> |
query(com.baidu.hugegraph.backend.query.Query query) |
protected void |
registerTableManager(com.baidu.hugegraph.type.HugeType type,
RocksDBTable table) |
void |
rollbackTx() |
protected RocksDBTable |
table(com.baidu.hugegraph.type.HugeType type) |
protected List<String> |
tableNames() |
protected void registerTableManager(com.baidu.hugegraph.type.HugeType type,
RocksDBTable table)
protected final RocksDBTable table(com.baidu.hugegraph.type.HugeType type)
public String database()
public String name()
name 在接口中 com.baidu.hugegraph.backend.store.BackendStorepublic com.baidu.hugegraph.backend.store.BackendStoreProvider provider()
provider 在接口中 com.baidu.hugegraph.backend.store.BackendStorepublic com.baidu.hugegraph.backend.store.BackendFeatures features()
features 在接口中 com.baidu.hugegraph.backend.store.BackendStorepublic void open(com.baidu.hugegraph.config.HugeConfig config)
open 在接口中 com.baidu.hugegraph.backend.store.BackendStoreprotected RocksDBSessions open(String data, String wal, List<String> tbs)
protected RocksDBSessions newSessions(com.baidu.hugegraph.config.HugeConfig config, String data, String wal, List<String> tableNames) throws org.rocksdb.RocksDBException
org.rocksdb.RocksDBExceptionpublic void close()
close 在接口中 com.baidu.hugegraph.backend.store.BackendStorepublic void mutate(com.baidu.hugegraph.backend.store.BackendMutation mutation)
mutate 在接口中 com.baidu.hugegraph.backend.store.BackendStorepublic Iterator<com.baidu.hugegraph.backend.store.BackendEntry> query(com.baidu.hugegraph.backend.query.Query query)
query 在接口中 com.baidu.hugegraph.backend.store.BackendStorepublic void init()
init 在接口中 com.baidu.hugegraph.backend.store.BackendStorepublic void clear()
clear 在接口中 com.baidu.hugegraph.backend.store.BackendStorepublic void beginTx()
beginTx 在接口中 com.baidu.hugegraph.backend.store.BackendStorepublic void commitTx()
commitTx 在接口中 com.baidu.hugegraph.backend.store.BackendStorepublic void rollbackTx()
rollbackTx 在接口中 com.baidu.hugegraph.backend.store.BackendStoreCopyright © 2017–2018. All rights reserved.