| 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.model.thrift | |
| me.prettyprint.cassandra.service.spring | |
| me.prettyprint.hector.api.factory | |
| me.prettyprint.hector.api.query |
The api.query package defines the different query types
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractColumnQuery<K,N,V>
Defines the commonalities b/w the Avro and the Thrift ColumnQuery implementations.
|
| Modifier and Type | Method and Description |
|---|---|
ColumnQuery<K,N,V> |
AbstractColumnQuery.setColumnFamily(String cf) |
ColumnQuery<K,N,V> |
AbstractColumnQuery.setKey(K key) |
ColumnQuery<K,N,V> |
AbstractColumnQuery.setName(N name) |
| Modifier and Type | Class and Description |
|---|---|
class |
ThriftColumnQuery<K,N,V>
Thrift implementation of the ColumnQuery type.
|
class |
ThriftTypeInferringColumnQuery<K,N,V>
The same as ColumnQuery, but dynamically inferring the serializers needed to transform the key
and column name to their binary form.
|
| Modifier and Type | Method and Description |
|---|---|
<K,N,V> ColumnQuery<K,N,V> |
HectorTemplateImpl.createColumnQuery() |
<K,N,V> ColumnQuery<K,N,V> |
HectorTemplate.createColumnQuery() |
<K,N,V> ColumnQuery<K,N,V> |
HectorTemplateImpl.createColumnQuery(Serializer<V> valueSerializer) |
<K,N,V> ColumnQuery<K,N,V> |
HectorTemplate.createColumnQuery(Serializer<V> valueSErializer) |
| Modifier and Type | Method and Description |
|---|---|
static <K,N,V> ColumnQuery<K,N,V> |
HFactory.createColumnQuery(Keyspace keyspace,
Serializer<K> keySerializer,
Serializer<N> nameSerializer,
Serializer<V> valueSerializer) |
static ColumnQuery<String,String,String> |
HFactory.createStringColumnQuery(Keyspace keyspace) |
| Modifier and Type | Method and Description |
|---|---|
ColumnQuery<K,N,V> |
ColumnQuery.setColumnFamily(String cf) |
ColumnQuery<K,N,V> |
ColumnQuery.setKey(K key)
Set the row key for this query.
|
ColumnQuery<K,N,V> |
ColumnQuery.setName(N name)
Set the column name for this query.
|
Copyright © 2014. All Rights Reserved.