[
https://issues.apache.org/jira/browse/HBASE-9588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13774748#comment-13774748
]
Robert Roland commented on HBASE-9588:
--------------------------------------
[[email protected]] - I see the comparator support in the Mutate protobuf,
but my present use-case is via HTable and older RPC, and I can't migrate to
TRUNK in production in the short term. I'm on HBase 0.94.6-cdh4.3.1. My thought
was to add this functionality in the existing API, where users can access it
until the protobuf API is available.
Working on unit tests to match this commit right now.
> Expose checkAndPut/checkAndDelete with comparators to HTableInterface
> ---------------------------------------------------------------------
>
> Key: HBASE-9588
> URL: https://issues.apache.org/jira/browse/HBASE-9588
> Project: HBase
> Issue Type: Bug
> Components: Client
> Affects Versions: 0.98.0
> Reporter: Robert Roland
> Attachments: checkAndPut_HBASE-9588_0.94.patch,
> checkAndPut_HBASE-9588_TRUNK.patch, checkAndPut_HBASE-9588_TRUNK.patch.1
>
>
> HRegionInterface allows you to specify a comparator to checkAndPut and
> checkAndDelete, but that isn't available to the standard HTableInterface.
> The attached patches expose these functions to the client. It adds two
> methods to HTableInterface, which required implementing in several places.
> They are not implemented in RemoteHTable - I couldn't see an obvious way to
> implement there. Following the pattern of increment, batch, etc, they are
> "not supported."
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira