Class BitWriteFlags

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

public final class BitWriteFlags
extends Object
Bitwise operation policy write flags.
  • Field Summary

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

    Constructors 
    Constructor Description
    BitWriteFlags()  
  • 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:
      Constant Field Values
    • 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:
      Constant Field Values
    • 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:
      Constant Field Values
    • NO_FAIL

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

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