public abstract class CassandraStore extends AbstractBackendStore<CassandraSessionPool.Session>
| 限定符和类型 | 类和说明 |
|---|---|
static class |
CassandraStore.CassandraGraphStore |
static class |
CassandraStore.CassandraSchemaStore
Store defines
|
BackendStore.TxState| 构造器和说明 |
|---|
CassandraStore(BackendStoreProvider provider,
String keyspace,
String store) |
checkOpened, metadata, metaDispatcher, registerMetaHandler, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCounter, increaseCounter, isSchemaStore, nextId, readSnapshot, setCounterLowest, writeSnapshotpublic CassandraStore(BackendStoreProvider provider, String keyspace, String store)
protected void registerTableManager(HugeType type, CassandraTable table)
public String store()
public String database()
public BackendStoreProvider provider()
public void open(HugeConfig config)
public void close()
public boolean opened()
public void mutate(BackendMutation mutation)
public Iterator<BackendEntry> query(Query query)
public BackendFeatures features()
public void init()
public void clear(boolean clearSpace)
public boolean initialized()
public void truncate()
public void beginTx()
public void commitTx()
public void rollbackTx()
protected com.datastax.driver.core.Cluster cluster()
protected boolean existsKeyspace()
protected boolean existsTable(String table)
protected void initKeyspace()
protected void clearKeyspace()
protected void initTables()
protected void clearTables()
protected void truncateTables()
protected Collection<CassandraTable> tables()
protected final CassandraTable table(HugeType type)
protected CassandraSessionPool.Session session(HugeType type)
protected final void checkClusterConnected()
protected static final CassandraBackendEntry castBackendEntry(BackendEntry entry)
Copyright © 2017–2021. All rights reserved.