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