merge

abstract fun merge(existing: Record, incoming: Record): Pair<Record, Set<String>>

Merges the incoming Record with the existing Record.

Return

a pair of the resulting merged Record and a set of field keys which have changed or were added.