presto-orc/src/main/java/io/prestosql/orc/LazySliceInput.java/LazySliceInput/setPosition
class LazySliceInput:    @Override
    public void setPosition(long position)
    {
        if (delegate == null) {
            if (position < 0 || position > globalLength) {
                throw new IndexOutOfBoundsException("Invalid position " + position + " for slice with length " + globalLength);
            }
            initialPosition = toIntExact(position);
            return;
        }
        delegate.setPosition(position);
    }