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

Method GetImportedKeys

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

Source from the content-addressed store, hash-verified

468}
469
470arrow::Result<std::unique_ptr<FlightInfo>> FlightSqlClient::GetImportedKeys(
471 const FlightCallOptions& options, const TableRef& table_ref) {
472 flight_sql_pb::CommandGetImportedKeys command;
473
474 if (table_ref.catalog.has_value()) {
475 command.set_catalog(table_ref.catalog.value());
476 }
477
478 if (table_ref.db_schema.has_value()) {
479 command.set_db_schema(table_ref.db_schema.value());
480 }
481
482 command.set_table(table_ref.table);
483
484 return GetFlightInfoForCommand(this, options, command);
485}
486
487arrow::Result<std::unique_ptr<SchemaResult>> FlightSqlClient::GetImportedKeysSchema(
488 const FlightCallOptions& options) {

Callers 2

RunMainFunction · 0.80

Calls 2

GetFlightInfoForCommandFunction · 0.70
valueMethod · 0.45

Tested by 2

RunMainFunction · 0.64