Class PullOperator


  • @MorphiaInternal
    public class PullOperator
    extends UpdateOperator
    Defines an operator for $pull
    Since:
    2.0
    Developer note.
    This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
    • Constructor Detail

      • PullOperator

        @MorphiaInternal
        public PullOperator​(String field,
                            Filter filter)
        Parameters:
        field - the field
        filter - the filter to apply
        Developer note.
        This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
    • Method Detail

      • toTarget

        public OperationTarget toTarget​(dev.morphia.internal.PathTarget pathTarget)
        Description copied from class: UpdateOperator
        Creates the OperationTarget for serialization
        Overrides:
        toTarget in class UpdateOperator
        Parameters:
        pathTarget - the PathTarget
        Returns:
        the OperationTarget