Hi JM,
Based on n means what.. I dint get it, sorry.
hbase(main):040:0> scan 'TEST'
ROW COLUMN+CELL
4
column=data:108, timestamp=1399972960190, value=-240.0
4
column=data:112, timestamp=1399972960138, value=-160.0
4 column=data:12,
timestamp=1399972922979, value=2
4 column=data:120,
timestamp=1399972960124, value=-152.0
4 column=data:144,
timestamp=1399972960171, value=-240.0
4 column=data:148,
timestamp=1399972960152, value=-240.0
4 column=data:16,
timestamp=1399972909606, value=9
4 column=data:8,
timestamp=1399972917978, value=6
This is my data sample.
Here, TEST is my table name, 4 is my rowid, "data" is column family,
and 108,112,12... are qualifier(grows till
million) in the same rowid(4),same column family("data"),). i want to
extract let's say 100th qualifier under in 4th rowid,"data"
columnFamily.
On Thu, May 15, 2014 at 6:42 PM, Jean-Marc Spaggiari <
[email protected]> wrote:
> Hi Vivek,
>
> Can you "construct" your qualifier name based on n? Or it's not possible?
>
> JM
>
>
> 2014-05-14 8:51 GMT-04:00 Vivekanand Ittigi <[email protected]>:
>
> > 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
> >
>