All Downloads are FREE. Search and download functionalities are using the official Maven repository.

br.com.anteros.nosql.persistence.mongodb.query.UpdateOperations Maven / Gradle / Ivy

There is a newer version: 1.0.6
Show newest version
package br.com.anteros.nosql.persistence.mongodb.query;


import java.util.List;


public interface UpdateOperations {


    UpdateOperations addToSet(String field, Object value);


    UpdateOperations addToSet(String field, List values);


    UpdateOperations dec(String field);


    UpdateOperations dec(String field, Number value);


    UpdateOperations disableValidation();


    UpdateOperations enableValidation();


    UpdateOperations inc(String field);


    UpdateOperations inc(String field, Number value);


    UpdateOperations isolated();


    boolean isIsolated();


    UpdateOperations max(String field, Number value);


    UpdateOperations min(String field, Number value);


    UpdateOperations push(String field, Object value);


    UpdateOperations push(String field, Object value, final PushOptions options);


    UpdateOperations push(String field, List values);


    UpdateOperations push(String field, List values, PushOptions options);


    UpdateOperations removeAll(String field, Object value);


    UpdateOperations removeAll(String field, List values);


    UpdateOperations removeFirst(String field);


    UpdateOperations removeLast(String field);


    UpdateOperations set(String field, Object value);


    UpdateOperations setOnInsert(String field, Object value);

    
    UpdateOperations unset(String field);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy