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

Method updateFlatCell

src/processor/result/factorized_table.cpp:293–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291}
292
293void FactorizedTable::updateFlatCell(uint8_t* tuplePtr, ft_col_idx_t colIdx,
294 ValueVector* valueVector, uint32_t pos) {
295 auto nullBuffer = tuplePtr + tableSchema.getNullMapOffset();
296 if (valueVector->isNull(pos)) {
297 setNonOverflowColNull(nullBuffer, colIdx);
298 } else {
299 valueVector->copyToRowData(pos, tuplePtr + tableSchema.getColOffset(colIdx),
300 inMemOverflowBuffer.get());
301 NullBuffer::setNoNull(nullBuffer, colIdx);
302 }
303}
304
305bool FactorizedTable::isOverflowColNull(const uint8_t* nullBuffer, ft_tuple_idx_t tupleIdx,
306 ft_col_idx_t colIdx) const {

Callers 2

Calls 3

copyToRowDataMethod · 0.80
isNullMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected