Expand description
Certainty-tagged wrappers around a row-address mask returned by a scalar-index expression evaluation.
These types model the three possible degrees of knowledge an index search can return:
Exactโ the mask is the precise answer; no recheck needed.AtMostโ the mask is a superset of the true answer; the rows inside the mask must be rechecked against the predicate.AtLeastโ the mask is a subset of the true answer; the rows outside the mask must be rechecked against the predicate.
The boolean algebra (Not/BitAnd/BitOr) is implemented on both
NullableIndexExprResult (the form during evaluation, carrying SQL
three-valued logic via NullableRowAddrMask) and
IndexExprResult (the form consumed by the read planner, after
drop_nulls collapses NULL rows into FALSE).
Enumsยง
- Index
Expr Result - Result of an index search after NULL rows have been dropped. This is what the read planner consumes.
- Nullable
Index Expr Result - Result of an index search before NULL rows are dropped. Carries
three-valued-logic information via
NullableRowAddrMask.