Class BaseFindAndModifyOperation<T>

    • Method Detail

      • execute

        public T execute​(WriteBinding binding)
        Deprecated.
        Description copied from interface: WriteOperation
        General execute which can return anything of type T
        Specified by:
        execute in interface WriteOperation<T>
        Parameters:
        binding - the binding to execute in the context of
        Returns:
        T, the result of the execution
      • getNamespace

        public MongoNamespace getNamespace()
        Deprecated.
        Gets the namespace.
        Returns:
        the namespace
      • getWriteConcern

        public WriteConcern getWriteConcern()
        Deprecated.
        Get the write concern for this operation
        Returns:
        the WriteConcern
        Since:
        3.2
      • getDecoder

        public Decoder<T> getDecoder()
        Deprecated.
        Gets the decoder used to decode the result documents.
        Returns:
        the decoder
      • isRetryWrites

        public boolean isRetryWrites()
        Deprecated.
        Returns true if the operation should be retried.
        Returns:
        true if the operation should be retried
        Since:
        3.8