Enum Class DBSRepositoryBase.IdType

java.lang.Object
java.lang.Enum<DBSRepositoryBase.IdType>
org.nuxeo.ecm.core.storage.dbs.DBSRepositoryBase.IdType
All Implemented Interfaces:
Serializable, Comparable<DBSRepositoryBase.IdType>, Constable
Enclosing class:
DBSRepositoryBase

public static enum DBSRepositoryBase.IdType extends Enum<DBSRepositoryBase.IdType>
Type of id to used for documents.
Since:
8.3
  • Enum Constant Details

    • varchar

      public static final DBSRepositoryBase.IdType varchar
      Random UUID stored in a string.
    • uuid

      public static final DBSRepositoryBase.IdType uuid
      Random UUID stored as a native UUID type.
    • sequence

      public static final DBSRepositoryBase.IdType sequence
      Integer sequence maintained by the database.
    • sequenceHexRandomized

      public static final DBSRepositoryBase.IdType sequenceHexRandomized
      Integer sequence maintained by the database, in a pseudo-random order, as hex.
      Since:
      11.1
  • Method Details

    • values

      public static DBSRepositoryBase.IdType[] 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 DBSRepositoryBase.IdType 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