Fixes #243 Tuples should no longer be squashed in the event store

> This does nothing. You need to set metas to the return value of the
function inorder to actually get a collection with the transform applied.

Good point- It was late when I was refactoring this.

On Wed, Nov 26, 2014 at 2:02 PM, Corey Nolet <cjnolet@gmail.com> wrote:

> I was pretty sure i was wrapping it with a new HashMap because of that.
>
> On Wed, Nov 26, 2014 at 2:01 PM, eawagner <notifications@github.com>
> wrote:
>
>> In
>> commons/src/main/java/org/calrissian/accumulorecipes/commons/support/qfd/QfdHelper.java:
>>
>> >
>> > -    public TypeRegistry<String> getTypeRegistry() {
>> > -        return typeRegistry;
>> > +  private static Function<Map<String,Object>, Map<String,Object>> removeVisFunction =
>> > +      new Function<Map<String,Object>,Map<String,Object>>() {
>> > +    @Override
>> > +    public Map<String,Object> apply(Map<String,Object> stringObjectMap) {
>> > +      stringObjectMap.remove(VISIBILITY);
>>
>> This would actually throw a UnsupportedOperationException if actually
>> called. Tuple metadata returns an unmodifiable map to keep it immutable.
>>
>> —
>> Reply to this email directly or view it on GitHub
>> <https://github.com/calrissian/accumulo-recipes/pull/244/files#r20956152>
>> .
>>
>
>