I suggest you read the source code of KeyValue class.
e.g. you can start with this method:

  public static long getKeyDataStructureSize(int rlength, int flength, int
qlength) {

Cheers


On Mon, Aug 4, 2014 at 8:13 PM, innowireless TaeYun Kim <
[email protected]> wrote:

> So, your answer is 1. in my list?
> I don’t think so since the column family information is not necessary.
> Could you please refer a more direct information?
>
>
> -----Original Message-----
> From: Ted Yu [mailto:[email protected]]
> Sent: Tuesday, August 05, 2014 12:01 PM
> To: [email protected]
> Subject: Re: What is in a HBase block index entry?
>
> Please see:
> http://hbase.apache.org/book.html#keyvalue
>
>
> On Mon, Aug 4, 2014 at 7:55 PM, innowireless TaeYun Kim <
> [email protected]> wrote:
>
> > Thank you for your reply.
> >
> > It only says 'Key'.
> > That's what I'm confused.
> >
> >
> > -----Original Message-----
> > From: Ted Yu [mailto:[email protected]]
> > Sent: Tuesday, August 05, 2014 11:45 AM
> > To: [email protected]
> > Subject: Re: What is in a HBase block index entry?
> >
> > Have you read this ?
> > http://hbase.apache.org/book.html#d3593e20175
> >
> > Cheers
> >
> >
> > On Mon, Aug 4, 2014 at 7:24 PM, innowireless TaeYun Kim <
> > [email protected]> wrote:
> >
> > > Hi,
> > >
> > > This is a newbie question.
> > >
> > >
> > >
> > > What is in a HBase block index entry?
> > >
> > >
> > >
> > > My guess is that it's one of these:
> > >
> > >
> > >
> > > 1.      all key components: rowkey + column family + column qualifier +
> > > timestamp
> > >
> > > 2.      all key components except for column family (since the index is
> > in
> > > a
> > > HFile that is a part of the storage for a column family): rowkey +
> > > column qualifier + timestamp
> > >
> > > 3.      rowkey only
> > >
> > >
> > >
> > > I've tried to find the information, But the articles only say that
> > > it contains a 'key'. For me as a newbie, it is confusing since in a
> > > KeyValue the all key components comprise the 'key', while a rowkey
> > > is
> > also a 'key'.
> > >
> > >
> > >
> > > Thanks.
> > >
> > >
> > >
> > >
> >
> >
>
>

Reply via email to