if (rowState.getMutations().size() > 0) {
if (rowState.getMutations().get(0) instanceof HaeinsaPut) {
HaeinsaPut haeinsaPut = (HaeinsaPut) rowState.getMutations().remove(0);
for (HaeinsaKeyValue kv : Iterables.concat(haeinsaPut.getFamilyMap().values())) {
put.add(kv.getFamily(), kv.getQualifier(), tx.getPrewriteTimestamp(), kv.getValue());
TCellKey cellKey = new TCellKey();
cellKey.setFamily(kv.getFamily());
cellKey.setQualifier(kv.getQualifier());
prewritten.add(cellKey);
}
}
for (HaeinsaMutation mutation : rowState.getMutations()) {
remaining.add(mutation.toTMutation());