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

Method init

src/processor/operator/scan/scan_table.cpp:13–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11namespace processor {
12
13void ColumnCaster::init(ValueVector* vectorAfterCasting, storage::MemoryManager* memoryManager) {
14 this->vectorAfterCasting = vectorAfterCasting;
15 vectorBeforeCasting = std::make_shared<ValueVector>(columnType.copy(), memoryManager);
16 vectorBeforeCasting->setState(vectorAfterCasting->state);
17 funcInputVectors = {vectorBeforeCasting};
18 funcInputSelVectors = {&vectorBeforeCasting->state->getSelVectorUnsafe()};
19}
20
21void ColumnCaster::cast() {
22 if (jsonExtractPropertyName.has_value()) {

Callers 2

initScanStateVectorsMethod · 0.45

Calls 2

setStateMethod · 0.80
copyMethod · 0.45

Tested by

no test coverage detected