/** * Using the schema and payload class, read and convert the bytes on disk to a HoodieRecord */ public static byte[] readBytesFromDisk(RandomAccessFile file, long valuePosition, int valueLength) throws IOException { DiskBasedMap.FileEntry fileEntry = readInternal(file, valuePosition, valueLength); return fileEntry.getValue(); }