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

Method with_flight_descriptor

arrow-flight/src/encode.rs:232–235  ·  view source on GitHub ↗

Specify a flight descriptor in the first FlightData message.

(mut self, descriptor: Option<FlightDescriptor>)

Source from the content-addressed store, hash-verified

230
231 /// Specify a flight descriptor in the first FlightData message.
232 pub fn with_flight_descriptor(mut self, descriptor: Option<FlightDescriptor>) -> Self {
233 self.descriptor = descriptor;
234 self
235 }
236
237 /// Takes a [`Stream`] of [`Result<RecordBatch>`] and returns a [`Stream`]
238 /// of [`FlightData`], consuming self.

Callers 6

execute_ingestMethod · 0.80
write_bind_paramsMethod · 0.80
test_do_put_empty_streamFunction · 0.80

Calls

no outgoing calls