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

Method getMinimumSizeOnDisk

src/storage/table/column_chunk_data.cpp:1100–1105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1098ColumnChunkData::~ColumnChunkData() = default;
1099
1100uint64_t ColumnChunkData::getMinimumSizeOnDisk() const {
1101 if (hasNullData() && nullData->getSizeOnDisk() > 0) {
1102 return 2 * LBUG_PAGE_SIZE;
1103 }
1104 return LBUG_PAGE_SIZE;
1105}
1106
1107} // namespace storage
1108} // namespace lbug

Callers

nothing calls this directly

Calls 2

hasNullDataFunction · 0.85
getSizeOnDiskMethod · 0.45

Tested by

no test coverage detected