public class UpdateMessage extends Object implements ChangeMessage
| Constructor and Description |
|---|
UpdateMessage(Diff diff,
Record newRecord,
Set<String> forcedUpdateFields) |
UpdateMessage(Diff diff,
Record newRecord,
Set<String> forcedUpdateFields,
boolean addIfNotExists) |
| Modifier and Type | Method and Description |
|---|---|
Diff |
getDiff() |
Set<String> |
getForcedUpdateFields() |
String |
getKey() |
Record |
getNewRecord() |
Record |
getOldRecord() |
Record |
getRecord() |
int |
getType() |
boolean |
isAddIfNotExists() |
ChangeMessage |
reduced(String[] reducedFields) |
void |
setForcedUpdateFields(Set<String> forcedUpdateFields) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisAdd, isDoneMsgpublic Set<String> getForcedUpdateFields()
getForcedUpdateFields in interface ChangeMessagepublic int getType()
getType in interface ChangeMessagepublic String getKey()
getKey in interface ChangeMessagepublic ChangeMessage reduced(String[] reducedFields)
reduced in interface ChangeMessagepublic Diff getDiff()
public Record getNewRecord()
public boolean isAddIfNotExists()
public Record getOldRecord()
public Record getRecord()
getRecord in interface ChangeMessageCopyright © 2017. All rights reserved.