Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C24528AE1 for ; Wed, 10 Aug 2011 19:24:51 +0000 (UTC) Received: (qmail 87846 invoked by uid 500); 10 Aug 2011 19:24:51 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 87700 invoked by uid 500); 10 Aug 2011 19:24:50 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 87685 invoked by uid 99); 10 Aug 2011 19:24:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Aug 2011 19:24:50 +0000 X-ASF-Spam-Status: No, hits=-2000.8 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Aug 2011 19:24:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D10BBB6BEA for ; Wed, 10 Aug 2011 19:24:28 +0000 (UTC) Date: Wed, 10 Aug 2011 19:24:28 +0000 (UTC) From: "Wayne (JIRA)" To: issues@hbase.apache.org Message-ID: <75376033.24952.1313004268852.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (HBASE-4187) Add Thrift Column Start/Stop Read/Scan Capability MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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 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. For more information on JIRA, see: http://www.atlassian.com/software/jira