public final class RecordUpsertResult
extends Object
| Constructor and Description |
|---|
RecordUpsertResult(long id,
long revision,
RecordOperationType operation)
Creates a new
RecordUpsertResult instance. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
long |
getId()
The Record ID
|
RecordOperationType |
getOperation()
The operation that was performed.
|
long |
getRevision()
The revision number of the record after updating or creating the record.
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"id","revision","operation"})
public RecordUpsertResult(long id,
long revision,
RecordOperationType operation)
RecordUpsertResult instance.id - The Record IDrevision - The revision number of the record after updating or creating the record.operation - The operation that was performed. UPDATE (existing record was updated) or INSERT (new record
was created). Null when not using UPSERT mode.public long getId()
public long getRevision()
public RecordOperationType getOperation()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object