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

Method with_metadata

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

Specify application specific metadata included in the [`FlightData::app_metadata`] field of the the first Schema message

(mut self, app_metadata: Bytes)

Source from the content-addressed store, hash-verified

209 /// [`FlightData::app_metadata`] field of the the first Schema
210 /// message
211 pub fn with_metadata(mut self, app_metadata: Bytes) -> Self {
212 self.app_metadata = app_metadata;
213 self
214 }
215
216 /// Set the [`IpcWriteOptions`] used to encode the [`RecordBatch`]es for transport.
217 pub fn with_options(mut self, options: IpcWriteOptions) -> Self {

Callers 6

prepare_field_for_flightFunction · 0.45
test_schema_metadataFunction · 0.45
test_app_metadataFunction · 0.45

Calls

no outgoing calls

Tested by 4

test_schema_metadataFunction · 0.36
test_app_metadataFunction · 0.36