ColumnScan

What a column scan found, and what it cost.

The counters are the point. "A column scan touches no document" is a claim about work, not about results, and a result set alone cannot demonstrate it — so documentsRead is reported and the suite asserts it is zero in the same test as the differential equality against a full scan. On its own it would pass trivially for a query that returned nothing.

Properties

Link copied to clipboard

Statistics blocks whose values were examined.

Link copied to clipboard

Statistics blocks ruled out by their bounds without reading a value.

Link copied to clipboard
Link copied to clipboard

Documents opened to produce keys.

Link copied to clipboard
val keys: List<Key>

The matching keys, deduplicated and sorted.

Link copied to clipboard

Segments ruled out by their bounds without reading a block.

Link copied to clipboard

Whether the column answered at all, or the scan was a fallback.

Functions

Link copied to clipboard
open override fun toString(): String