| 445 | } |
| 446 | |
| 447 | arrow::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 | |
| 464 | arrow::Result<std::unique_ptr<SchemaResult>> FlightSqlClient::GetExportedKeysSchema( |
| 465 | const FlightCallOptions& options) { |