[ https://issues.apache.org/jira/browse/HBASE-12358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14186637#comment-14186637 ]
Anoop Sam John commented on HBASE-12358: ---------------------------------------- On an impl of the new Interface, one can call getXXXArray() and getXXXBuffer() returning byte[] and BB respectively. What will be getXXXOffset() returning then? The offset in buffer and array might be different. So how to handle? We will need new API for getting offset in buffer(?) > 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 > Fix For: 2.0.0, 0.99.2 > > Attachments: HBASE-12358.patch > > > As part of HBASE-12224 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)