thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Pelly <gfpe...@gmail.com>
Subject Re: partial key scan
Date Mon, 28 Nov 2011 06:07:17 GMT
Jake,

To be honest I really think this is a thrift issue. Both of the following
two methods return the same thing, the second sounds like it should be
matching the prefix of a key which is exactly what I'm after.

scannerOpen(table, row, columns) and
scannerOpenWithPrefix(table, prefix, columns)

Cheers

On Mon, Nov 28, 2011 at 1:47 PM, Jake Farrell <jfarrell@apache.org> wrote:

> Greg
> If the thrift idl for HBase defines a service to do this then it would be
> possible. This would be a better question for the HBase user group
>
> -Jake
>
>
> On Nov 27, 2011, at 5:55 PM, Greg Pelly wrote:
>
> > Hi,
> >
> > The HBase book "The definitive guide" describes the concept of partial
> key
> > scans, I'd like to use that to find a user's groups where the key is made
> > up of userid - groupid so I just need to scan for userid and I'll get all
> > of the groups for that user. Thrift doesn't appear to support this unless
> > I'm missing something. I believe I'm using the latest release of Thrift
> in
> > 0.7.0.
> >
> > Cheers
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message