}
return new ArrayList<RowMutation>(mutateMap.values());
}
private static RowMutation merge(RowMutation mutation1, RowMutation mutation2) throws BlurException {
RowMutationType rowMutationType1 = mutation1.getRowMutationType();
RowMutationType rowMutationType2 = mutation2.getRowMutationType();
if (!rowMutationType1.equals(rowMutationType2)) {
throw new BException(
"RowMutation conflict, cannot perform 2 different operations on the same row in the same batch. [{0}] [{1}]",
mutation1, mutation2);
}