[ 
https://issues.apache.org/jira/browse/HBASE-12358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ramkrishna.s.vasudevan updated HBASE-12358:
-------------------------------------------
    Attachment: HBASE-12358_1.patch

An updated patch that adds hasArray to Cell.  Added some util methods in 
ByteBufferUtils and some part is copied from HBASE-12345 as it is not yet 
committed. I will add some test cases once we are sure that this approach is 
fine. 
I created a bigger patch changing through the read path but that is becoming 
bigger and bigger and have some challenges in that.  Doing them as individual 
subtasks may not be directly feasible for now.  Anyway we can finalise it once 
we are ok with this JIRA as that forms the basis of further things. 

> Create ByteBuffer backed Cell
> -----------------------------
>
>                 Key: HBASE-12358
>                 URL: https://issues.apache.org/jira/browse/HBASE-12358
>             Project: HBase
>          Issue Type: Sub-task
>          Components: regionserver, Scanners
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>         Attachments: HBASE-12358.patch, HBASE-12358_1.patch
>
>
> As part of HBASE-12224 and HBASE-12282 we wanted a Cell that is backed by BB. 
>  Changing the core Cell impl would not be needed as it is used in server 
> only.  So we will create a BB backed Cell and use it in the Server side read 
> path. This JIRA just creates an interface that extends Cell and adds the 
> needed API.
> The getTimeStamp and getTypebyte() can still refer to the original Cell API 
> only.  The getXXxOffset() and getXXXLength() can also refer to the original 
> Cell only.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to