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

Function getConstantFloatMetadata

src/storage/table/column_chunk_metadata.cpp:132–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130
131namespace {
132ColumnChunkMetadata getConstantFloatMetadata(PhysicalTypeID physicalType, uint64_t numValues,
133 StorageValue min, StorageValue max) {
134 return {INVALID_PAGE_IDX, 0, numValues,
135 CompressionMetadata(min, max, CompressionType::CONSTANT, alp::state{}, StorageValue{0},
136 StorageValue{0}, physicalType)};
137}
138
139template<std::floating_point T>
140alp::state getAlpMetadata(const T* buffer, uint64_t numValues) {

Callers 1

operator()Method · 0.85

Calls 1

CompressionMetadataClass · 0.50

Tested by

no test coverage detected