Package oracle.kv

Enum Class ReturnValueVersion.Choice

java.lang.Object
java.lang.Enum<ReturnValueVersion.Choice>
oracle.kv.ReturnValueVersion.Choice
All Implemented Interfaces:
Serializable, Comparable<ReturnValueVersion.Choice>, Constable, oracle.kv.impl.util.FastExternalizable
Enclosing class:
ReturnValueVersion

public static enum ReturnValueVersion.Choice extends Enum<ReturnValueVersion.Choice> implements oracle.kv.impl.util.FastExternalizable
Specifies whether to return the value, version, both or neither.

For best performance, it is important to choose only the properties that are required. The KV Store is optimized to avoid I/O when the requested properties are in cache.

  • Enum Constant Details

  • Method Details

    • values

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

      public static ReturnValueVersion.Choice valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null