public final class UpdateDescription
extends java.lang.Object
$changeStream
operation.Constructor and Description |
---|
UpdateDescription(java.util.List<java.lang.String> removedFields,
BsonDocument updatedFields)
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.List<java.lang.String> |
getRemovedFields()
Returns the removedFields
|
BsonDocument |
getUpdatedFields()
Returns the updatedFields
|
int |
hashCode() |
java.lang.String |
toString() |
public UpdateDescription(@BsonProperty(value="removedFields") java.util.List<java.lang.String> removedFields, @BsonProperty(value="updatedFields") BsonDocument updatedFields)
removedFields
- the list of fields that have been removed.updatedFields
- the updated fieldspublic java.util.List<java.lang.String> getRemovedFields()
public BsonDocument getUpdatedFields()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object