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

Nick Dimiduk commented on HBASE-15499:
--------------------------------------

Wiring our atomic ops for arbitrary user extension via the {{DataType}} 
interfaces has long been on my wish list. I'm stoked to see other interest here!

I'd really like to see this {{NumberCodecType}} participate in the {{DataType}} 
hierarchy. Maybe there's a sibling interface called "Incrementable"? But that 
way the types that increment supports remain pluggable. The Enum implementation 
here keeps everything locked in hbase, not user extensible.

> Add multiple data type support for increment
> --------------------------------------------
>
>                 Key: HBASE-15499
>                 URL: https://issues.apache.org/jira/browse/HBASE-15499
>             Project: HBase
>          Issue Type: New Feature
>          Components: API
>            Reporter: He Liangliang
>            Assignee: He Liangliang
>         Attachments: HBASE-15499-V2.diff, HBASE-15499-V3.diff, 
> HBASE-15499-V4.diff, HBASE-15499-V5.diff, HBASE-15499-V5.patch, 
> HBASE-15499.diff
>
>
> Currently the increment assumes long with byte-wise serialization. It's 
> useful to  support flexible data type/serializations.



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

Reply via email to