presto-spi/src/main/java/io/prestosql/spi/type/AbstractIntType.java/AbstractIntType/equalTo
class AbstractIntType:    @Override
    public boolean equalTo(Block leftBlock, int leftPosition, Block rightBlock, int rightPosition)
    {
        int leftValue = leftBlock.getInt(leftPosition, 0);
        int rightValue = rightBlock.getInt(rightPosition, 0);
        return leftValue == rightValue;
    }