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

ramkrishna.s.vasudevan commented on HBASE-16691:
------------------------------------------------

We also have KeyOnlyKeyValue and ByteBufferedKeyOnlyKeyValue. It has similar 
use but it could be created out of a byte[] or BB and not from a cell. This is 
just local to this filter. So should be fine I think. +1.

> optimize KeyOnlyFilter
> ----------------------
>
>                 Key: HBASE-16691
>                 URL: https://issues.apache.org/jira/browse/HBASE-16691
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: binlijin
>            Assignee: binlijin
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: HBASE-16691-master.patch
>
>
> In KeyOnlyFilter#transformCell will return a KeyOnlyCell that have no value 
> or has valueLength as value, current will copy all row keys into a new byte[] 
> and new a KeyValue, we can eliminate the copy and have a wrap KeyOnlyCell 
> that ignore the cell's value.



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

Reply via email to