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

Method checkZoneMap

src/storage/predicate/null_predicate.cpp:6–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4
5namespace lbug::storage {
6common::ZoneMapCheckResult ColumnNullPredicate::checkZoneMap(
7 const MergedColumnChunkStats& mergedStats) const {
8 const bool statToCheck = (expressionType == common::ExpressionType::IS_NULL) ?
9 mergedStats.guaranteedNoNulls :
10 mergedStats.guaranteedAllNulls;
11 return statToCheck ? common::ZoneMapCheckResult::SKIP_SCAN :
12 common::ZoneMapCheckResult::ALWAYS_SCAN;
13}
14
15} // namespace lbug::storage

Callers 1

getZoneMapResultFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected