Class UpdateDescription

java.lang.Object
com.mongodb.client.model.changestream.UpdateDescription

@Deprecated(since="2021-05-27") public final class UpdateDescription extends Object
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
The update description for changed fields in a $changeStream operation.
Since:
3.6
  • Constructor Details

    • UpdateDescription

      public UpdateDescription(@Nullable @BsonProperty("removedFields") List<String> removedFields, @Nullable @BsonProperty("updatedFields") BsonDocument updatedFields)
      Deprecated.
      Creates a new instance
      Parameters:
      removedFields - the list of fields that have been removed.
      updatedFields - the updated fields
  • Method Details

    • getRemovedFields

      @Nullable public List<String> getRemovedFields()
      Deprecated.
      Returns the removedFields
      Returns:
      the removedFields
    • getUpdatedFields

      @Nullable public BsonDocument getUpdatedFields()
      Deprecated.
      Returns the updatedFields
      Returns:
      the updatedFields
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object