public Row(Map<String, ByteBuffer> records, UUID uuid) {
checkNotNull(records, "records must not be null.");
// uuid nullity will be checked by UUIDToBytes
row = AvroRow.newBuilder()
.setUuid(new UUIDContainer(Util.UUIDToBytes(uuid)))
.setRecords(records)
.build();
}