Class Update.BitwiseOperatorBuilder
java.lang.Object
org.springframework.data.mongodb.core.query.Update.BitwiseOperatorBuilder
- Enclosing class:
Update
- Since:
- 1.7
- Author:
- Christoph Strobl
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBitwiseOperatorBuilder(Update reference, String key) Creates a newUpdate.BitwiseOperatorBuilder. -
Method Summary
Modifier and TypeMethodDescriptionand(int value) Updates to the result of a bitwiseandoperation between the current field value and the given integervalue.and(long value) Updates to the result of a bitwiseandoperation between the current field value and the given longvalue.or(int value) Updates to the result of a bitwiseoroperation between the current field value and the given integervalue.or(long value) Updates to the result of a bitwiseoroperation between the current field value and the given longvalue.xor(int value) Updates to the result of a bitwisexoroperation between the current field value and the given integervalue.xor(long value) Updates to the result of a bitwisexoroperation between the current field value and the given longvalue.
-
Constructor Details
-
BitwiseOperatorBuilder
Creates a newUpdate.BitwiseOperatorBuilder.- Parameters:
reference- must not be nullkey- must not be null
-
-
Method Details
-
and
-
and
-
or
-
or
-
xor
-
xor
-