public InsertSettings setQueryId(String queryId) {
        rawSettings.put(ClientConfigProperties.QUERY_ID.getKey(), queryId);
        return this;
    }
Sets the query id. This id will be sent to the server and can be used to identify the query.
client-v2/src/main/java/com/clickhouse/client/api/insert/InsertSettings.java