Modifier and Type | Method and Description |
---|---|
Result<Void> |
entities(Iterable<?> entities)
Begin asynchronous deletion of specific entities.
|
Result<Void> |
entities(Object... entities)
Convenient substitute for entities(Iterable)
|
Result<Void> |
entity(Object entity)
Begin asynchronous deletion of a specific entity.
|
Result<Void> |
key(Key<?> key)
Begin asynchronous deletion of a specific entity.
|
Result<Void> |
keys(Iterable<? extends Key<?>> keys)
Begin asynchronous deletion of specific entities.
|
Result<Void> |
keys(Key<?>... keys)
Convenient substitute for keys(Iterable)
|
DeleteType |
type(Class<?> type)
Begin construction of a key or keys to delete by specifying a kind.
|
public DeleteType type(Class<?> type)
Deleter
All command objects are immutable; this method returns a new object instead of modifying the current command object.
public Result<Void> key(Key<?> key)
Deleter
Begin asynchronous deletion of a specific entity.
To force synchronous delete, call now() on the returned Result.
public Result<Void> keys(Key<?>... keys)
Deleter
public Result<Void> keys(Iterable<? extends Key<?>> keys)
Deleter
Begin asynchronous deletion of specific entities.
To force synchronous delete, call now() on the returned Result.
public Result<Void> entity(Object entity)
Deleter
Begin asynchronous deletion of a specific entity.
To force synchronous delete, call now() on the returned Result.
public Result<Void> entities(Iterable<?> entities)
Deleter
Begin asynchronous deletion of specific entities.
To force synchronous delete, call now() on the returned Result.
Copyright © 2015. All rights reserved.