Class DocumentUpdateFlags

java.lang.Object
com.yahoo.document.serialization.DocumentUpdateFlags

public class DocumentUpdateFlags extends Object
Class used to represent up to 4 flags used in a DocumentUpdate. These flags are stored as the 4 most significant bits in a 32 bit integer. Flags currently used: 0) create-if-non-existent.
Author:
geirst
  • Constructor Details

    • DocumentUpdateFlags

      public DocumentUpdateFlags()
  • Method Details

    • getCreateIfNonExistent

      public boolean getCreateIfNonExistent()
    • setCreateIfNonExistent

      public void setCreateIfNonExistent(boolean value)
    • injectInto

      public int injectInto(int value)
    • extractFlags

      public static DocumentUpdateFlags extractFlags(int combined)
    • extractValue

      public static int extractValue(int combined)