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