presto-spi/src/main/java/io/prestosql/spi/type/SmallintType.java/SmallintType/getRange
class SmallintType:    @Override
    public Optional<Range> getRange()
    {
        return Optional.of(new Range((long) Short.MIN_VALUE, (long) Short.MAX_VALUE));
    }