T - Bean classpublic static interface BeanDatastore.BeanOperationResult<T> extends Serializable
BeanDatastore operation, providing informatons about the operation outcome.| Modifier and Type | Interface and Description |
|---|---|
static interface |
BeanDatastore.BeanOperationResult.Builder<T>
BeanDatastore.BeanOperationResult builder. |
| Modifier and Type | Method and Description |
|---|---|
static <T> BeanDatastore.BeanOperationResult.Builder<T> |
builder()
Get a builder to create
BeanDatastore.BeanOperationResult instances. |
long |
getAffectedCount()
Get the number of elements affected by the the operation execution.
|
Optional<Datastore.OperationType> |
getOperationType()
Get the executed operation type, if available.
|
Optional<T> |
getResult()
Get the bean instance which represents the result of the operation, if available.
|
Optional<Datastore.OperationType> getOperationType()
long getAffectedCount()
Optional<T> getResult()
insert, update and save operations should return the updated bean
instance, including any generated key value if the operation semantic expects it.static <T> BeanDatastore.BeanOperationResult.Builder<T> builder()
BeanDatastore.BeanOperationResult instances.T - Bean classCopyright © 2019 The Holon Platform. All rights reserved.