Class UpdateBase<T>

  • Type Parameters:
    T -
    Direct Known Subclasses:
    Modify, Update, UpdateOpsImpl

    public abstract class UpdateBase<T>
    extends Object
    Developer note.
    This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
    • Method Detail

      • toDocument

        public org.bson.Document toDocument()
        Returns:
        the operations listed
      • getCollection

        protected com.mongodb.client.MongoCollection<T> getCollection()
      • getDatastore

        protected Datastore getDatastore()
      • getQuery

        protected Query<T> getQuery()
      • getUpdates

        protected List<UpdateOperator> getUpdates()
        Returns:
        the updates
        Developer note.
        This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.