hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stack <st...@duboce.net>
Subject Re: Retrieving nth qualifier in hbase using java
Date Thu, 15 May 2014 19:56:10 GMT
Not natively.  You will have to write it using Result#getMap or getCells or
making use of the fact that Result is a CellScanner.
St.Ack


On Wed, May 14, 2014 at 10:08 PM, Vivekanand Ittigi
<vivek@biginfolabs.com>wrote:

> Can anyone please reply?
>
> ---------- Forwarded message ----------
> From: Vivekanand Ittigi <vivek@biginfolabs.com>
> Date: Wed, May 14, 2014 at 6:21 PM
> Subject: Retrieving nth qualifier in hbase using java
> To: user@hbase.apache.org
>
>
> Hi,
>
> This question is quite out of box but i need it.
>
> In list(collection), we can retrieve the nth element in the list by
> list.get(i);
>
> similarly is there any method, in hbase, using java API, where i can get
> the nth qualifier given the row id and ColumnFamily name.
>
> NOTE: I have million qualifiers in single row in single columnFamily.
> Thanks,
> Vivek
>

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