Skip to content

Commit

Permalink
Link to builder (apache#4385)
Browse files Browse the repository at this point in the history
  • Loading branch information
tustvold committed Jun 8, 2023
1 parent 0fff1fa commit a055fc2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions arrow-array/src/array/map_array.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ use std::sync::Arc;
///
/// [MapArray] is physically a [crate::array::ListArray] that has a
/// [StructArray] with 2 child fields.
///
/// See [`MapBuilder`](crate::builder::MapBuilder) for how to construct a [`MapArray`]
#[derive(Clone)]
pub struct MapArray {
data_type: DataType,
Expand All @@ -42,6 +44,9 @@ pub struct MapArray {
impl MapArray {
/// Create a new [`MapArray`] from the provided parts
///
/// See [`MapBuilder`](crate::builder::MapBuilder) for a higher-level interface
/// to construct a [`MapArray`]
///
/// # Errors
///
/// Errors if
Expand Down Expand Up @@ -110,6 +115,9 @@ impl MapArray {

/// Create a new [`MapArray`] from the provided parts
///
/// See [`MapBuilder`](crate::builder::MapBuilder) for a higher-level interface
/// to construct a [`MapArray`]
///
/// # Panics
///
/// Panics if [`Self::try_new`] returns an error
Expand Down

0 comments on commit a055fc2

Please sign in to comment.