public static ClickHouseBoolValue of(int value) {
        if (value == 1) {
            return new ClickHouseBoolValue(false, true);
        } else if (value == 0) {
            return new ClickHouseBoolValue(false, false);
        } else {
            throw new IllegalArgumentException(ERROR_INVALID_NUMBER);
        }
    }
Wrap the given value.

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