module Aerospike::CDT::BitOverflowAction

BitOverflowAction specifies the action to take when bitwise add/subtract results in overflow/underflow.

Constants

DEFAULT

Default behavior

FAIL

Fail specifies to fail operation with error.

SATURATE

SATURATE specifies that in add/subtract overflows/underflows, set to max/min value. Example: MAXINT + 1 = MAXINT

WRAP

Wrap specifies that in add/subtract overflows/underflows, WRAP the value. Example: MAXINT + 1 = -1