| 1745 | } |
| 1746 | |
| 1747 | Status ImportFixedSizePrimitive(const FixedWidthType& type) { |
| 1748 | RETURN_NOT_OK(CheckNoChildren()); |
| 1749 | RETURN_NOT_OK(CheckNumBuffers(2)); |
| 1750 | RETURN_NOT_OK(AllocateArrayData()); |
| 1751 | RETURN_NOT_OK(ImportNullBitmap()); |
| 1752 | if (bit_util::IsMultipleOf8(type.bit_width())) { |
| 1753 | RETURN_NOT_OK(ImportFixedSizeBuffer(1, type.bit_width() / 8)); |
| 1754 | } else { |
| 1755 | DCHECK_EQ(type.bit_width(), 1); |
| 1756 | RETURN_NOT_OK(ImportBitsBuffer(1)); |
| 1757 | } |
| 1758 | return Status::OK(); |
| 1759 | } |
| 1760 | |
| 1761 | Status ImportBinaryView(const BinaryViewType&) { |
| 1762 | RETURN_NOT_OK(CheckNoChildren()); |
nothing calls this directly
no test coverage detected