Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions arrow-flight/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,12 @@ impl FlightInfo {
self
}

/// Add endpoints for fetching all data
pub fn with_endpoints(mut self, endpoints: Vec<FlightEndpoint>) -> Self {
self.endpoint = endpoints;
self
}

/// Add a [`FlightDescriptor`] describing what this data is
pub fn with_descriptor(mut self, flight_descriptor: FlightDescriptor) -> Self {
self.flight_descriptor = Some(flight_descriptor);
Expand Down
Loading