default ClickHouseValue update(Enumeration<?> value) {
        if (value == null || !value.hasMoreElements()) {
            return resetToNullOrEmpty();
        }

        Object v = value.nextElement();
        if (value.hasMoreElements()) {
            throw new IllegalArgumentException(ClickHouseValues.ERROR_SINGLETON_COLLECTION + value);
        }

        return update(v);
    }
Updates value.

@param value value to update
@return this object
clickhouse-data/src/main/java/com/clickhouse/data/ClickHouseValue.java