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

Method GetExportedKeys

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

Source from the content-addressed store, hash-verified

445}
446
447arrow::Result<std::unique_ptr<FlightInfo>> FlightSqlClient::GetExportedKeys(
448 const FlightCallOptions& options, const TableRef& table_ref) {
449 flight_sql_pb::CommandGetExportedKeys command;
450
451 if (table_ref.catalog.has_value()) {
452 command.set_catalog(table_ref.catalog.value());
453 }
454
455 if (table_ref.db_schema.has_value()) {
456 command.set_db_schema(table_ref.db_schema.value());
457 }
458
459 command.set_table(table_ref.table);
460
461 return GetFlightInfoForCommand(this, options, command);
462}
463
464arrow::Result<std::unique_ptr<SchemaResult>> FlightSqlClient::GetExportedKeysSchema(
465 const FlightCallOptions& options) {

Callers 2

RunMainFunction · 0.80

Calls 2

GetFlightInfoForCommandFunction · 0.70
valueMethod · 0.45

Tested by 2

RunMainFunction · 0.64