V - map value typepublic final class NodeUpdate<V> extends Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
NodeUpdate.Builder<V>
NodeUpdate builder. 
 | 
static class  | 
NodeUpdate.Type
Type of database update operation. 
 | 
| Constructor and Description | 
|---|
NodeUpdate()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object object)  | 
int | 
hashCode()  | 
<T> NodeUpdate<T> | 
map(Function<V,T> valueMapper)
Transforms this instance into an instance of different parameterized types. 
 | 
static <V> NodeUpdate.Builder<V> | 
newBuilder()
Creates a new builder instance. 
 | 
DocumentPath | 
path()
Returns the item path being updated. 
 | 
String | 
toString()  | 
NodeUpdate.Type | 
type()
Returns the type of update operation. 
 | 
V | 
value()
Returns the new value. 
 | 
long | 
version()
Returns the expected current version in the database for the key. 
 | 
public NodeUpdate.Type type()
public DocumentPath path()
public V value()
public long version()
public <T> NodeUpdate<T> map(Function<V,T> valueMapper)
T - value type of returned instancevalueMapper - transcoder to value typepublic static <V> NodeUpdate.Builder<V> newBuilder()
V - value type