public class ColumnFamilyRowCopy<K,N> extends Object
| Constructor and Description |
|---|
ColumnFamilyRowCopy(Keyspace keyspace,
Serializer<K> keySerializer) |
| Modifier and Type | Method and Description |
|---|---|
void |
copy()
Copy the source row to the destination row.
|
ColumnFamilyRowCopy |
setColumnFamily(String cf)
Column family the row is part of.
|
ColumnFamilyRowCopy |
setDestinationKey(K destinationKey)
Key of the destination row
|
ColumnFamilyRowCopy |
setMutateInterval(int interval)
Set the mutate interval.
|
ColumnFamilyRowCopy |
setRowKey(K rowKey)
Key of the source row.
|
public ColumnFamilyRowCopy(Keyspace keyspace, Serializer<K> keySerializer)
public ColumnFamilyRowCopy setColumnFamily(String cf)
cf - Column family namethispublic ColumnFamilyRowCopy setRowKey(K rowKey)
rowKey - Row keythispublic ColumnFamilyRowCopy setDestinationKey(K destinationKey)
destinationKey - Destination row keythispublic ColumnFamilyRowCopy setMutateInterval(int interval)
interval - Mutation intervalthispublic void copy()
throws HectorException
HectorException - if any required fields are not setCopyright © 2014. All Rights Reserved.