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