hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10390) expose checkAndPut/Delete custom comparators in HTable
Date Tue, 15 Dec 2015 01:36:46 GMT

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

Enis Soztutar commented on HBASE-10390:
---------------------------------------

bq. Why does a fundamental Type – i.e. Table – reach down into a specialized package,
'filter', to obtain the type for compare. Seems broke. The Table Interface has no dependency
on filter currently.
Was thinking the same thing some time ago. We already depend on {{CompareOp}} from filter.
We should move these to parent package. 

> expose checkAndPut/Delete custom comparators in HTable
> ------------------------------------------------------
>
>                 Key: HBASE-10390
>                 URL: https://issues.apache.org/jira/browse/HBASE-10390
>             Project: HBase
>          Issue Type: Improvement
>          Components: Client
>            Reporter: Sergey Shelukhin
>            Assignee: Vladimir Rodionov
>             Fix For: 2.0.0
>
>         Attachments: HBASE-10390-v1.patch, HBASE-10390-v2.patch, HBASE-10390-v3.patch
>
>
> checkAndPut/Delete appear to support custom comparators. However, thru HTable, there's
no way to pass one, it always creates BinaryComparator from value. It would be good to expose
the custom ones in the API.



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

Mime
View raw message