public TMutation toTMutation() {
TMutation newTMutation = new TMutation();
newTMutation.setType(TMutationType.PUT);
TPut newTPut = new TPut();
for (HaeinsaKeyValue kv : Iterables.concat(familyMap.values())) {
TKeyValue newTKV = new TKeyValue();
newTKV.setKey(new TCellKey().setFamily(kv.getFamily()).setQualifier(kv.getQualifier()));
newTKV.setValue(kv.getValue());
newTPut.addToValues(newTKV);
}
newTMutation.setPut(newTPut);
return newTMutation;
}