presto-spi/src/main/java/io/prestosql/spi/block/AbstractSingleRowBlock.java/AbstractSingleRowBlock/compareTo
class AbstractSingleRowBlock:    @Override
    public int compareTo(int position, int offset, int length, Block otherBlock, int otherPosition, int otherOffset, int otherLength)
    {
        checkFieldIndex(position);
        return getRawFieldBlock(position).compareTo(rowIndex, offset, length, otherBlock, otherPosition, otherOffset, otherLength);
    }