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

Function GetSchemaForCommand

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

Source from the content-addressed store, hash-verified

57}
58
59arrow::Result<std::unique_ptr<SchemaResult>> GetSchemaForCommand(
60 FlightSqlClient* client, const FlightCallOptions& options,
61 const google::protobuf::Message& command) {
62 ARROW_ASSIGN_OR_RAISE(FlightDescriptor descriptor,
63 GetFlightDescriptorForCommand(command));
64 return client->GetSchema(options, descriptor);
65}
66
67// Pack a protobuf action and send it to the server.
68arrow::Result<std::unique_ptr<ResultStream>> DoProtoAction(

Callers 12

GetExecuteSchemaMethod · 0.85
GetCatalogsSchemaMethod · 0.85
GetDbSchemasSchemaMethod · 0.85
GetTablesSchemaMethod · 0.85
GetPrimaryKeysSchemaMethod · 0.85
GetExportedKeysSchemaMethod · 0.85
GetImportedKeysSchemaMethod · 0.85
GetTableTypesSchemaMethod · 0.85
GetXdbcTypeInfoSchemaMethod · 0.85
GetSqlInfoSchemaMethod · 0.85

Calls 1

GetSchemaMethod · 0.45

Tested by

no test coverage detected