presto-orc/src/main/java/io/prestosql/orc/stream/LongInputStreamV1.java/LongInputStreamV1/next
class LongInputStreamV1:    @Override
    // This comes from the Apache Hive ORC code
    public long next()
            throws IOException
    {
        long result;
        if (used == numLiterals) {
            readValues();
        }
        if (repeat) {
            result = literals[0] + (used++) * delta;
        }
        else {
            result = literals[used++];
        }
        return result;
    }