Gets functions in the Catalog based on the parameters of the TGetFunctionsRequest.
| 455 | // Gets functions in the Catalog based on the parameters of the |
| 456 | // TGetFunctionsRequest. |
| 457 | void GetFunctions(TGetFunctionsResponse& resp, const TGetFunctionsRequest& req) |
| 458 | override { |
| 459 | VLOG_RPC << "GetFunctions(): request=" << ThriftDebugString(req); |
| 460 | Status status = AcceptRequest(req.protocol_version); |
| 461 | if (status.ok()) { |
| 462 | status = catalog_server_->catalog()->GetFunctions(req, &resp); |
| 463 | } |
| 464 | if (!status.ok()) LOG(ERROR) << status.GetDetail(); |
| 465 | TStatus thrift_status; |
| 466 | StatusToThrift(status, &thrift_status); |
| 467 | resp.__set_status(thrift_status); |
| 468 | VLOG_RPC << "GetFunctions(): response=" << ThriftDebugString(resp); |
| 469 | } |
| 470 | |
| 471 | // Gets a TCatalogObject based on the parameters of the TGetCatalogObjectRequest. |
| 472 | void GetCatalogObject(TGetCatalogObjectResponse& resp, |
nothing calls this directly
no test coverage detected