Class BitWriteFlags

java.lang.Object
com.aerospike.client.operation.BitWriteFlags

public final class BitWriteFlags extends Object
Bitwise operation policy write bit flags. Use BITWISE OR to combine flags. Example:

 int flags = BitWriteFlags.NO_FAIL | BitWriteFlags.PARTIAL;
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    If the bin already exists, the operation will be denied.
    static final int
    Default.
    static final int
    Do not raise error if operation is denied.
    static final int
    Allow other valid operations to be committed if this operations is denied due to flag constraints.
    static final int
    If the bin already exists, the bin will be overwritten.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • DEFAULT

      public static final int DEFAULT
      Default. Allow create or update.
      See Also:
    • CREATE_ONLY

      public static final int CREATE_ONLY
      If the bin already exists, the operation will be denied. If the bin does not exist, a new bin will be created.
      See Also:
    • UPDATE_ONLY

      public static final int UPDATE_ONLY
      If the bin already exists, the bin will be overwritten. If the bin does not exist, the operation will be denied.
      See Also:
    • NO_FAIL

      public static final int NO_FAIL
      Do not raise error if operation is denied.
      See Also:
    • PARTIAL

      public static final int PARTIAL
      Allow other valid operations to be committed if this operations is denied due to flag constraints.
      See Also:
  • Constructor Details

    • BitWriteFlags

      public BitWriteFlags()