/// Write to a parquet buffer using an iterator over optional source items. A default
/// transformation, defined via the `IntoPhysical` trait is used to transform the items into
/// buffer elements.
Write to a parquet buffer using an iterator over optional source items. A default
transformation, defined via the `IntoPhysical` trait is used to transform the items into
buffer elements.
Write to a parquet buffer using an iterator over optional source items . A default transformation defined via the ` IntoPhysical ` trait is used to transform the items into buffer elements .
pub fn write_optional<T, S>(
        &mut self,
        cw: &mut ColumnWriterImpl<T>,
        source: impl Iterator<Item = Option<S>>,
    ) -> Result<(), Error>
    where
        T: DataType,
        T::T: BufferedDataType,
        S: IntoPhysical<T::T>,
    {
        self.write_optional_any(cw, source, |s| s.into_physical())
    }
pub fn write_optional < T , S > ( & mut self , cw : & mut ColumnWriterImpl < T > , source : impl Iterator < Item = Option < S > > , ) -> Result < ( ) , Error > where T : DataType , T :: T : BufferedDataType , S : IntoPhysical < T :: T > , { self . write_optional_any ( cw , source , | s | s . into_physical ( ) ) }
Write to a parquet buffer using an iterator over optional source items.
Write to a parquet buffer using an iterator over optional source items .
&mut self
cw
&mut ColumnWriterImpl<T>
source
impl Iterator<Item = Option<S>>