hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-33) Add a HTable get/obtainScanner method that retrieves all versions of a particular column and row between two timestamps
Date Mon, 30 Jun 2008 21:20:45 GMT

    [ https://issues.apache.org/jira/browse/HBASE-33?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12609372#action_12609372
] 

stack commented on HBASE-33:
----------------------------

I chatted with the customer who wanted this issue the most -- powerset pipeline -- and the
lads said that they want 0.2 out more than they want this feature and that they can live with
this issue being punted to 0.3.

> Add a HTable get/obtainScanner method that retrieves all versions of a particular column
and row between two timestamps
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-33
>                 URL: https://issues.apache.org/jira/browse/HBASE-33
>             Project: Hadoop HBase
>          Issue Type: New Feature
>          Components: client
>            Reporter: Peter Dolan
>            Assignee: Jim Kellerman
>            Priority: Blocker
>             Fix For: 0.2.0
>
>
> The use case:
> * A weblog application for which rows are user ids and posts are stored in a single column,
with post date specified by the cell's timestamp.  The application would then need to be able
to display all posts for the last week or month.
> * A feedfetcher for which rows are URLs and feed posts are stored in a single column
with the post publish date or fetch time stored in the cell's timestamp.  The application
would then need to be able to display all posts for the last week or month.
> Proposed API:
> // Get all versions of the specified row and column whose timestamps are in [minTimestamp,
maxTimestamp]
> SortedMap<long, byte[]> getTimestamps(Text row, Text column, long minTimestamp,
long maxTimestamp);
> // Get all versions of the specified row and column whose timestamps are >= minTimestamp
> SortedMap<long, byte[]> getTimestamps(Text row, Text column, long minTimestamp);
> I'd be happy to take this on myself, as I need it for the above use cases before migrating
my application over to HBase.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message