/// Appends a null slot into the builder
Appends a null slot into the builder
Appends a null slot into the builder
pub fn append_null(&mut self) {
        if T::get_data_type() == ArrowDataType::Boolean {
            self.builder.append_null().expect("memory error");
        } else {
            self.update_null_bitmap();
            self.null_pointer = self.aligned_vec.len() + 1;
            self.bitmap_builder.append(false).expect("memory error");
            self.null_count += 1;
            unsafe {
                self.aligned_vec.set_len(self.aligned_vec.len() + 1);
            }
        }
    }
pub fn append_null ( & mut self ) { if T :: get_data_type ( ) == ArrowDataType :: Boolean { self . builder . append_null ( ) . expect ( " " ) ; } else { self . update_null_bitmap ( ) ; self . null_pointer = self . aligned_vec . len ( ) + 1 ; self . bitmap_builder . append ( false ) . expect ( " " ) ; self . null_count += 1 ; unsafe { self . aligned_vec . set_len ( self . aligned_vec . len ( ) + 1 ) ; } } }
Appends a null slot into the builder
Appends a null slot into the builder
&mut self