public Optional<String> getQueryId() {
        return ClickHouseChecker.isNullOrEmpty(queryId) ? Optional.empty() : Optional.of(queryId);
    }
Gets query id.

@return query id
clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseRequest.java