hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sznajder ForMailingList <bs4mailingl...@gmail.com>
Subject Re: Filter on Values of Cells
Date Mon, 03 Nov 2014 15:53:59 GMT
!!

Thanks a lot!

Benjamin

On Mon, Nov 3, 2014 at 5:31 PM, Ted Yu <yuzhihong@gmail.com> wrote:

> Would SingleColumnValueFilter serve your need ?
>
> Cheers
>
> On Mon, Nov 3, 2014 at 7:28 AM, Sznajder ForMailingList <
> bs4mailinglist@gmail.com> wrote:
>
> > Hi
> >
> > I would like to filtering rows that contain specific value at specific
> > {family, qualifier}.
> >
> > For example, if my table contains the following lines, the cells are of
> the
> > form {fam, qual, val}
> >
> > Row 1 : {"fam-1", "col0", "val1"}, {"fam-1", "col1", "val11"}
> > Row 2 : {"fam-1", "col0", "val11"}, {"fam-1", "col1", "val21"}
> >
> > I would like a filter that for the constraint
> > {"fam-1", "col0", "val1"} returns only Row1
> >
> > and for the filter
> > {"fam-1", "col0", "val11"} returns Row1 and Row2
> >
> > I thought using the ValueFilter , but it does not give the ability to add
> > constraint also on {fam, qual}
> >
> >
> > Thanks!
> >
> > Benjamin
> >
>

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