|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectme.prettyprint.cassandra.service.ClearCounterRow<K,N>
public class ClearCounterRow<K,N>
Resets each counter counter column in the row to zero. This class is subject to the limitations of counter columns. See the Cassandra Wiki for more information on the limitations.
| Constructor Summary | |
|---|---|
ClearCounterRow(Keyspace keyspace,
Serializer<K> keySerializer,
Serializer<N> nameSerializer)
|
|
| Method Summary | |
|---|---|
void |
clear()
Clear the counter columns. |
ClearCounterRow<K,N> |
setColumnFamily(String cf)
Column family the row is part of. |
ClearCounterRow<K,N> |
setCount(int count)
Set the number of columns to retrieve per slice. |
ClearCounterRow<K,N> |
setMutateInterval(int interval)
Set the mutate interval. |
ClearCounterRow<K,N> |
setRowKey(K rowKey)
Key of the source row. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClearCounterRow(Keyspace keyspace,
Serializer<K> keySerializer,
Serializer<N> nameSerializer)
| Method Detail |
|---|
public ClearCounterRow<K,N> setColumnFamily(String cf)
cf - Column family name
thispublic ClearCounterRow<K,N> setRowKey(K rowKey)
rowKey - Row key
thispublic ClearCounterRow<K,N> setMutateInterval(int interval)
interval - Mutation interval
thispublic ClearCounterRow<K,N> setCount(int count)
count - The number of columns to retrieve per slice
public void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||