Class Update.BitwiseOperatorBuilder

java.lang.Object
org.springframework.data.mongodb.core.query.Update.BitwiseOperatorBuilder
Enclosing class:
Update

public static class Update.BitwiseOperatorBuilder extends Object
Since:
1.7
Author:
Christoph Strobl
  • Constructor Details

  • Method Details

    • and

      public Update and(long value)
      Updates to the result of a bitwise and operation between the current value and the given one.
      Parameters:
      value -
      Returns:
      never null.
    • or

      public Update or(long value)
      Updates to the result of a bitwise or operation between the current value and the given one.
      Parameters:
      value -
      Returns:
      never null.
    • xor

      public Update xor(long value)
      Updates to the result of a bitwise xor operation between the current value and the given one.
      Parameters:
      value -
      Returns:
      never null.