BitOperation Add Method Aerospike
Create bit "add" operation. Server adds value to byte[] bin starting at bitOffset for bitSize. BitSize must be <= 64. Signed indicates if bits should be treated as a signed number. If add overflows/underflows, is used. Server does not return a value. Example:
  • bin = [0b00000001, 0b01000010, 0b00000011, 0b00000100, 0b00000101]
  • bitOffset = 24
  • bitSize = 16
  • value = 128
  • signed = false
  • bin result = [0b00000001, 0b01000010, 0b00000011, 0b00000100, 0b10000101]

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 4.2.0.0 (4.2.0)
Syntax

Parameters

policy
Type: Aerospike.Client BitPolicy
binName
Type: System String
bitOffset
Type: System Int32
bitSize
Type: System Int32
value
Type: System Int64
signed
Type: System Boolean
action
Type: Aerospike.Client BitOverflowAction
See Also