static UpdateOperator |
UpdateOperators.and(String field,
int value) |
The $bit operator performs a bitwise update of a field.
|
static UpdateOperator |
UpdateOperators.dec(String field) |
Decrements the value of the field by one.
|
static UpdateOperator |
UpdateOperators.dec(String field,
Number value) |
Decrements the value of the field by the specified amount.
|
static UpdateOperator |
UpdateOperators.inc(String field) |
Increments the value of the field by one.
|
static UpdateOperator |
UpdateOperators.inc(String field,
Number value) |
Increments the value of the field by the specified amount.
|
static UpdateOperator |
UpdateOperators.max(String field,
Number value) |
Only updates the field if the specified value is greater than the existing field value.
|
static UpdateOperator |
UpdateOperators.max(String field,
Temporal value) |
Only updates the field if the specified value is greater than the existing field value.
|
static UpdateOperator |
UpdateOperators.max(String field,
Date value) |
Only updates the field if the specified value is greater than the existing field value.
|
static UpdateOperator |
UpdateOperators.min(String field,
Number value) |
Only updates the field if the specified value is less than the existing field value.
|
static UpdateOperator |
UpdateOperators.min(String field,
Temporal value) |
Only updates the field if the specified value is less than the existing field value.
|
static UpdateOperator |
UpdateOperators.min(String field,
Date value) |
Only updates the field if the specified value is less than the existing field value.
|
static UpdateOperator |
UpdateOperators.mul(String field,
Number value) |
Multiplies the value of the field by the specified amount.
|
static UpdateOperator |
UpdateOperators.or(String field,
int value) |
The $bit operator performs a bitwise update of a field.
|
static UpdateOperator |
UpdateOperators.pull(String field,
Filter filter) |
The $pull operator removes from an existing array all instances of a value or values that match a specified condition.
|
static UpdateOperator |
UpdateOperators.pull(String field,
Object value) |
The $pull operator removes from an existing array all instances of a value or values that match a specified condition.
|
static UpdateOperator |
UpdateOperators.pullAll(String field,
List<?> values) |
The $pullAll operator removes all instances of the specified values from an existing array.
|
static UpdateOperator |
UpdateOperators.rename(String field,
String value) |
Renames a field.
|
static UpdateOperator |
UpdateOperators.set(Object value) |
The $set operator replaces the value of a field with the specified value.
|
static UpdateOperator |
UpdateOperators.set(String field,
Object value) |
The $set operator replaces the value of a field with the specified value.
|
static UpdateOperator |
UpdateOperators.setOnInsert(Map<String,Object> values) |
If an update operation with upsert: true results in an insert of a document, then $setOnInsert assigns the specified values to
the fields in the document.
|
static UpdateOperator |
UpdateOperators.unset(String field) |
The $unset operator deletes a particular field.
|
static UpdateOperator |
UpdateOperators.xor(String field,
int value) |
The $bit operator performs a bitwise update of a field.
|