public abstract class AbstractCassandraStoreManager extends DistributedStoreManager implements KeyColumnValueStoreManager
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractCassandraStoreManager.Partitioner |
DistributedStoreManager.Deployment, DistributedStoreManager.MaskedTimestampconnectionTimeoutMS, hostnames, pageSize, password, port, times, usernamebatchLoading, isReadOnly, storageConfig, transactional| Constructor and Description |
|---|
AbstractCassandraStoreManager(Configuration config) |
| Modifier and Type | Method and Description |
|---|---|
StoreTransaction |
beginTransaction(BaseTransactionConfig config) |
abstract org.apache.cassandra.dht.IPartitioner<? extends org.apache.cassandra.dht.Token<?>> |
getCassandraPartitioner() |
abstract Map<String,String> |
getCompressionOptions(String cf)
Returns a map of compression options for the column family
cf. |
StoreFeatures |
getFeatures() |
String |
getName() |
AbstractCassandraStoreManager.Partitioner |
getPartitioner() |
String |
toString() |
getDeployment, getPageSize, getSingleHostname, getTimestampProvider, hasAuthentication, sleepAfterWritegetMetaDataSchema, getStorageConfigclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitmutateMany, openDatabaseclearStorage, close, getLocalKeyPartitionpublic static final ConfigNamespace CASSANDRA_NS
public static final ConfigOption<String> CASSANDRA_KEYSPACE
public static final ConfigOption<String> CASSANDRA_READ_CONSISTENCY
public static final ConfigOption<String> CASSANDRA_WRITE_CONSISTENCY
public static final ConfigOption<Boolean> ATOMIC_BATCH_MUTATE
public static final ConfigOption<Integer> REPLICATION_FACTOR
public static final ConfigOption<String> REPLICATION_STRATEGY
public static final ConfigOption<String[]> REPLICATION_OPTIONS
public static final ConfigOption<Boolean> CF_COMPRESSION
public static final ConfigOption<String> CF_COMPRESSION_TYPE
public static final ConfigOption<Integer> CF_COMPRESSION_BLOCK_SIZE
public static final ConfigNamespace SSL_NS
public static final ConfigNamespace SSL_TRUSTSTORE_NS
public static final ConfigOption<Boolean> SSL_ENABLED
public static final ConfigOption<String> SSL_TRUSTSTORE_LOCATION
public static final ConfigOption<String> SSL_TRUSTSTORE_PASSWORD
public static final int PORT_DEFAULT
GraphDatabaseConfiguration.STORAGE_PORT to override.
Value = 9160
public static final String SYSTEM_KS
protected final String keySpaceName
protected final boolean compressionEnabled
protected final int compressionChunkSizeKB
protected final String compressionClass
protected final boolean atomicBatch
public AbstractCassandraStoreManager(Configuration config)
public final AbstractCassandraStoreManager.Partitioner getPartitioner()
public abstract org.apache.cassandra.dht.IPartitioner<? extends org.apache.cassandra.dht.Token<?>> getCassandraPartitioner()
throws BackendException
BackendExceptionpublic StoreTransaction beginTransaction(BaseTransactionConfig config)
beginTransaction in interface StoreManagerpublic String toString()
toString in class DistributedStoreManagerpublic StoreFeatures getFeatures()
getFeatures in interface StoreManagerpublic abstract Map<String,String> getCompressionOptions(String cf) throws BackendException
cf.
The contents of the returned map must be identical to the contents of the
map returned by
CfDef.getCompression_options(), even
for implementations of this method that don't use Thrift.cf - the name of the column family for which to return compression
optionsBackendException - if reading from Cassandra failspublic String getName()
getName in interface StoreManagerCopyright © 2012–2016. All rights reserved.