On Wed, Mar 4, 2009 at 8:19 AM, Erik Holstad <[email protected]> wrote:
> Was thinking this morning that me might have to do some adjustments in the > format, > we wanted <int><int><int><row><fam><qf><ts><type> for the key and > <int><value> or > something like that, right? > But what is stored in HFile right now is if I'm not mistaken > <int><int><key><val>, so if > we want to match that I think we need to do some small adjustments probably > to something > like: > <keyLen><valLen><rowLen><famLent><row><fam><qf><ts><type><val> I think we are saying the same thing (if your omission of columnqualifier length was not intentional). In hfile currently its as you say: keylength vallength key value where key expands to vint // Length of the row as vint row vint // Length of the column -- family + qualifier -- as vint column timestamp The proposal is that hfile is as it was only the key now exands to: int // rowlength as a short int // column family length in a byte int // column qualifier length in a short row columnfamily columnqualifier timestamp type St.Ack
