StaticBuildPure: index the change rows, run the continuity check against the current values, and expose replay.
changes is the history of the requested keys, and coverage and continuity are computed over exactly those keys: a
caller holding an entity-wide read hands in only the requested keys' rows. current is keyed by the lower-cased record key, as KeyedReader.ReadPresentByKeys produces it; a hard-deleted
record has no current row, so its Delete row stands in for it in the continuity check. The entity's field types
decide how two values of a field compare (see comparable).
StaticDeletedPure: see IRecordHistoryReader.LoadDeletedChildren; changes are the child entity's change rows.
StaticKeyThe primary-key value of a RecordID, lower-cased for in-memory matching. Parsed by MJ's own CompositeKey (the
Field|Value URL-segment form Record Changes store); PS units have one key column, so the first pair is the key.
StaticKeysThe lower-cased keys whose latest change row is a Delete: records the history says were deleted, so a missing
current row is explained rather than a short read. Asked only about keys with no current row, so each key's last
instant is gone after it (a Delete there ends it) and earlier instants rank by the row that follows (see indexByKey).
StaticWriteStarts the history of every record of entityName that has no complete Create or Snapshot change row, by saving
one Snapshot row holding the record as stored now. This is how an entity loaded before change tracking enters
coverage: its history starts now, so decision dates before now are still refused. Reads and saves run on
provider; returns the number of snapshots written.
Replay of
MJ: Record Changesrows, and the snapshots that start a record's history.