Yes, I realized my mistake shortly after posting. So my question is how do
you form a proper delete? Is the expected behavior roughly...

1. Get the row.
2. Rerun the algorithm that computed the visibility label on the row.
3. Build a list of deletes.

Is that what we're expected to do here? Or is there a simpler way of
handling this?

Thanks,

Mike

On Thu, Sep 21, 2017 at 12:18 PM, ramkrishna vasudevan <
[email protected]> wrote:

> Hi Thomson
>
> I think you are saying that the shell allows you to specify
> delete 'tablename', 'row', 'family', ts1, {VISIBILITY=>'PRIVATE|SECRET'}
> but the java client does not allow to do it? I doubt it.
>
> In case of mutations like  puts and deletes what we pass is the visibility
> labels. Now when you do a scan that is where we specify the AUTHORIZTIONs
> so that only those cells with visibility cells as passed in the
> AUTHORIZATIONS are returned back.
>
> Hope you find this useful. Let us know if you need further inputs.
>
> Regards
> Ram
>
> On Thu, Sep 21, 2017 at 6:04 PM, Mike Thomsen <[email protected]>
> wrote:
>
> > According to the javadocs and some examples I've seen, it looks like with
> > the Java client you have to know the visibility label of the cell you
> want
> > to delete. You cannot just pass a token list like you can in the shell
> > (delete TABLE, ROW, COLUMN, {AUTHORIZATIONS => ["token", "token"]})
> >
> > Is this true or am I missing something?
> >
> > Thanks,
> >
> > Mike
> >
>

Reply via email to