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

Method FromArrays

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

Source from the content-addressed store, hash-verified

540}
541
542Result<std::shared_ptr<ListArray>> ListArray::FromArrays(
543 const Array& offsets, const Array& values, MemoryPool* pool,
544 std::shared_ptr<Buffer> null_bitmap, int64_t null_count) {
545 return ListArrayFromArrays<ListType>(std::make_shared<ListType>(values.type()), offsets,
546 values, pool, std::move(null_bitmap), null_count);
547}
548
549Result<std::shared_ptr<ListArray>> ListArray::FromListView(const ListViewArray& source,
550 MemoryPool* pool) {

Callers

nothing calls this directly

Calls 9

TypeErrorFunction · 0.50
InvalidFunction · 0.50
typeMethod · 0.45
idMethod · 0.45
ToStringMethod · 0.45
EqualsMethod · 0.45
value_typeMethod · 0.45
lengthMethod · 0.45
list_sizeMethod · 0.45

Tested by

no test coverage detected