public interface Add<T extends Pojo> extends DataModifyingStatement<T>
DEFAULT_STATUS_FAILURE, DEFAULT_STATUS_SUCCESS
Modifier and Type | Method and Description |
---|---|
int |
apply()
Applies this
Add operation to storage. |
void |
set(String key,
Object value)
Sets a field to the specified value.
|
getRawDuplicate
void set(String key, Object value)
key
- the name of the field to update.value
- the value with which to update the field.int apply()
Add
operation to storage.apply
in interface DataModifyingStatement<T extends Pojo>
StorageException
- if the operation failsCopyright © 2016. All rights reserved.