presto-main/src/main/java/io/prestosql/type/ColorOperators.java/ColorOperators/hashCode
class ColorOperators:    @ScalarOperator(HASH_CODE)
    @SqlType(StandardTypes.BIGINT)
    public static long hashCode(@SqlType(ColorType.NAME) long value)
    {
        return (int) value;
    }