| 32 | // Primitive array base |
| 33 | |
| 34 | PrimitiveArray::PrimitiveArray(const std::shared_ptr<DataType>& type, int64_t length, |
| 35 | const std::shared_ptr<Buffer>& data, |
| 36 | const std::shared_ptr<Buffer>& null_bitmap, |
| 37 | int64_t null_count, int64_t offset) { |
| 38 | SetData(ArrayData::Make(type, length, {null_bitmap, data}, null_count, offset)); |
| 39 | } |
| 40 | |
| 41 | // ---------------------------------------------------------------------- |
| 42 | // BooleanArray |