Re: simpler implementation of RiakMap

2015-11-16 Thread Alex Moore
Hey David, So with the CRDT Map implementation, you can have a register, a counter, an inner map, a set, and a flag embedded within a map, all with the same name (oh my!). In the underlying API the map entry identifier is actually made of both the name and the type, so you can pull off that bit

simpler implementation of RiakMap

2015-11-13 Thread David Byron
As I stare at the code for RiakMap in the riak-java-client (https://github.com/basho/riak-java-client/blob/develop/src/main/java/com/basho/riak/client/core/query/crdt/types/RiakMap.java), I have the urge for a simpler implementation. If I'm reading the code right, it looks like it handles a