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

Method ChunkValue

cpp/src/arrow/compute/kernels/vector_sort.cc:204–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202
203 template <typename ArrowType>
204 auto ChunkValue(std::span<const Array* const> arrays,
205 CompressedChunkLocation loc) const {
206 return ResolvedChunk(arrays[loc.chunk_index()],
207 static_cast<int64_t>(loc.index_in_chunk()))
208 .template Value<ArrowType>();
209 }
210
211 std::span<uint64_t> indices_;
212 const std::shared_ptr<DataType>& physical_type_;

Callers

nothing calls this directly

Calls 3

ResolvedChunkClass · 0.85
chunk_indexMethod · 0.80
index_in_chunkMethod · 0.80

Tested by

no test coverage detected