presto-orc/src/main/java/io/prestosql/orc/stream/OrcInputStream.java/OrcInputStream/advance
class OrcInputStream:    private void advance()
            throws IOException
    {
        if (!chunkLoader.hasNextChunk()) {
            current = null;
            return;
        }
        current = chunkLoader.nextChunk().getInput();
        lastCheckpoint = chunkLoader.getLastCheckpoint();
    }