This implementation is not serializable.
I would like to broadcast the rtree2 in spark. this requires me to have it serializable.
How could I add this functionality back in?
// deserialize the entries from disk (for example)
List<Entry<Thing, Point> entries = ...
// bulk load
RTree<Thing, Point> tree = RTree.maxChildren(28).star().create(entries);
how could something like this work in the case of a spark broadcast variable?
This implementation is not serializable.
I would like to broadcast the rtree2 in spark. this requires me to have it serializable.
How could I add this functionality back in?
how could something like this work in the case of a spark broadcast variable?