br.com.anteros.nosql.persistence.mongodb.query.UpdateOperations Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Anteros-NoSql-Persistence-MongoDB Show documentation
Show all versions of Anteros-NoSql-Persistence-MongoDB Show documentation
Anteros NoSQL Persistence MongoDB.
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