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