MCPcopy Create free account
hub / github.com/apache/arrow / GetDbSchemas

Method GetDbSchemas

cpp/src/arrow/flight/sql/client.cc:368–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

366}
367
368arrow::Result<std::unique_ptr<FlightInfo>> FlightSqlClient::GetDbSchemas(
369 const FlightCallOptions& options, const std::string* catalog,
370 const std::string* db_schema_filter_pattern) {
371 flight_sql_pb::CommandGetDbSchemas command;
372 if (catalog != NULLPTR) {
373 command.set_catalog(*catalog);
374 }
375 if (db_schema_filter_pattern != NULLPTR) {
376 command.set_db_schema_filter_pattern(*db_schema_filter_pattern);
377 }
378
379 return GetFlightInfoForCommand(this, options, command);
380}
381
382arrow::Result<std::unique_ptr<SchemaResult>> FlightSqlClient::GetDbSchemasSchema(
383 const FlightCallOptions& options) {

Callers 3

RunMainFunction · 0.80

Calls 1

GetFlightInfoForCommandFunction · 0.70

Tested by 2

RunMainFunction · 0.64