Thanks for sharing this.Its really helpful
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Yes, that’s the removeAll method! There’s another method signature, one that
accepts a parameter:
public void removeAll(Set keys) throws TransactionException;
There are a few ways to update multiple entries. You can always use the SQL
UPDATE commend, but the equivalent to removeAll() is invokeAll
Hi!
This is the method you are looking for (also available in async mode):
/**
* {@inheritDoc}
* @throws TransactionException If operation within transaction is failed.
*/
@IgniteAsyncSupported
@Override public void removeAll(Set keys) throws
TransactionException;
Als
The method mentioned in the API is cache.removeAll() which removes all the
elements is the cache but i want to remove certain entries from cache at
once like cache.removeAll(List of Keys). is there any such method or
efficient way to remove entries corresponding to List of Keys at once .
*Simila
Take a look at IgniteCache api docs... deleteAll by cache keys (faster)
If you use QueryEntities you can use SQL DELETE statement with filters (slower)
> El 17 may 2020, a las 12:14, nithin91
> escribió:
>
> Hi
>
> Is there an API, to delete multiple entries from cache efficiently?
>
>
>
Hi
Is there an API, to delete multiple entries from cache efficiently?
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/