final BlurIndex blurIndex = indexes.get(shard);
if (blurIndex == null) {
throw new BException("Shard [" + shard + "] in table [" + table + "] is not being served by this server.");
}
ShardContext shardContext = blurIndex.getShardContext();
final MutatableAction mutatableAction = new MutatableAction(shardContext);
mutatableAction.mutate(mutations);
return _mutateExecutor.submit(new Callable<Void>() {
@Override
public Void call() throws Exception {
blurIndex.process(mutatableAction);
return null;