Class DBCollectionRemoveOptions


  • @Deprecated(since="2021-05-27")
    public final class DBCollectionRemoveOptions
    extends java.lang.Object
    Deprecated.
    Usage of this API is not supported in AEM as a Cloud Service.
    The options to apply when removing documents from the DBCollection
    Since:
    3.4
    • Constructor Detail

      • DBCollectionRemoveOptions

        public DBCollectionRemoveOptions()
        Deprecated.
        Construct a new instance
    • Method Detail

      • getCollation

        @Nullable
        public Collation getCollation()
        Deprecated.
        Returns the collation options
        Returns:
        the collation options
      • collation

        public DBCollectionRemoveOptions collation​(@Nullable
                                                   Collation collation)
        Deprecated.
        Sets the collation
        Parameters:
        collation - the collation
        Returns:
        this
      • getWriteConcern

        @Nullable
        public WriteConcern getWriteConcern()
        Deprecated.
        The write concern to use for the insertion. By default the write concern configured for the DBCollection instance will be used.
        Returns:
        the write concern, or null if the default will be used.
      • writeConcern

        public DBCollectionRemoveOptions writeConcern​(@Nullable
                                                      WriteConcern writeConcern)
        Deprecated.
        Sets the write concern
        Parameters:
        writeConcern - the write concern
        Returns:
        this
      • getEncoder

        @Nullable
        public DBEncoder getEncoder()
        Deprecated.
        Returns the encoder
        Returns:
        the encoder