accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Elser <josh.el...@gmail.com>
Subject Re: ConditionalWriter
Date Fri, 23 Jan 2015 16:35:19 GMT
Call the addCondition(Condition condition) method on the 
ConditionalMutation before passing it to the ConditionalWriter's 
write(ConditionalMutation) method.

panqingcui@163.com wrote:
> HI
>     I am try ConditionalWriter ,
>        ConditionalWriter      cw = conn.createConditionalWriter(AccumuloConstants.XT_USER,
new ConditionalWriterConfig());
>              ConditionalMutation m = new ConditionalMutation(new Text(user.getUserId()));
>   cw.write(m);
> but  errors:
>   ConditionalMutation had no conditions row1
>
>
>
> panqingcui@163.com

Mime
View raw message