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

Method FromListView

cpp/src/arrow/array/array_nested.cc:549–554  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

547}
548
549Result<std::shared_ptr<ListArray>> ListArray::FromListView(const ListViewArray& source,
550 MemoryPool* pool) {
551 ARROW_ASSIGN_OR_RAISE(
552 auto data, (ListFromListViewImpl<ListType, ListViewType>(source.data(), pool)));
553 return std::make_shared<ListArray>(std::move(data));
554}
555
556Result<std::shared_ptr<ListArray>> ListArray::FromArrays(
557 std::shared_ptr<DataType> type, const Array& offsets, const Array& values,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected