presto-orc/src/main/java/io/prestosql/orc/OrcRecordReader.java/OrcRecordReader/validateWritePageChecksum
class OrcRecordReader:    private void validateWritePageChecksum()
            throws IOException
    {
        if (writeChecksumBuilder.isPresent()) {
            Block[] blocks = new Block[columnReaders.length];
            for (int columnIndex = 0; columnIndex < columnReaders.length; columnIndex++) {
                Block block = columnReaders[columnIndex].readBlock();
                blocks[columnIndex] = block;
                blockLoaded(columnIndex, block);
            }
            Page page = new Page(currentBatchSize, blocks);
            writeChecksumBuilder.get().addPage(page);
            rowGroupStatisticsValidation.get().addPage(page);
            stripeStatisticsValidation.get().addPage(page);
            fileStatisticsValidation.get().addPage(page);
        }
    }