presto-orc/src/main/java/io/prestosql/orc/checkpoint/InputStreamCheckpoint.java/InputStreamCheckpoint/createInputStreamCheckpoint
class InputStreamCheckpoint:    public static long createInputStreamCheckpoint(boolean compressed, ColumnPositionsList positionsList)
    {
        if (compressed) {
            return createInputStreamCheckpoint(positionsList.nextPosition(), positionsList.nextPosition());
        }
        else {
            return createInputStreamCheckpoint(0, positionsList.nextPosition());
        }
    }