MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / ArrowQueryResult

Method ArrowQueryResult

src/main/query_result/arrow_query_result.cpp:255–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253} // namespace
254
255ArrowQueryResult::ArrowQueryResult(std::vector<ArrowArray> arrays, int64_t chunkSize)
256 : QueryResult{type_},
257 arraysStorage{std::make_shared<std::vector<ArrowArray>>(std::move(arrays))},
258 chunkSize_{chunkSize} {
259 for (const auto& array : *arraysStorage) {
260 numTuples += array.length;
261 }
262}
263
264ArrowQueryResult::ArrowQueryResult(std::vector<ArrowArray> arrays, int64_t chunkSize,
265 std::vector<CSRMetadata> csrChunks)

Callers

nothing calls this directly

Calls 3

hasNextMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected