public static class CrossPartitionTrigger implements ITrigger
{
public Collection<Mutation> augment(ByteBuffer key, ColumnFamily update)
{
ColumnFamily extraUpdate = update.cloneMeShallow(ArrayBackedSortedColumns.factory, false);
extraUpdate.addColumn(new BufferCell(update.metadata().comparator.makeCellName(bytes("v2")), bytes(999)));
int newKey = toInt(key) + 1000;
return Collections.singletonList(new Mutation(ksName, bytes(newKey), extraUpdate));
}