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

Function setDataVector

src/include/common/vector/value_vector.h:202–206  ·  view source on GitHub ↗

If you call setDataVector during initialize, there must be a followed up copyListEntryAndBufferMetaData at runtime. TODO(Xiyang): try to merge setDataVector & copyListEntryAndBufferMetaData

Source from the content-addressed store, hash-verified

200 // copyListEntryAndBufferMetaData at runtime.
201 // TODO(Xiyang): try to merge setDataVector & copyListEntryAndBufferMetaData
202 static void setDataVector(const ValueVector* vector, std::shared_ptr<ValueVector> dataVector) {
203 DASSERT(validateType(*vector));
204 auto& listBuffer = getAuxBufferUnsafe(*vector);
205 listBuffer.setDataVector(std::move(dataVector));
206 }
207 static void copyListEntryAndBufferMetaData(ValueVector& vector,
208 const SelectionVector& selVector, const ValueVector& other,
209 const SelectionVector& otherSelVector);

Callers 1

compileFuncFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected