Constructor. Fields are added externally by the nosql implementation
via initializeApiDatamodel.
the OINONoSqlApi that owns this data model
ReadonlyapiDatabase refererence of the table
ReadonlyfieldsField refererences of the API
ReadonlynoReference to the owning NoSQL API
Convert an array of NoSQL entries into an in-memory dataset whose columns match the fields present in this model.
nosql entries from the storage backend
Find all fields based of given filter callback criteria (e.g. fields of certain data type, primary keys etc.)
callback called for each field to include or not
Find a field of a given name if any.
name of the field to find
Find index of a field of a given name if any.
name of the field to find
Return the primary key values of one row in order of the data model
data row
apply hashid when applicable
Pring debug information for the field
length of the debug output (or 0 for as long as needed)
Print debug information about the fields.
string to separate field prints
Print all public properties (db, table name, fields) of the datamodel. Used in automated testing validate schema has stayed the same.
Static data model for NoSQL entity listings.
The canonical field order is determined by the implementation's
initializeApiDatamodelcall. Primary key fields are mapped positionally toOINONoSqlEntry.primaryKey, while the remaining fields (timestamp,etag,properties) are matched by name.