You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Guido Serra aka Zeph (JIRA)" <ji...@apache.org> on 2013/02/22 16:48:12 UTC
[jira] [Created] (HBASE-7907) time range Scan to be made available
via Thrift
Guido Serra aka Zeph created HBASE-7907:
-------------------------------------------
Summary: time range Scan to be made available via Thrift
Key: HBASE-7907
URL: https://issues.apache.org/jira/browse/HBASE-7907
Project: HBase
Issue Type: New Feature
Reporter: Guido Serra aka Zeph
this is the mapping of the Scan Object in Thrift as of today at
- http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/resources/org/apache/hadoop/hbase/thrift/Hbase.thrift?view=markup
{code}
132 /**
133 * A Scan object is used to specify scanner parameters when opening a scanner.
134 */
135 struct TScan {
136 1:optional Text startRow,
137 2:optional Text stopRow,
138 3:optional i64 timestamp,
139 4:optional list<Text> columns,
140 5:optional i32 caching,
141 6:optional Text filterString
142 }
{code}
this is the Scan Object
- http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/Scan.html
which has:
bq. To only retrieve columns within a specific range of version timestamps, execute setTimeRange.
and
bq. To only retrieve columns with a specific timestamp, execute setTimestamp.
the second functionality/method is reachable, the first one setTimeRange() is not (or at least at me) via Thrift
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira