DataInputBuffer bufIn = new DataInputBuffer();
for (Message response : responses)
{
byte[] body = response.getMessageBody();
bufIn.reset(body, body.length);
ReadResponse result = ReadResponse.serializer().deserialize(bufIn);
if (result.isDigestQuery())
{
digest = result.digest();
isDigestQuery = true;
}
else
{
rowList.add(result.row());
endPoints.add(response.getFrom());
key = result.row().key();
table = result.row().getTable();
}
}
// If there was a digest query compare it with all the data digests
// If there is a mismatch then throw an exception so that read repair can happen.
if (isDigestQuery)