Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions clickhouse/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1354,6 +1354,10 @@ void Client::SelectWithExternalDataCancelable(const std::string& query, const st
impl_->SelectWithExternalData(Query(query, query_id).OnDataCancelable(std::move(cb)), external_tables);
}

void Client::SelectWithExternalData(const Query& query, const ExternalTables& external_tables) {
impl_->SelectWithExternalData(query, external_tables);
}

void Client::BeginExecute(const Query& query) {
impl_->BeginExecuteQuery(query);
}
Expand Down
4 changes: 4 additions & 0 deletions clickhouse/client.h
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,10 @@ class Client {
void SelectWithExternalDataCancelable(const std::string& query, const ExternalTables& external_tables, SelectCancelableCallback cb);
void SelectWithExternalDataCancelable(const std::string& query, const std::string& query_id, const ExternalTables& external_tables, SelectCancelableCallback cb);

/// Same as SelectWithExternalData but takes a fully-configured Query
/// (settings, params, callbacks, query_id, OnData) instead of a bare string.
void SelectWithExternalData(const Query& query, const ExternalTables& external_tables);

/// EXPERIMENTAL. Intends for execute arbitrary queries while reading the data interactively with
/// NextBlock().
void BeginExecute(const Query& query);
Expand Down
Loading