| 1785 | |
| 1786 | template <typename StringType> |
| 1787 | Status ImportStringLike(const StringType& type) { |
| 1788 | RETURN_NOT_OK(CheckNoChildren()); |
| 1789 | RETURN_NOT_OK(CheckNumBuffers(3)); |
| 1790 | RETURN_NOT_OK(AllocateArrayData()); |
| 1791 | RETURN_NOT_OK(ImportNullBitmap()); |
| 1792 | RETURN_NOT_OK(ImportOffsetsBuffer<typename StringType::offset_type>(1)); |
| 1793 | RETURN_NOT_OK(ImportStringValuesBuffer<typename StringType::offset_type>(1, 2)); |
| 1794 | return Status::OK(); |
| 1795 | } |
| 1796 | |
| 1797 | template <typename ListType> |
| 1798 | Status ImportListLike(const ListType& type) { |