pub fn write_table_batch(&mut self, batch: TableBatch<'_>) -> Result<()> {
        let table_name = batch.name();
        assert_eq!(
            table_name,
            self.table_name.as_ref(),
            "can only insert table batch for a single table to chunk"
        );

        self.write_columns(batch.columns())?;

        // Invalidate chunk snapshot
        *self
            .snapshot
            .try_lock()
            .expect("concurrent readers/writers to MBChunk") = None;

        Ok(())
    }
/// Write the contents of a [`TableBatch`] into this Chunk.
///
/// Panics if the batch specifies a different name for the table in this Chunk
Write the contents of a [`TableBatch`] into this Chunk.
Panics if the batch specifies a different name for the table in this Chunk
Write the contents of a [ ` TableBatch ` ] into this Chunk . Panics if the batch specifies a different name for the table in this Chunk
pub fn write_table_batch(&mut self, batch: TableBatch<'_>) -> Result<()> {
        let table_name = batch.name();
        assert_eq!(
            table_name,
            self.table_name.as_ref(),
            "can only insert table batch for a single table to chunk"
        );
        self.write_columns(batch.columns())?;
        // Invalidate chunk snapshot
        *self
            .snapshot
            .try_lock()
            .expect("concurrent readers/writers to MBChunk") = None;
        Ok(())
    }
pub fn write_table_batch ( & mut self , batch : TableBatch < ' _ > ) -> Result < ( ) > { let table_name = batch . name ( ) ; assert_eq ! ( table_name self table_name as_ref ( ) " " ) ; self . write_columns ( batch . columns ( ) ) ? ; // Invalidate chunk snapshot * self . snapshot . try_lock ( ) . expect ( " " ) = None ; Ok ( ( ) ) }
Write the contents of a [`TableBatch`] into this Chunk.
Write the contents of a [ ` TableBatch ` ] into this Chunk .
&mut self
batch
TableBatch<'_>
&mut self
batch
TableBatch<'_>