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

Method Query

src/tablet/tablet_impl.cc:1575–1583  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1573}
1574
1575void TabletImpl::Query(RpcController* ctrl,
1576 const fedb::api::QueryRequest* request,
1577 fedb::api::QueryResponse* response, Closure* done) {
1578 DLOG(INFO) << "handle query request begin!";
1579 brpc::ClosureGuard done_guard(done);
1580 brpc::Controller* cntl = static_cast<brpc::Controller*>(ctrl);
1581 butil::IOBuf& buf = cntl->response_attachment();
1582 ProcessQuery(ctrl, request, response, &buf);
1583}
1584
1585void TabletImpl::ProcessQuery(RpcController* ctrl,
1586 const fedb::api::QueryRequest* request,

Callers 2

TEST_PFunction · 0.45
ExecuteSQLMethod · 0.45

Calls

no outgoing calls

Tested by 1

TEST_PFunction · 0.36