You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Wayne (Resolved) (JIRA)" <ji...@apache.org> on 2012/01/21 14:23:40 UTC

[jira] [Resolved] (HBASE-4187) Add Thrift Column Start/Stop Read/Scan Capability

     [ https://issues.apache.org/jira/browse/HBASE-4187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wayne resolved HBASE-4187.
--------------------------

       Resolution: Fixed
    Fix Version/s: 0.92.0
     Release Note: Filters now support an offset,limit support to limit the reads to a definable col/chunk size.
    
> Add Thrift Column Start/Stop Read/Scan Capability
> -------------------------------------------------
>
>                 Key: HBASE-4187
>                 URL: https://issues.apache.org/jira/browse/HBASE-4187
>             Project: HBase
>          Issue Type: New Feature
>          Components: thrift
>    Affects Versions: 0.90.3
>            Reporter: Wayne
>             Fix For: 0.92.0
>
>
> It would be great to be able to make requests through thrift for a subset of a row via a start/stop column pattern. Below are three different read patterns any of which would significantly help reading columns through thrift. 
> From a single request perspective it would be nice to be able to specify a start/stop col to read in one call everything for that row with the specified start/stop column.
> getRowWithColumnRange(tableName, row, startColumn, stopColumn)
> It would also be very useful to set up a column scanner where we could stop at any point. Basically instead of scanning rows we would scan columns for a given row. In the below example we would set up a scanner to scan the columns and we could read xx cols back at a time and stop any time we had "enough" data.
> colScanID = colScannerOpenWithStop(tableName, row, startColumn, stopColumn)
> colScannerGetList(colSanID,1000)
> Lastly is would also be useful/flexible to expose columns to the current row scanner process to basically be able to cross rows and still only receive XX column values. The new scannerGetCols method below would return 1000 col values at a time instead of XX rows at a time like a normal scannerGetList. This scanner would also be able to cross rows seamlessly if needed.
> scanID = scannerOpen(tableName, row)
> scannerGetCols(scanID,1000)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira