hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-4507) Create checkAndPut variant that exposes timestamp / UUID
Date Fri, 30 Sep 2011 21:45:45 GMT

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

Todd Lipcon commented on HBASE-4507:

If we're going to add more functionality to checkAndPut I'd really rather do it with a clean
API, like:

boolean atomicMutation(RowPredicates predicates, Action mutation);
used something like:
RowPredicates pred = new RowPredicates.Builder()
  .matchTimestamp(ComparisonOp.EQUALS, 12345)
  .matchCellValue(colFam, qual, ComparisonOp.EQUALS, val)
Action mutation = new Put(...);
table.atomicMutation(pred, mutation);

so we don't have to add a new checkAndPut API for every combinatoric set of options and mutations
> Create checkAndPut variant that exposes timestamp / UUID
> --------------------------------------------------------
>                 Key: HBASE-4507
>                 URL: https://issues.apache.org/jira/browse/HBASE-4507
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Ted Yu
>            Assignee: stack
> Michael checked the checkAndPut which doesn't expose timestamp. A variant of checkAndPut
should be created to expose timestamp which is written into a column specified by additional

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message