Skip to content

Commit

Permalink
test done for primitive array reader
Browse files Browse the repository at this point in the history
  • Loading branch information
liurenjie1024 committed Sep 13, 2019
1 parent 5bc0fda commit 2e898ff
Show file tree
Hide file tree
Showing 8 changed files with 1,324 additions and 107 deletions.
4 changes: 4 additions & 0 deletions rust/arrow/src/bitmap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ impl Bitmap {
assert!(i < (self.bits.len() << 3));
unsafe { bit_util::get_bit_raw(self.bits.raw_data(), i) }
}

pub fn to_buffer(self) -> Buffer {
self.bits
}
}

impl<'a, 'b> BitAnd<&'b Bitmap> for &'a Bitmap {
Expand Down
Loading

0 comments on commit 2e898ff

Please sign in to comment.