QueryRecordReader

How a gateway reads the records its backend returns, in place of the schema's response masks: a model whose records the backend returns as stored and the gateway reads as the model shows them (the events model). The record is the backend's own, fresh instance; the reader may change it in place and return it. revealsDisplay says whether the query reveals DISPLAY values (QueryCaller.revealsDisplay), which the reader then returns raw. The masked fields it met that the model's schema does not name (a scheduled command's) go to met, for the audit.

Functions

Link copied to clipboard
abstract fun read(record: ObjectNode, revealsDisplay: Boolean, met: (MaskedPaths) -> Unit): ObjectNode