[
https://issues.apache.org/jira/browse/HBASE-2793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12882881#action_12882881
]
Kannan Muthukkaruppan commented on HBASE-2793:
----------------------------------------------
With #3, in terms of API, what I had in mind was to add setTimeStamps() to the
Get object which takes a List of timestamps, and stashes away the list in a
private (new) field of the Get object.
On a Get object, the client may apply a setTimeStamp(), setTimeRange(),
setTimeStamps(), and these correspond to the equivalent notions in SQL
WHERE time = ts
WHERE time >= ts1 and time < ts2
WHERE time IN (ts1, ts2, ...., tsn)
respectively.
If client calls multiple of these APIs on the same Get object, we could simply
have a latest wins rule (which is already the case for the existing two API
calls).
> Add ability to extract a specified list of versions of a column in a single
> roundtrip
> -------------------------------------------------------------------------------------
>
> Key: HBASE-2793
> URL: https://issues.apache.org/jira/browse/HBASE-2793
> Project: HBase
> Issue Type: New Feature
> Reporter: Kannan Muthukkaruppan
> Assignee: Kannan Muthukkaruppan
>
> In one of the use cases we were looking at, each row contains a single
> column, but with several versions (e.g., each version representing an event
> in a log), and we want to be able to extract specific set of versions from
> the row in a single round-trip.
> Currently, on a Get, one can retrieve a specific version of a column using
> setTimeStamp(ts) or a range of versions using setTimeRange(min, max). But not
> a set of specified versions. It would be useful to add this ability.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.