As Ted mentioned if you need to query the data on oneChildren it will read unnecessary data. But if your requirements are like that you some separator be careful everything is byte here..
On 22 October 2015 at 16:37, Ted Yu <[email protected]> wrote: > Can you give some detail on why the 3 children names need to be in same > cell (instead of under different columns) ? > I assume the combination of children names varies. If you want to query > data for specific child (e.g. Child1Name), you may read unnecessary data > which is discarded after parsing. > > Cheers > > On Thu, Oct 22, 2015 at 1:35 AM, Spico Florin <[email protected]> > wrote: > > > In HBase, I would like to store more many record data into the cell > value. > > For example, given the record: ParentId1, > Child1Name,Child2Name,Child3Name > > I would like to store it as: > > > > rowkey:ParentI1,cf-children:col-name:Child1Name,Chil2Name,Child3Name. > > > > So in the cell value I would like to add all the childrens name. Should I > > use a separator for storing these names or there is an API or best > > practices how to store them? Thank you.\ > > > > Regards, > > > > Florin > > >
