Yes that is a very good point. I will need to update that interface to
take the existing value.
Another potential problem with the interface is that the
transformation happens per-value. So if there are no values there are
no transformations. This means that you cannot create a view that
masks missing values. Not sure if this is important or not.
Anyhow, there is clearly some baking needed here. I think it would be
good for me to try to implement so of these use cases and see what
they look like. We could start a little contrib library with some
support for basic data structures.
One thing that would make this much more powerful was if there was a
way to specify additional query information that is not used for
partitioning and routing in the query. For example we have long had
the idea of storing personalized indexes in voldemort for things like
inbox search and addressbook search. And an inverted index like lucene
uses is inherently a serializable structure so this would be a natural
thing to do. Clearly a view would push this computation closer to the
data, but you need to be able to pass in additional query info aside
from the primary key (say a user id) to make this possible. This would
be a larger API change.
-Jay
> --
>
> You received this message because you are subscribed to the Google Groups
> "project-voldemort" group.
> To post to this group, send email to
project-...@googlegroups.com.
> To unsubscribe from this group, send email to
>
project-voldem...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/project-voldemort?hl=en.
>