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

Method getListSize

src/storage/table/list_chunk_data.cpp:86–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86list_size_t ListChunkData::getListSize(offset_t offset) const {
87 if (numValues == 0 || nullData->isNull(offset)) {
88 return 0;
89 }
90 DASSERT(offset < sizeColumnChunk->getNumValues());
91 return sizeColumnChunk->getValue<list_size_t>(offset);
92}
93
94void ListChunkData::setOffsetChunkValue(offset_t val, offset_t pos) {
95 offsetColumnChunk->setValue(val, pos);

Callers 2

appendMethod · 0.45
writeMethod · 0.45

Calls 2

isNullMethod · 0.45
getNumValuesMethod · 0.45

Tested by

no test coverage detected