| Package | Description |
|---|---|
| me.prettyprint.cassandra.connection | |
| me.prettyprint.cassandra.dao | |
| me.prettyprint.cassandra.examples | |
| 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)
|
| me.prettyprint.hector.api.exceptions | |
| me.prettyprint.hector.api.locking |
| Modifier and Type | Method and Description |
|---|---|
HClient |
LatencyAwareHClientPool.borrowClient() |
HClient |
HClientPool.borrowClient() |
HClient |
ConcurrentHClientPool.borrowClient() |
void |
HConnectionManager.operateWithFailover(Operation<?> op) |
void |
LatencyAwareHClientPool.releaseClient(HClient client) |
void |
HClientPool.releaseClient(HClient client) |
void |
ConcurrentHClientPool.releaseClient(HClient client) |
| Modifier and Type | Method and Description |
|---|---|
String |
SimpleCassandraDao.get(String key,
String columnName)
Get a string value.
|
| Modifier and Type | Method and Description |
|---|---|
<K> String |
ExampleDaoV2.get(K key,
Serializer<K> keySerializer)
Get a string value.
|
static void |
ExampleDaoV2.main(String[] args) |
static void |
ExampleClient.main(String[] args)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
<T> ExecutionResult<T> |
ExecutingVirtualKeyspace.doExecute(KeyspaceOperationCallback<T> koc) |
<T> ExecutionResult<T> |
ExecutingKeyspace.doExecute(KeyspaceOperationCallback<T> koc) |
<T> ExecutionResult<T> |
ExecutingVirtualKeyspace.doExecuteOperation(Operation<T> operation) |
<T> ExecutionResult<T> |
ExecutingKeyspace.doExecuteOperation(Operation<T> operation) |
abstract T |
KeyspaceOperationCallback.doInKeyspace(KeyspaceService ks) |
| Modifier and Type | Method and Description |
|---|---|
HectorException |
VirtualKeyspaceOperation.getException() |
HectorException |
Operation.getException() |
HectorException |
ExceptionsTranslatorImpl.translate(Throwable original) |
HectorException |
ExceptionsTranslator.translate(Throwable originalException) |
HectorException |
ExceptionsTranslatorImpl.translate(Throwable original,
CassandraHost host) |
HectorException |
ExceptionsTranslator.translate(Throwable originalException,
CassandraHost host) |
| Modifier and Type | Method and Description |
|---|---|
void |
VirtualKeyspaceOperation.setException(HectorException e) |
void |
Operation.setException(HectorException e) |
| Modifier and Type | Method and Description |
|---|---|
String |
ThriftCluster.addColumnFamily(ColumnFamilyDefinition cfdef) |
String |
ThriftCluster.addColumnFamily(ColumnFamilyDefinition cfdef,
boolean waitForSchemaAgreement) |
void |
VirtualKeyspaceServiceImpl.addCounter(ByteBuffer key,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.CounterColumn counterColumn) |
void |
KeyspaceServiceImpl.addCounter(ByteBuffer key,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.CounterColumn counterColumn) |
void |
KeyspaceService.addCounter(ByteBuffer key,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.CounterColumn counterColumn)
Add a counter with CL.ONE
|
void |
KeyspaceServiceImpl.addCounter(String key,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.CounterColumn counterColumn) |
void |
KeyspaceService.addCounter(String key,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.CounterColumn counterColumn)
Add a counter with CL.ONE
|
String |
ThriftCluster.addKeyspace(KeyspaceDefinition ksdef) |
String |
ThriftCluster.addKeyspace(KeyspaceDefinition ksdef,
boolean waitForSchemaAgreement) |
void |
VirtualKeyspaceServiceImpl.batchMutate(BatchMutation batchMutate) |
void |
KeyspaceServiceImpl.batchMutate(BatchMutation batchMutate) |
void |
KeyspaceService.batchMutate(BatchMutation batchMutation)
Call batch mutate with the BatchMutation object which encapsulates some of the complexity
of the batch_mutate API signature
|
void |
VirtualKeyspaceServiceImpl.batchMutate(Map<ByteBuffer,Map<String,List<org.apache.cassandra.thrift.Mutation>>> mutationMap) |
void |
KeyspaceServiceImpl.batchMutate(Map<ByteBuffer,Map<String,List<org.apache.cassandra.thrift.Mutation>>> mutationMap) |
void |
KeyspaceService.batchMutate(Map<ByteBuffer,Map<String,List<org.apache.cassandra.thrift.Mutation>>> mutationMap)
Call batch mutate with the assembled mutationMap.
|
void |
ColumnFamilyRowCopy.copy()
Copy the source row to the destination row.
|
String |
AbstractCluster.describeClusterName() |
KeyspaceDefinition |
AbstractCluster.describeKeyspace(String keyspace) |
List<KeyspaceDefinition> |
AbstractCluster.describeKeyspaces() |
String |
AbstractCluster.describePartitioner() |
List<org.apache.cassandra.thrift.TokenRange> |
ThriftCluster.describeRing(String keyspace) |
Map<String,List<String>> |
ThriftCluster.describeSchemaVersions() |
String |
AbstractCluster.describeThriftVersion() |
String |
AbstractCluster.dropColumnFamily(String keyspaceName,
String columnFamily) |
String |
AbstractCluster.dropColumnFamily(String keyspaceName,
String columnFamily,
boolean waitForSchemaAgreement) |
String |
AbstractCluster.dropKeyspace(String keyspace) |
String |
AbstractCluster.dropKeyspace(String keyspace,
boolean waitForSchemaAgreement) |
String |
AbstractCluster.getClusterName() |
org.apache.cassandra.thrift.Column |
VirtualKeyspaceServiceImpl.getColumn(ByteBuffer key,
org.apache.cassandra.thrift.ColumnPath columnPath) |
org.apache.cassandra.thrift.Column |
KeyspaceServiceImpl.getColumn(ByteBuffer key,
org.apache.cassandra.thrift.ColumnPath columnPath) |
org.apache.cassandra.thrift.Column |
KeyspaceService.getColumn(ByteBuffer key,
org.apache.cassandra.thrift.ColumnPath columnPath)
Get the Column at the given columnPath.
|
org.apache.cassandra.thrift.Column |
KeyspaceServiceImpl.getColumn(String key,
org.apache.cassandra.thrift.ColumnPath columnPath) |
org.apache.cassandra.thrift.Column |
KeyspaceService.getColumn(String key,
org.apache.cassandra.thrift.ColumnPath columnPath) |
int |
VirtualKeyspaceServiceImpl.getCount(ByteBuffer key,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate) |
int |
KeyspaceServiceImpl.getCount(ByteBuffer key,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate) |
int |
KeyspaceService.getCount(ByteBuffer key,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate)
Counts the columns present in columnParent.
|
org.apache.cassandra.thrift.CounterColumn |
VirtualKeyspaceServiceImpl.getCounter(ByteBuffer key,
org.apache.cassandra.thrift.ColumnPath columnPath) |
org.apache.cassandra.thrift.CounterColumn |
KeyspaceServiceImpl.getCounter(ByteBuffer key,
org.apache.cassandra.thrift.ColumnPath columnPath) |
org.apache.cassandra.thrift.CounterColumn |
KeyspaceService.getCounter(ByteBuffer key,
org.apache.cassandra.thrift.ColumnPath columnPath)
Get the Counter Column at the given columnPath.
|
org.apache.cassandra.thrift.CounterColumn |
KeyspaceServiceImpl.getCounter(String key,
org.apache.cassandra.thrift.ColumnPath columnPath) |
org.apache.cassandra.thrift.CounterColumn |
KeyspaceService.getCounter(String key,
org.apache.cassandra.thrift.ColumnPath columnPath) |
List<org.apache.cassandra.thrift.CounterColumn> |
VirtualKeyspaceServiceImpl.getCounterSlice(ByteBuffer key,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate) |
List<org.apache.cassandra.thrift.CounterColumn> |
KeyspaceServiceImpl.getCounterSlice(ByteBuffer key,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate) |
List<org.apache.cassandra.thrift.CounterColumn> |
KeyspaceService.getCounterSlice(ByteBuffer key,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate)
Get the group of counter columns contained by columnParent.
|
List<org.apache.cassandra.thrift.CounterColumn> |
KeyspaceServiceImpl.getCounterSlice(String key,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate) |
List<org.apache.cassandra.thrift.CounterColumn> |
KeyspaceService.getCounterSlice(String key,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate) |
List<org.apache.cassandra.thrift.CounterSuperColumn> |
VirtualKeyspaceServiceImpl.getCounterSuperSlice(ByteBuffer key,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate) |
List<org.apache.cassandra.thrift.CounterSuperColumn> |
KeyspaceServiceImpl.getCounterSuperSlice(ByteBuffer key,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate) |
List<org.apache.cassandra.thrift.CounterSuperColumn> |
KeyspaceService.getCounterSuperSlice(ByteBuffer key,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate)
Get the group of superColumn contained by columnParent.
|
List<org.apache.cassandra.thrift.CounterSuperColumn> |
KeyspaceServiceImpl.getCounterSuperSlice(String key,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate) |
List<org.apache.cassandra.thrift.CounterSuperColumn> |
KeyspaceService.getCounterSuperSlice(String key,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate) |
Map<ByteBuffer,List<org.apache.cassandra.thrift.Column>> |
VirtualKeyspaceServiceImpl.getIndexedSlices(org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.IndexClause indexClause,
org.apache.cassandra.thrift.SlicePredicate predicate) |
Map<ByteBuffer,List<org.apache.cassandra.thrift.Column>> |
KeyspaceServiceImpl.getIndexedSlices(org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.IndexClause indexClause,
org.apache.cassandra.thrift.SlicePredicate predicate) |
Map<ByteBuffer,List<org.apache.cassandra.thrift.Column>> |
KeyspaceService.getIndexedSlices(org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.IndexClause indexClause,
org.apache.cassandra.thrift.SlicePredicate predicate)
returns a subset of columns for a range of keys.
|
Map<ByteBuffer,List<org.apache.cassandra.thrift.CounterColumn>> |
VirtualKeyspaceServiceImpl.getRangeCounterSlices(org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate,
org.apache.cassandra.thrift.KeyRange keyRange) |
Map<ByteBuffer,List<org.apache.cassandra.thrift.CounterColumn>> |
KeyspaceServiceImpl.getRangeCounterSlices(org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate,
org.apache.cassandra.thrift.KeyRange keyRange) |
Map<ByteBuffer,List<org.apache.cassandra.thrift.CounterColumn>> |
KeyspaceService.getRangeCounterSlices(org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate,
org.apache.cassandra.thrift.KeyRange keyRange)
returns a subset of counter columns for a range of keys
|
Map<ByteBuffer,List<org.apache.cassandra.thrift.Column>> |
VirtualKeyspaceServiceImpl.getRangeSlices(org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate,
org.apache.cassandra.thrift.KeyRange keyRange) |
Map<ByteBuffer,List<org.apache.cassandra.thrift.Column>> |
KeyspaceServiceImpl.getRangeSlices(org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate,
org.apache.cassandra.thrift.KeyRange keyRange) |
Map<ByteBuffer,List<org.apache.cassandra.thrift.Column>> |
KeyspaceService.getRangeSlices(org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate,
org.apache.cassandra.thrift.KeyRange keyRange)
returns a subset of columns for a range of keys.
|
List<org.apache.cassandra.thrift.Column> |
VirtualKeyspaceServiceImpl.getSlice(ByteBuffer key,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate) |
List<org.apache.cassandra.thrift.Column> |
KeyspaceServiceImpl.getSlice(ByteBuffer key,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate) |
List<org.apache.cassandra.thrift.Column> |
KeyspaceService.getSlice(ByteBuffer key,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate)
Get the group of columns contained by columnParent.
|
List<org.apache.cassandra.thrift.Column> |
KeyspaceServiceImpl.getSlice(String key,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate) |
List<org.apache.cassandra.thrift.Column> |
KeyspaceService.getSlice(String key,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate) |
org.apache.cassandra.thrift.SuperColumn |
VirtualKeyspaceServiceImpl.getSuperColumn(ByteBuffer key,
org.apache.cassandra.thrift.ColumnPath columnPath) |
org.apache.cassandra.thrift.SuperColumn |
KeyspaceServiceImpl.getSuperColumn(ByteBuffer key,
org.apache.cassandra.thrift.ColumnPath columnPath) |
org.apache.cassandra.thrift.SuperColumn |
KeyspaceService.getSuperColumn(ByteBuffer key,
org.apache.cassandra.thrift.ColumnPath columnPath)
Get the SuperColumn at the given columnPath.
|
org.apache.cassandra.thrift.SuperColumn |
VirtualKeyspaceServiceImpl.getSuperColumn(ByteBuffer key,
org.apache.cassandra.thrift.ColumnPath columnPath,
boolean reversed,
int size) |
org.apache.cassandra.thrift.SuperColumn |
KeyspaceServiceImpl.getSuperColumn(ByteBuffer key,
org.apache.cassandra.thrift.ColumnPath columnPath,
boolean reversed,
int size) |
org.apache.cassandra.thrift.SuperColumn |
KeyspaceService.getSuperColumn(ByteBuffer key,
org.apache.cassandra.thrift.ColumnPath columnPath,
boolean reversed,
int size)
Get the SuperColumn at the given columnPath.
|
org.apache.cassandra.thrift.SuperColumn |
KeyspaceServiceImpl.getSuperColumn(String key,
org.apache.cassandra.thrift.ColumnPath columnPath) |
org.apache.cassandra.thrift.SuperColumn |
KeyspaceService.getSuperColumn(String key,
org.apache.cassandra.thrift.ColumnPath columnPath) |
Map<ByteBuffer,List<org.apache.cassandra.thrift.CounterSuperColumn>> |
VirtualKeyspaceServiceImpl.getSuperRangeCounterSlices(org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate,
org.apache.cassandra.thrift.KeyRange keyRange) |
Map<ByteBuffer,List<org.apache.cassandra.thrift.CounterSuperColumn>> |
KeyspaceServiceImpl.getSuperRangeCounterSlices(org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate,
org.apache.cassandra.thrift.KeyRange keyRange) |
Map<ByteBuffer,List<org.apache.cassandra.thrift.SuperColumn>> |
VirtualKeyspaceServiceImpl.getSuperRangeSlices(org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate,
org.apache.cassandra.thrift.KeyRange keyRange) |
Map<ByteBuffer,List<org.apache.cassandra.thrift.SuperColumn>> |
KeyspaceServiceImpl.getSuperRangeSlices(org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate,
org.apache.cassandra.thrift.KeyRange keyRange) |
Map<ByteBuffer,List<org.apache.cassandra.thrift.SuperColumn>> |
KeyspaceService.getSuperRangeSlices(org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate,
org.apache.cassandra.thrift.KeyRange keyRange)
returns a subset of super columns for a range of keys.
|
List<org.apache.cassandra.thrift.SuperColumn> |
VirtualKeyspaceServiceImpl.getSuperSlice(ByteBuffer key,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate) |
List<org.apache.cassandra.thrift.SuperColumn> |
KeyspaceServiceImpl.getSuperSlice(ByteBuffer key,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate) |
List<org.apache.cassandra.thrift.SuperColumn> |
KeyspaceService.getSuperSlice(ByteBuffer key,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate)
Get the group of superColumn contained by columnParent.
|
List<org.apache.cassandra.thrift.SuperColumn> |
KeyspaceServiceImpl.getSuperSlice(String key,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate) |
List<org.apache.cassandra.thrift.SuperColumn> |
KeyspaceService.getSuperSlice(String key,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate) |
void |
VirtualKeyspaceServiceImpl.insert(ByteBuffer key,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.Column column) |
void |
KeyspaceServiceImpl.insert(ByteBuffer key,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.Column column) |
void |
KeyspaceService.insert(ByteBuffer key,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.Column column)
Inserts a column.
|
void |
KeyspaceServiceImpl.insert(String key,
org.apache.cassandra.thrift.ColumnPath columnPath,
ByteBuffer value) |
void |
KeyspaceService.insert(String key,
org.apache.cassandra.thrift.ColumnPath columnPath,
ByteBuffer value) |
void |
KeyspaceServiceImpl.insert(String key,
org.apache.cassandra.thrift.ColumnPath columnPath,
ByteBuffer value,
long timestamp) |
void |
KeyspaceService.insert(String key,
org.apache.cassandra.thrift.ColumnPath columnPath,
ByteBuffer value,
long timestamp) |
Map<ByteBuffer,Integer> |
VirtualKeyspaceServiceImpl.multigetCount(List<ByteBuffer> keys,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate slicePredicate) |
Map<ByteBuffer,Integer> |
KeyspaceServiceImpl.multigetCount(List<ByteBuffer> keys,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate slicePredicate) |
Map<ByteBuffer,Integer> |
KeyspaceService.multigetCount(List<ByteBuffer> keys,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate slicePredicate)
Returns a map of key to column count
|
Map<ByteBuffer,List<org.apache.cassandra.thrift.CounterColumn>> |
VirtualKeyspaceServiceImpl.multigetCounterSlice(List<ByteBuffer> keys,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate) |
Map<ByteBuffer,List<org.apache.cassandra.thrift.CounterColumn>> |
KeyspaceServiceImpl.multigetCounterSlice(List<ByteBuffer> keys,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate) |
Map<ByteBuffer,List<org.apache.cassandra.thrift.CounterColumn>> |
KeyspaceService.multigetCounterSlice(List<ByteBuffer> keys,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate)
Performs a get_slice for columnParent and predicate for the given keys in
parallel.
|
Map<ByteBuffer,List<org.apache.cassandra.thrift.CounterSuperColumn>> |
VirtualKeyspaceServiceImpl.multigetCounterSuperSlice(List<ByteBuffer> keys,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate) |
Map<ByteBuffer,List<org.apache.cassandra.thrift.CounterSuperColumn>> |
KeyspaceServiceImpl.multigetCounterSuperSlice(List<ByteBuffer> keys,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate) |
Map<ByteBuffer,List<org.apache.cassandra.thrift.CounterSuperColumn>> |
KeyspaceService.multigetCounterSuperSlice(List<ByteBuffer> keys,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate)
Performs a get_slice for a superColumn columnParent and predicate for the
given keys in parallel.
|
Map<ByteBuffer,List<org.apache.cassandra.thrift.Column>> |
VirtualKeyspaceServiceImpl.multigetSlice(List<ByteBuffer> keys,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate) |
Map<ByteBuffer,List<org.apache.cassandra.thrift.Column>> |
KeyspaceServiceImpl.multigetSlice(List<ByteBuffer> keys,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate) |
Map<ByteBuffer,List<org.apache.cassandra.thrift.Column>> |
KeyspaceService.multigetSlice(List<ByteBuffer> keys,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate)
Performs a get_slice for columnParent and predicate for the given keys in
parallel.
|
Map<ByteBuffer,org.apache.cassandra.thrift.SuperColumn> |
KeyspaceServiceImpl.multigetSuperColumn(List<ByteBuffer> keys,
org.apache.cassandra.thrift.ColumnPath columnPath) |
Map<ByteBuffer,org.apache.cassandra.thrift.SuperColumn> |
KeyspaceService.multigetSuperColumn(List<ByteBuffer> keys,
org.apache.cassandra.thrift.ColumnPath columnPath)
Performs a get for columnPath in parallel on the given list of keys.
|
Map<ByteBuffer,org.apache.cassandra.thrift.SuperColumn> |
KeyspaceServiceImpl.multigetSuperColumn(List<ByteBuffer> keys,
org.apache.cassandra.thrift.ColumnPath columnPath,
boolean reversed,
int size) |
Map<ByteBuffer,org.apache.cassandra.thrift.SuperColumn> |
KeyspaceService.multigetSuperColumn(List<ByteBuffer> keys,
org.apache.cassandra.thrift.ColumnPath columnPath,
boolean reversed,
int size)
Perform a get for columnPath in parallel on the given list of keys.
|
Map<ByteBuffer,List<org.apache.cassandra.thrift.SuperColumn>> |
VirtualKeyspaceServiceImpl.multigetSuperSlice(List<ByteBuffer> keys,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate) |
Map<ByteBuffer,List<org.apache.cassandra.thrift.SuperColumn>> |
KeyspaceServiceImpl.multigetSuperSlice(List<ByteBuffer> keys,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate) |
Map<ByteBuffer,List<org.apache.cassandra.thrift.SuperColumn>> |
KeyspaceService.multigetSuperSlice(List<ByteBuffer> keys,
org.apache.cassandra.thrift.ColumnParent columnParent,
org.apache.cassandra.thrift.SlicePredicate predicate)
Performs a get_slice for a superColumn columnParent and predicate for the
given keys in parallel.
|
void |
VirtualKeyspaceServiceImpl.remove(ByteBuffer key,
org.apache.cassandra.thrift.ColumnPath columnPath,
long timestamp) |
void |
KeyspaceServiceImpl.remove(ByteBuffer key,
org.apache.cassandra.thrift.ColumnPath columnPath,
long timestamp) |
void |
KeyspaceService.remove(ByteBuffer key,
org.apache.cassandra.thrift.ColumnPath columnPath,
long timestamp)
Same as two argument version, but the caller must specify their own clock
|
void |
KeyspaceServiceImpl.remove(String key,
org.apache.cassandra.thrift.ColumnPath columnPath) |
void |
KeyspaceService.remove(String key,
org.apache.cassandra.thrift.ColumnPath columnPath) |
void |
KeyspaceServiceImpl.remove(String key,
org.apache.cassandra.thrift.ColumnPath columnPath,
long timestamp)
Same as two argument version, but the caller must specify their own timestamp
|
void |
KeyspaceService.remove(String key,
org.apache.cassandra.thrift.ColumnPath columnPath,
long timestamp) |
void |
VirtualKeyspaceServiceImpl.removeCounter(ByteBuffer key,
org.apache.cassandra.thrift.ColumnPath columnPath) |
void |
KeyspaceServiceImpl.removeCounter(ByteBuffer key,
org.apache.cassandra.thrift.ColumnPath columnPath) |
void |
KeyspaceService.removeCounter(ByteBuffer key,
org.apache.cassandra.thrift.ColumnPath columnPath) |
void |
KeyspaceServiceImpl.removeCounter(String key,
org.apache.cassandra.thrift.ColumnPath columnPath) |
void |
KeyspaceService.removeCounter(String key,
org.apache.cassandra.thrift.ColumnPath columnPath) |
void |
AbstractCluster.truncate(String keyspaceName,
String columnFamily) |
String |
ThriftCluster.updateColumnFamily(ColumnFamilyDefinition cfdef) |
String |
ThriftCluster.updateColumnFamily(ColumnFamilyDefinition cfdef,
boolean waitForSchemaAgreement) |
String |
ThriftCluster.updateKeyspace(KeyspaceDefinition ksdef) |
String |
ThriftCluster.updateKeyspace(KeyspaceDefinition ksdef,
boolean waitForSchemaAgreement) |
| Modifier and Type | Method and Description |
|---|---|
String |
Cluster.addColumnFamily(ColumnFamilyDefinition cfdef)
Add a column family and returns without waiting for schema cluster agreement.
|
String |
Cluster.addColumnFamily(ColumnFamilyDefinition cfdef,
boolean waitForSchemaAgreement)
Add a column family and wait for schema cluster agreement if
waitForSchemaAgreement
is set to true. |
String |
Cluster.addKeyspace(KeyspaceDefinition ksdef)
Add a keyspace and does not wait for schema agreement.
|
String |
Cluster.addKeyspace(KeyspaceDefinition ksdef,
boolean waitForSchemaAgreement)
Add a keyspace and wait for schema cluster agreement if
waitForSchemaAgreement
is set to true. |
String |
Cluster.describeClusterName() |
KeyspaceDefinition |
Cluster.describeKeyspace(String keyspace) |
List<KeyspaceDefinition> |
Cluster.describeKeyspaces() |
String |
Cluster.describePartitioner() |
List<org.apache.cassandra.thrift.TokenRange> |
Cluster.describeRing(String keyspace) |
Map<String,List<String>> |
Cluster.describeSchemaVersions() |
String |
Cluster.describeThriftVersion() |
String |
Cluster.dropColumnFamily(String keyspaceName,
String columnFamily)
Drops a column family and does not wait for schema agreement.
|
String |
Cluster.dropColumnFamily(String keyspaceName,
String columnFamily,
boolean waitForSchemaAgreement)
Drops a column family and waits for schema cluster agreement if
waitForSchemaAgreement
is set to true. |
String |
Cluster.dropKeyspace(String keyspace)
Drops the Keyspace from the cluster.
|
String |
Cluster.dropKeyspace(String keyspace,
boolean waitForSchemaAgreement)
Drops a Keyspace and waits for schema cluster agreement if
waitForSchemaAgreement
is set to true. |
String |
Cluster.getClusterName()
Deprecated.
|
void |
Cluster.truncate(String keyspaceName,
String columnFamily) |
String |
Cluster.updateColumnFamily(ColumnFamilyDefinition cfdef)
Updates a column family and does not wait for schema agreement.
|
String |
Cluster.updateColumnFamily(ColumnFamilyDefinition cfdef,
boolean waitForSchemaAgreement)
Update a column family and wait for schema cluster agreement if
waitForSchemaAgreement
is set to true. |
String |
Cluster.updateKeyspace(KeyspaceDefinition ksdef)
Updates the Keyspace from the cluster without waiting for schema agreement.
|
String |
Cluster.updateKeyspace(KeyspaceDefinition ksdef,
boolean waitForSchemaAgreement)
Updates the Keyspace and waitz for schema cluster agreement if
waitForSchemaAgreement
is set to true. |
| Modifier and Type | Class and Description |
|---|---|
class |
HCassandraInternalException
Designed to loosely wrap TApplicationException which can be generated
by Apache Cassandra under a variety of ambiguous conditions - some of
them transient, some of them not.
|
class |
HectorPoolException
Error while borrowing or returning object to the pool
|
class |
HectorSerializationException
Describes a serialization exception.
|
class |
HectorTransportException
Hector transport exception (thrift or avro).
|
class |
HInactivePoolException
Indicates that a client pool has been suspended.
|
class |
HInvalidRequestException |
class |
HNotFoundException |
class |
HPoolExhaustedException
Indicates that a client pool has been exhausted.
|
class |
HPoolRecoverableException
Base exception for recoverable pool exceptions.
|
class |
HTimedOutException |
class |
HUnavailableException |
class |
PoolIllegalStateException
Happens when the pool has been closed, but new borrow request come to it.
|
| Modifier and Type | Class and Description |
|---|---|
class |
HLockDisconnecteException
Thrown when our heart beat can't renew our lock
|
class |
HLockTimeoutException
The waiting time for a lock has expired.
|
Copyright © 2014. All Rights Reserved.