Table of Contents

Enum QueryAccessPath

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

How a query reached one archetype's rows, as recorded by Explain(ExplainTerminal, string, int, string).

public enum QueryAccessPath : byte

Fields

BroadScan = 5

Every entity of the archetype, walked through its entity map; a Where(Func) predicate is then evaluated per entity.

ClusterScan = 4

Every active cluster, pruned by the index fields' zone maps, every predicate evaluated per slot. No tree is read.

Empty = 1

The query's archetype mask is empty: nothing was read.

IndexRange = 3

B+Tree range scan of an indexed field; predicates evaluated on the clusters it reached as for IndexSeek.

IndexSeek = 2

B+Tree seek on one key of an indexed field; the other predicates are evaluated on the clusters it reached, and the seeked field's own only when the range cannot enforce them alone (see EvaluatedPerEntity).

OccupancyCount = 6

Count() answered from the clusters' occupancy words (a popcount per cluster), no entity visited.

Skipped = 0

The archetype was not scanned: it cannot match (it lacks the predicate's component, or a component an Enabled/Disabled clause names).

Spatial = 7

The spatial index produced the candidates; other predicates were evaluated per candidate.

Remarks

A diagnostic vocabulary, not a contract on the planner: values may be added or split before 1.0.