| Package | Description |
|---|---|
| me.prettyprint.cassandra.model |
The model package defines the thrift/avro reflections used by hector to shield the specific types
of the objects.
|
| me.prettyprint.cassandra.service | |
| me.prettyprint.hector.api |
The api package defines the main hector api entry points (aka the v2 API)
|
| Modifier and Type | Method and Description |
|---|---|
HConsistencyLevel |
QuorumAllConsistencyLevelPolicy.get(OperationType op) |
HConsistencyLevel |
ConfigurableConsistencyLevel.get(OperationType op) |
HConsistencyLevel |
AllOneConsistencyLevelPolicy.get(OperationType op) |
HConsistencyLevel |
QuorumAllConsistencyLevelPolicy.get(OperationType op,
String cfName) |
HConsistencyLevel |
ConfigurableConsistencyLevel.get(OperationType op,
String cfName) |
HConsistencyLevel |
AllOneConsistencyLevelPolicy.get(OperationType op,
String cfName) |
void |
ConfigurableConsistencyLevel.setConsistencyLevelForCfOperation(HConsistencyLevel consistencyLevel,
String columnFamily,
OperationType operationType) |
| Modifier and Type | Field and Description |
|---|---|
OperationType |
Operation.operationType |
| Modifier and Type | Method and Description |
|---|---|
static OperationType |
OperationType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperationType[] |
OperationType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
HConsistencyLevel |
KeyspaceServiceImpl.getConsistencyLevel(OperationType operationType) |
HConsistencyLevel |
KeyspaceService.getConsistencyLevel(OperationType operationType) |
| Constructor and Description |
|---|
Operation(OperationType operationType) |
Operation(OperationType operationType,
FailoverPolicy failoverPolicy,
Map<String,String> credentials) |
Operation(OperationType operationType,
FailoverPolicy failoverPolicy,
String keyspaceName,
Map<String,String> credentials) |
Operation(OperationType operationType,
Map<String,String> credentials) |
| Modifier and Type | Method and Description |
|---|---|
HConsistencyLevel |
ConsistencyLevelPolicy.get(OperationType op)
Get the desired consistency level according to the operation type.
|
HConsistencyLevel |
ConsistencyLevelPolicy.get(OperationType op,
String cfName)
Get desired consistency according to the operation type and column family name.
|
Copyright © 2014. All Rights Reserved.