I'll try that, thanks
Mikael.S

On Tue, Nov 29, 2011 at 1:45 AM, lars hofhansl <[email protected]> wrote:

> Seems like KeyOnlyFilter is what is needed here.
>
> It'll filter the value, but leave the entire key (rowKey, CF, column, TS,
> type) in place.
>
>
> Note that scanning with KeyOnlyFilter is not necessarily faster, the only
> part saved is shipping the value to the client.
>
> -- Lars
>
>
> ----- Original Message -----
> From: Michel Segel <[email protected]>
> To: "[email protected]" <[email protected]>
> Cc: "[email protected]" <[email protected]>
> Sent: Monday, November 28, 2011 1:21 PM
> Subject: Re: getting row info without data
>
> Doesn't sound like it... He mentions column names...
> sounds like he would be better off writing to two tables. One that stores
> only the column name and one that stores the data in each column.
>
>
> Sent from a remote device. Please excuse any typos...
>
> Mike Segel
>
> On Nov 28, 2011, at 11:54 AM, Stack <[email protected]> wrote:
>
> > On Mon, Nov 28, 2011 at 8:54 AM, Mikael Sitruk <[email protected]>
> wrote:
> >> Hi
> >>
> >> I would like to know if it is possible to retrieve the columns name and
> not
> >> the whole content of rows.
> >> The reason for such request is that the columns store high volumn of
> data
> >> (2K) each (and i store 900 columns per key).
> >> Retrieving the whole row and not the "Description/Metadata" of the row
> is
> >> in this case very expensive.
> >>
> >
> > Will
> http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/filter/KeyOnlyFilter.html
> > work for you?
> > St.Ack
> >
>
>


-- 
Mikael.S

Reply via email to