java.lang.Object
java.lang.Enum<Lookup>
com.couchbase.client.core.message.kv.subdoc.multi.Lookup
All Implemented Interfaces:
Serializable, Comparable<Lookup>, java.lang.constant.Constable

@Committed
@Public
public enum Lookup
extends Enum<Lookup>
Enumeration of possible mutations inside a sub-document LookupCommand.
Since:
1.2
Author:
Simon Baslé
  • Enum Constant Details

    • GETDOC

      public static final Lookup GETDOC
    • GET

      public static final Lookup GET
    • EXIST

      public static final Lookup EXIST
    • GET_COUNT

      public static final Lookup GET_COUNT
  • Method Details

    • values

      public static Lookup[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Lookup valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • opCode

      public byte opCode()