public static ClickHouseEnumValue of(ClickHouseEnum type, Number value) {
        return value == null ? ofNull(null, type) : of(null, type, value.intValue());
    }
Wrap the given value.

@param value value
@param type  enum type
@return object representing the value
clickhouse-data/src/main/java/com/clickhouse/data/value/ClickHouseEnumValue.java