Return-Path: Delivered-To: apmail-hadoop-hbase-user-archive@locus.apache.org Received: (qmail 58849 invoked from network); 28 Jul 2008 18:37:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Jul 2008 18:37:07 -0000 Received: (qmail 13367 invoked by uid 500); 28 Jul 2008 18:37:06 -0000 Delivered-To: apmail-hadoop-hbase-user-archive@hadoop.apache.org Received: (qmail 13345 invoked by uid 500); 28 Jul 2008 18:37:06 -0000 Mailing-List: contact hbase-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-user@hadoop.apache.org Delivered-To: mailing list hbase-user@hadoop.apache.org Received: (qmail 13332 invoked by uid 99); 28 Jul 2008 18:37:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Jul 2008 11:37:06 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=FUZZY_CPILL,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jdcryans@gmail.com designates 209.85.146.176 as permitted sender) Received: from [209.85.146.176] (HELO wa-out-1112.google.com) (209.85.146.176) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Jul 2008 18:36:09 +0000 Received: by wa-out-1112.google.com with SMTP id m33so3240901wag.9 for ; Mon, 28 Jul 2008 11:36:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=0ecsxpVx9vavCfena/9qr5Nu804rqW76A7XUPIKCekk=; b=rXNDxI+Emytdcclghjp/UELRPBswSkVcMdXtSKzdrr5ekOs1wK8pIvylWnVXUKl8ye sgwpP9ucKN/6+RKDg0/XJhRm9mVuwleMlZ56/m3qBQieYi8ImWOEeTIdK7AkyxjJwzKd wgEoHLCxH3I/zWpJWY9CcoGsjuu285powzEh0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=ZSKPesorypefvcMrAQM28U7QpN88GCyRVSJWEfd4yfsUCn2DPMWGSkDtomZfSBOBwI Zqxk0VJ50FNEgdv0y5CxMKgUdbQm75/LYCd3vr71tiQzs4cZiOWQNnIYEJik1Re6dLQ8 yDkFa5JA8+X6CCp06jZHKuMjYJV1cJ5W0Sh3U= Received: by 10.114.205.1 with SMTP id c1mr3800860wag.171.1217270196004; Mon, 28 Jul 2008 11:36:36 -0700 (PDT) Received: by 10.114.59.5 with HTTP; Mon, 28 Jul 2008 11:36:35 -0700 (PDT) Message-ID: <31a243e70807281136y7424e72dtc7d03e08022b09fe@mail.gmail.com> Date: Mon, 28 Jul 2008 14:36:35 -0400 From: "Jean-Daniel Cryans" To: hbase-user@hadoop.apache.org Subject: Re: Multi get/put In-Reply-To: <7e536b1f0807280238n279a91a0n35119f908891b959@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_30934_11584981.1217270195998" References: <7e536b1f0807280238n279a91a0n35119f908891b959@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_30934_11584981.1217270195998 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Marcus, If you are currently building upon 0.2.0, the way to retrieve multiple rows is to use a scanner available from the client class HTable. The way to batch multiple rows updates is to use the BatchUpdate[ ] version of HTable.commit Hope this helps, J-D On Mon, Jul 28, 2008 at 5:38 AM, Marcus Herou wrote: > Hi guys. > > Is there a way of retrieving multiple "rows" with one server call ? > Something like MySQL's "where id in (a,b,c...) > > Or more like this. > List> rows = HTable.getRows(Text[] rowKeys); > > I'm building a framework around HBase which would benefit of handling batch > wise puts and gets. > > Kindly > > //Marcus > > > > -- > Marcus Herou CTO and co-founder Tailsweep AB > +46702561312 > marcus.herou@tailsweep.com > http://www.tailsweep.com/ > http://blogg.tailsweep.com/ > ------=_Part_30934_11584981.1217270195998--