org.springframework.data.mongodb.core.query

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 Detail

    • Method Detail

      • 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:
      • 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:
      • 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: