private void doEnqueue(final String table, List<RowMutation> mutations) throws IOException, BlurException {
final Map<String, BlurIndex> indexes = _indexServer.getIndexes(table);
Map<String, List<RowMutation>> mutationsByShard = new HashMap<String, List<RowMutation>>();
for (int i = 0; i < mutations.size(); i++) {
RowMutation mutation = mutations.get(i);
String shard = MutationHelper.getShardName(table, mutation.rowId, getNumberOfShards(table), _blurPartitioner);
List<RowMutation> list = mutationsByShard.get(shard);
if (list == null) {
list = new ArrayList<RowMutation>();
mutationsByShard.put(shard, list);