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

Function GetArrayPointers

cpp/src/arrow/compute/kernels/chunked_internal.cc:28–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26namespace arrow::compute::internal {
27
28std::vector<const Array*> GetArrayPointers(const ArrayVector& arrays) {
29 std::vector<const Array*> pointers(arrays.size());
30 std::transform(arrays.begin(), arrays.end(), pointers.begin(),
31 [&](const std::shared_ptr<Array>& array) { return array.get(); });
32 return pointers;
33}
34
35std::vector<int64_t> ChunkedIndexMapper::GetChunkLengths(
36 std::span<const Array* const> chunks) {

Calls 4

sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected