public class UpdateMessage<K> extends Object implements ChangeMessage<K>
| Constructor and Description |
|---|
UpdateMessage(Diff diff,
Record<K> newRecord) |
UpdateMessage(Diff diff,
Record<K> newRecord,
boolean addIfNotExists) |
| Modifier and Type | Method and Description |
|---|---|
Diff |
getDiff() |
K |
getKey() |
Record<K> |
getNewRecord() |
int |
getType() |
boolean |
isAddIfNotExists() |
ChangeMessage |
reduced(String[] reducedFields) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetRecord, isAdd, isDoneMsgpublic int getType()
getType in interface ChangeMessage<K>public K getKey()
getKey in interface ChangeMessage<K>public ChangeMessage reduced(String[] reducedFields)
reduced in interface ChangeMessage<K>public Diff getDiff()
public boolean isAddIfNotExists()
Copyright © 2016. All rights reserved.