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

Method insertEntry

src/processor/operator/index_lookup.cpp:172–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170 }
171
172 void insertEntry(offset_t entry, sel_t posInKeyVector) {
173 auto* offsets = reinterpret_cast<offset_t*>(resultVector->getData());
174 offsets[posInKeyVector] = entry;
175 if (ignoreErrors) {
176 // if the lookup was successful we may add the current entry to the output selection
177 resultVector->state->getSelVectorUnsafe()[insertOffset] = posInKeyVector;
178 }
179 ++insertOffset;
180 }
181
182 bool ignoreErrors;
183 ValueVector* resultVector;

Callers 1

Calls 1

getDataMethod · 0.45

Tested by

no test coverage detected