MCPcopy Create free account
hub / github.com/apache/arrow / ImportListView

Method ImportListView

cpp/src/arrow/c/bridge.cc:1808–1817  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1806
1807 template <typename ListViewType>
1808 Status ImportListView(const ListViewType& type) {
1809 using offset_type = typename ListViewType::offset_type;
1810 RETURN_NOT_OK(CheckNumChildren(1));
1811 RETURN_NOT_OK(CheckNumBuffers(3));
1812 RETURN_NOT_OK(AllocateArrayData());
1813 RETURN_NOT_OK(ImportNullBitmap());
1814 RETURN_NOT_OK((ImportOffsetsBuffer<offset_type, /*with_extra_offset=*/false>(1)));
1815 RETURN_NOT_OK(ImportSizesBuffer<offset_type>(2));
1816 return Status::OK();
1817 }
1818
1819 Status CheckNoChildren() { return CheckNumChildren(0); }
1820

Callers

nothing calls this directly

Calls 1

OKFunction · 0.50

Tested by

no test coverage detected