MCPcopy Create free account
hub / github.com/4paradigm/OpenMLDB / QueryFutureImpl

Method QueryFutureImpl

src/sdk/sql_cluster_router.cc:79–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77class QueryFutureImpl : public QueryFuture {
78 public:
79 explicit QueryFutureImpl(fedb::RpcCallback<fedb::api::QueryResponse>* callback)
80 : callback_(callback) {
81 if (callback_) {
82 callback_->Ref();
83 }
84 }
85 ~QueryFutureImpl() {
86 if (callback_) {
87 callback_->UnRef();

Callers

nothing calls this directly

Calls 1

RefMethod · 0.45

Tested by

no test coverage detected