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

Method createVector

src/function/gds/output_writer.cpp:37–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37std::unique_ptr<ValueVector> RJOutputWriter::createVector(const LogicalType& type) {
38 auto vector = std::make_unique<ValueVector>(type.copy(), storage::MemoryManager::Get(*context));
39 vector->state = DataChunkState::getSingleValueDataChunkState();
40 vectors.push_back(vector.get());
41 return vector;
42}
43
44PathsOutputWriter::PathsOutputWriter(main::ClientContext* context,
45 NodeOffsetMaskMap* outputNodeMask, nodeID_t sourceNodeID, PathsOutputWriterInfo info,

Callers

nothing calls this directly

Calls 3

copyMethod · 0.45
push_backMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected