[ 
https://issues.apache.org/jira/browse/HBASE-10801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13941427#comment-13941427
 ] 

Anoop Sam John commented on HBASE-10801:
----------------------------------------

{code}KeyValue getKeyValue();{code}
This only deal with KV now.

{code}void encodeKeyValues(ByteBuffer in, HFileBlockEncodingContext 
encodingCtx) {code}
Here 1st we write KVs (Cells) into a buffer and then passed to encoder. Encoder 
again reads it and encodes and creates a new buffer.
May be now we can change this?  There is no need to have this model now.  
Previously we had option of no encode in disk and encode only in cache.  At 
that time the read buffer from a HFile block was passed to this and encodes.
So encode cell by cell can be done now ?

{code}ByteBuffer decodeKeyValues(DataInputStream source, 
HFileBlockDecodingContext decodingCtx){code}
The main code flow is not using this.



> Ensure DBE interfaces can work with Cell
> ----------------------------------------
>
>                 Key: HBASE-10801
>                 URL: https://issues.apache.org/jira/browse/HBASE-10801
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: ramkrishna.s.vasudevan
>             Fix For: 0.99.0
>
>
> Some changes to the interfaces may be needed for DBEs or may be the way it 
> works currently may be need to be modified inorder to make DBEs work with 
> Cells. Suggestions and ideas welcome.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to