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