May
30th,
2018
There is an async way to truncate table by scanning all record and sending all keys to remove all operation.
Observer<Key> key = Gkvs.Client.removeAll().async(Observers.<Status>console(done));
Observer<Record> record = Observers.transform(key, Observers.GET_KEY_FN);
Gkvs.Client.scan(TABLE).async(record);