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

Method populateExtraChunkState

src/storage/table/column.cpp:135–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135void Column::populateExtraChunkState(SegmentState& state) const {
136 if (state.metadata.compMeta.compression == CompressionType::ALP) {
137 if (dataType.getPhysicalType() == PhysicalTypeID::DOUBLE) {
138 state.alpExceptionChunk =
139 std::make_unique<InMemoryExceptionChunk<double>>(state, dataFH, mm, shadowFile);
140 } else if (dataType.getPhysicalType() == PhysicalTypeID::FLOAT) {
141 state.alpExceptionChunk =
142 std::make_unique<InMemoryExceptionChunk<float>>(state, dataFH, mm, shadowFile);
143 }
144 }
145}
146
147std::unique_ptr<ColumnChunkData> Column::flushChunkData(const ColumnChunkData& chunkData,
148 PageAllocator& pageAllocator) {

Callers 1

initializeScanStateMethod · 0.80

Calls 1

getPhysicalTypeMethod · 0.45

Tested by

no test coverage detected