Enum Class MapOrder

java.lang.Object
java.lang.Enum<MapOrder>
com.aerospike.client.cdt.MapOrder
All Implemented Interfaces:
Serializable, Comparable<MapOrder>, Constable

public enum MapOrder extends Enum<MapOrder>
Map storage order.
  • Enum Constant Details

    • UNORDERED

      public static final MapOrder UNORDERED
      Map is not ordered. This is the default.
    • KEY_ORDERED

      public static final MapOrder KEY_ORDERED
      Order map by key.
    • KEY_VALUE_ORDERED

      public static final MapOrder KEY_VALUE_ORDERED
      Order map by key, then value.
  • Field Details

    • attributes

      public final int attributes
    • flag

      public final int flag
  • Method Details

    • values

      public static MapOrder[] 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 MapOrder 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