MCPcopy Create free account
hub / github.com/apache/arrow-rs / execute

Method execute

arrow-flight/src/sql/client.rs:146–156  ·  view source on GitHub ↗

Execute a query on the server.

(
        &mut self,
        query: String,
        transaction_id: Option<Bytes>,
    )

Source from the content-addressed store, hash-verified

144
145 /// Execute a query on the server.
146 pub async fn execute(
147 &mut self,
148 query: String,
149 transaction_id: Option<Bytes>,
150 ) -> Result<FlightInfo> {
151 let cmd = CommandStatementQuery {
152 query,
153 transaction_id,
154 };
155 self.get_flight_info_for_command(cmd).await
156 }
157
158 /// Perform a `handshake` with the server, passing credentials and establishing a session.
159 ///

Callers 2

mainFunction · 0.80
test_selectFunction · 0.80

Calls 3

write_bind_paramsMethod · 0.80
cloneMethod · 0.45

Tested by 1

test_selectFunction · 0.64