Class UpdateDescription
- java.lang.Object
-
- com.mongodb.client.model.changestream.UpdateDescription
-
public final class UpdateDescription extends Object
The update description for changed fields in a$changeStream
operation.- Since:
- 3.6
-
-
Constructor Summary
Constructors Constructor Description UpdateDescription(List<String> removedFields, org.bson.BsonDocument updatedFields)
Creates a new instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
List<String>
getRemovedFields()
Returns the removedFieldsorg.bson.BsonDocument
getUpdatedFields()
Returns the updatedFieldsint
hashCode()
String
toString()
-
-
-
Constructor Detail
-
UpdateDescription
public UpdateDescription(@Nullable @BsonProperty("removedFields") List<String> removedFields, @Nullable @BsonProperty("updatedFields") org.bson.BsonDocument updatedFields)
Creates a new instance- Parameters:
removedFields
- the list of fields that have been removed.updatedFields
- the updated fields
-
-