We do have the views functionality for retrieving only a subset of the
data. This has been merged in master but should be more thoroughly
documented with examples. The idea for this is for being able to do
simple predicate or projection push-down on the server.
The issue is that while the view approach does minimize network
latency, there is still an issue that the whole value would have to be
fetched from disk (as opposed to true columnar storage, where is some
equivalent of an index into the value, allowing only specific columns
to be retrieved from disk). It *may* be possible to do something like
this with BerkeleyDB's ReadPartial mode, but we haven't looked into
it.
Thanks,
- Alex
> --
> 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.
>
>
Views are dynamic in the sense that you can pass any objects (with
appropriate serialization) as parameters to the view class. The view
class is just a piece of Java code. This way, you can program it to
retrieve all sorts of data.
There's an example of a range filter view in the unit test:
There are some unsolved issues with views, however: namely, how to
perform read repair and hinted handoff.
Thanks,
- Alex