accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Turner (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-4746) Create Builder for Mutation
Date Wed, 06 Dec 2017 18:39:00 GMT

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

Keith Turner commented on ACCUMULO-4746:
----------------------------------------

Another entry point function to consider is `for()`.  What I like about `for()` is that it
reads a bit like a sentence (e.g. For the family X and qualifier Y set the value to Z.)

{code:java}
 m1.for().family(fam).qualifier("q1").set("v1");
 m1.for().family(fam).qualifier("q2").set(bb);
 m1.for().family(fam).qualifier("q3").delete();
{code}

I think I like `at()` more than `for()`. 

> Create Builder for Mutation
> ---------------------------
>
>                 Key: ACCUMULO-4746
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4746
>             Project: Accumulo
>          Issue Type: Sub-task
>          Components: client
>            Reporter: Keith Turner
>            Assignee: Benjamin F
>             Fix For: 2.0.0
>
>
> Accumulo needs a builder for mutation similar to the one that was added for Key.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message