@SuppressWarnings("unchecked")
    public SelfT clearSettings() {
        checkSealed();

        if (!this.settings.isEmpty()) {
            if (changeListener == null) {
                this.settings.clear();
                resetCache();
            } else {
                for (Iterator<String> it = settings.keySet().iterator(); it.hasNext();) {
                    removeSetting(it.next());
                }
            }
        }

        return (SelfT) this;
    }
Clears server settings.

@return the request itself
clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseRequest.java