3 ms·
Yes, thinking about the internal structure as a graph will give you the right ideas. We don't have support for collecting objects bottom up yet, bu t it is tra
by ChrMelchior 10y ago
Yes, thinking about the internal structure as a graph will give you the right ideas.
We don't have support for collecting objects bottom up yet, bu t it is tracked here: https://github.com/realm/realm-java/issues/2232 https://github.com/realm/realm-java/issues/2232
Realm Swift/Objective C has support for bi-directional references and we are adding that to Realm Java shortly as well: https://github.com/realm/realm-java/issues/607 https://github.com/realm/realm-java/issues/607 ..That will also help when doing bottom-up queries.
If you want to know more about the internal details. There is some talks/articles here that might interest you:
- https://realm.io/news/threading-deep-dive/ https://realm.io/news/threading-deep-dive/
- https://realm.io/news/jp-simard-realm-core-database-engine/ https://realm.io/news/jp-simard-realm-core-database-engine/
- https://www.youtube.com/watch?v=vGFInG96KH4 https://www.youtube.com/watch?v=vGFInG96KH4
- ysleepy 10y agoThanks ! I'm reading through the docs and it seems very appealing. Especially the Observability of changes. I assume this works well because it is contained in one Process.
- ChrMelchior 10y agoNo, the change notifications will work across processes as well. Realm Java still need to add multi-process support though (https://github.com/realm/realm-java/issues/1091 https://github.com/realm/realm-java/issues/1091), but it is working in Realm Swift/Objective C.