// TODO: allow using processingResult as a map for that purpose?
Map<ByteArrayWrapper, Map<ByteArrayWrapper, Long>> resultMap =
new HashMap<ByteArrayWrapper, Map<ByteArrayWrapper, Long>>();
for (Result row : records) {
for (Pair<ByteArrayWrapper, ByteArrayWrapper> column : columns) {
ByteArrayWrapper colfamKey = column.getFirst();
byte[] colfam = colfamKey.getBytes();
ByteArrayWrapper qualKey = column.getSecond();
byte[] qual = qualKey.getBytes();
byte[] value = row.getValue(colfam, qual);
if (value == null || value.length != Bytes.SIZEOF_LONG) {
continue;
}