kudu-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Mora <jhnmora...@gmail.com>
Subject Delete or Update by Query
Date Tue, 16 Jul 2019 21:01:04 GMT
Hi.

I am trying to delete multiple rows at the same time through a condition
using kudu-client.

Let's say:
DELETE FROM table WHERE key>=xx AND key<=yy

However, I could not find its equivalent in kudu-client for java.

I was analyzing delete operations like the one below, but it deletes only
one row at the same time.

Delete delete = table.newDelete();
...
session.apply(delete);

Is there some way to delete multiple rows using a condition?, maybe via a
Scanner or similar.

Thanks in advance for your help.

Cheers,
John Mora

Mime
View raw message