Enum Class ColumnSpec

java.lang.Object
java.lang.Enum<ColumnSpec>
org.nuxeo.ecm.core.storage.sql.ColumnSpec
All Implemented Interfaces:
Serializable, Comparable<ColumnSpec>, Constable

public enum ColumnSpec extends Enum<ColumnSpec>
Abstract representation of the database-level column types.
  • Enum Constant Details

    • STRING

      public static final ColumnSpec STRING
    • BOOLEAN

      public static final ColumnSpec BOOLEAN
    • LONG

      public static final ColumnSpec LONG
    • DOUBLE

      public static final ColumnSpec DOUBLE
    • TIMESTAMP

      public static final ColumnSpec TIMESTAMP
    • BLOBID

      public static final ColumnSpec BLOBID
    • BLOB

      public static final ColumnSpec BLOB
    • ARRAY_STRING

      public static final ColumnSpec ARRAY_STRING
    • ARRAY_BOOLEAN

      public static final ColumnSpec ARRAY_BOOLEAN
    • ARRAY_LONG

      public static final ColumnSpec ARRAY_LONG
    • ARRAY_DOUBLE

      public static final ColumnSpec ARRAY_DOUBLE
    • ARRAY_TIMESTAMP

      public static final ColumnSpec ARRAY_TIMESTAMP
    • ARRAY_BLOBID

      public static final ColumnSpec ARRAY_BLOBID
    • ARRAY_INTEGER

      public static final ColumnSpec ARRAY_INTEGER
    • NODEID

      public static final ColumnSpec NODEID
    • NODEIDFK

      public static final ColumnSpec NODEIDFK
    • NODEIDFKNP

      public static final ColumnSpec NODEIDFKNP
    • NODEIDFKMUL

      public static final ColumnSpec NODEIDFKMUL
    • NODEIDFKNULL

      public static final ColumnSpec NODEIDFKNULL
    • NODEIDPK

      public static final ColumnSpec NODEIDPK
    • NODEVAL

      public static final ColumnSpec NODEVAL
    • NODEARRAY

      public static final ColumnSpec NODEARRAY
    • SYSNAME

      public static final ColumnSpec SYSNAME
    • SYSNAMEARRAY

      public static final ColumnSpec SYSNAMEARRAY
    • TINYINT

      public static final ColumnSpec TINYINT
    • INTEGER

      public static final ColumnSpec INTEGER
    • AUTOINC

      public static final ColumnSpec AUTOINC
    • FTINDEXED

      public static final ColumnSpec FTINDEXED
    • FTSTORED

      public static final ColumnSpec FTSTORED
    • CLUSTERNODE

      public static final ColumnSpec CLUSTERNODE
    • CLUSTERFRAGS

      public static final ColumnSpec CLUSTERFRAGS
  • Method Details

    • values

      public static ColumnSpec[] 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 ColumnSpec 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
    • isId

      public boolean isId()
      Checks if this spec holds a Nuxeo unique id (usually UUID).