MCPcopy Create free account
hub / github.com/apache/arrow / Bitmaps

Method Bitmaps

cpp/src/arrow/array/concatenate.cc:867–874  ·  view source on GitHub ↗

Gather the index-th buffer of each input as a Bitmap into a vector of Bitmaps.

Source from the content-addressed store, hash-verified

865 // Gather the index-th buffer of each input as a Bitmap
866 // into a vector of Bitmaps.
867 std::vector<Bitmap> Bitmaps(size_t index) {
868 std::vector<Bitmap> bitmaps(in_.size());
869 for (size_t i = 0; i < in_.size(); ++i) {
870 Range range(in_[i]->offset, in_[i]->length);
871 bitmaps[i] = Bitmap(in_[i]->buffers[index], range);
872 }
873 return bitmaps;
874 }
875
876 // Gather the index-th child_data of each input into a vector.
877 // Elements are sliced with that input's offset and length.

Callers

nothing calls this directly

Calls 2

BitmapClass · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected