| 1796 | |
| 1797 | template <typename ListType> |
| 1798 | Status ImportListLike(const ListType& type) { |
| 1799 | RETURN_NOT_OK(CheckNumChildren(1)); |
| 1800 | RETURN_NOT_OK(CheckNumBuffers(2)); |
| 1801 | RETURN_NOT_OK(AllocateArrayData()); |
| 1802 | RETURN_NOT_OK(ImportNullBitmap()); |
| 1803 | RETURN_NOT_OK(ImportOffsetsBuffer<typename ListType::offset_type>(1)); |
| 1804 | return Status::OK(); |
| 1805 | } |
| 1806 | |
| 1807 | template <typename ListViewType> |
| 1808 | Status ImportListView(const ListViewType& type) { |