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(@Nullable @BsonProperty(value="removedFields") java.util.List<java.lang.String> removedFields, @Nullable @BsonProperty(value="updatedFields") BsonDocument updatedFields)
removedFields - the list of fields that have been removed.updatedFields - the updated fields@Nullable public java.util.List<java.lang.String> getRemovedFields()
@Nullable public BsonDocument getUpdatedFields()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2010 - 2023 Adobe. All Rights Reserved