| 180 | } |
| 181 | |
| 182 | ColumnChunkMetadata Column::flushData(const ColumnChunkData& chunkData, |
| 183 | PageAllocator& pageAllocator) { |
| 184 | DASSERT(chunkData.sanityCheck()); |
| 185 | const auto preScanMetadata = chunkData.getMetadataToFlush(); |
| 186 | auto allocatedBlock = pageAllocator.allocatePageRange(preScanMetadata.getNumPages()); |
| 187 | return chunkData.flushBuffer(pageAllocator, allocatedBlock, preScanMetadata); |
| 188 | } |
| 189 | |
| 190 | void Column::scan(const ChunkState& state, offset_t startOffsetInChunk, offset_t length, |
| 191 | ValueVector* resultVector, uint64_t offsetInVector) const { |
nothing calls this directly
no test coverage detected