Package with various synchronous getter methods to retrieve data from Datomic with molecules.

Package with various synchronous getter methods to retrieve data from Datomic with molecules.

For the Datomic Peer model, Datomic returns data synchronously.
The Peer lives in application memory and caches data aggressively to save roundtrips to
disk or memcached. Query results that can fit in memory will therefore have near-zero latency
and return extremely fast.

Molecule has not yet addressed the Client api although the query engine would be the same
as for the current Peer version.

Molecule has 5 groups of getters each returning data in various formats:

To show the entity graph, this method quotes all text strings so that you can paste the whole graph
into any presentation. Pasting it into test code is less useful, since the order of key/value pairs in
a Map is not guaranteed. In that case, touchListQuoted is recommended since a List guarantees order.

If entity has reference(s) to other entities it can be a nested graph. Default max levels retrieved is 5.

Keys of returned Map are namespaced names of attributes

Values of returned Map are untyped attribute values. For references to other entities,
the value is a Map itself of the referenced entity attributes, etc.

To show the entity graph, this method quotes all text strings so that you can paste the whole graph
into any presentation. Pasting it into test code is less useful, since the order of key/value pairs in
a Map is not guaranteed. In that case, touchListQuoted(maxLevel) is recommended since a List guarantees order.

Keys of returned Map are namespaced names of attributes

Values of returned Map are untyped attribute values. For references to other entities,
the value is a Map itself of the referenced entity attributes, etc.