Re: Map Lexicoder

2015-12-28 Thread Adam J. Shook
Hi Josh, Thanks for the advice. I'm with you on using the CQ and Value instead of putting the whole map into a Value, but what I am working on is using the relational model of mapping data to Accumulo and expects the value of the cell to be in the Value. Certainly some optimization

Map Lexicoder

2015-12-28 Thread Adam J. Shook
Hello all, Any suggestions for using a Map Lexicoder (or implementing one)? I am currently using a new ListLexicoder(new PairLexicoder(some lexicoder, some lexicoder), which is working for single maps. However, when one of the lexicoders in the Pair is itself a Map (and therefore another

Re: Map Lexicoder

2015-12-28 Thread Josh Elser
Looks like you would have to implement some kind of ComparableMap to be able to use the PairLexicoder (see that the parameterization requires both types in the Pair to implement Comparable). The Pair lexicoder requires these Comparable types to align itself with the original goal of the

Re: Map Lexicoder

2015-12-28 Thread Josh Elser
Gotcha, thanks for the background. I think as long as you can preserve the same level of compatibility with the other lexicoders, this would be a nice addition. If it's an itch you want to scratch, others probably will want to do the same too :) Keith probably knows the most about what