presto-spi/src/main/java/io/prestosql/spi/block/AbstractSingleArrayBlock.java/AbstractSingleArrayBlock/compareTo
class AbstractSingleArrayBlock:    @Override
    public int compareTo(int leftPosition, int leftOffset, int leftLength, Block rightBlock, int rightPosition, int rightOffset, int rightLength)
    {
        checkReadablePosition(leftPosition);
        return getBlock().compareTo(leftPosition + start, leftOffset, leftLength, rightBlock, rightPosition, rightOffset, rightLength);
    }