explain

fun explain(query: Query, snapshot: Snapshot? = null): Explain

How query would be answered, and why.

Reads the sidecars it would use, so the cardinalities it reports are measured rather than estimated. That is what makes it usable as a test instrument: asserting which index a plan chose, and in which order it intersects, without timing anything.