[ https://issues.apache.org/jira/browse/HBASE-13916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14588290#comment-14588290 ]
Ted Yu commented on HBASE-13916: -------------------------------- {code} + * @return true if the MBB is made up of single item and that single item is an + * on heap Byte Buffer + */ + public boolean hasArray() { {code} Have you considered the scenario where all the items in the MBB are on heap ByteBuffers ? > Create MultiByteBuffer > ---------------------- > > Key: HBASE-13916 > URL: https://issues.apache.org/jira/browse/HBASE-13916 > Project: HBase > Issue Type: Sub-task > Components: regionserver, Scanners > Reporter: Anoop Sam John > Assignee: Anoop Sam John > Fix For: 2.0.0 > > Attachments: HBASE-13916.patch > > > This is an aggregation of N ByteBuffers. The block when served directly by > block cache buckets memory, we have the block data split across multiple byte > buffers. This aggregate type (like ByteBuffer) will serve the HFileBlock data. > This jira wil just provide the new data structure -- This message was sent by Atlassian JIRA (v6.3.4#6332)