Package org.nuxeo.ecm.core.storage.sql
Enum ColumnSpec
- java.lang.Object
-
- java.lang.Enum<ColumnSpec>
-
- org.nuxeo.ecm.core.storage.sql.ColumnSpec
-
- All Implemented Interfaces:
Serializable
,Comparable<ColumnSpec>
public enum ColumnSpec extends Enum<ColumnSpec>
Abstract representation of the database-level column types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARRAY_BLOBID
ARRAY_BOOLEAN
ARRAY_DOUBLE
ARRAY_INTEGER
ARRAY_LONG
ARRAY_STRING
ARRAY_TIMESTAMP
AUTOINC
BLOB
BLOBID
BOOLEAN
CLUSTERFRAGS
CLUSTERNODE
DOUBLE
FTINDEXED
FTSTORED
INTEGER
LONG
NODEARRAY
NODEID
NODEIDFK
NODEIDFKMUL
NODEIDFKNP
NODEIDFKNULL
NODEIDPK
NODEVAL
STRING
SYSNAME
SYSNAMEARRAY
TIMESTAMP
TINYINT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isId()
Checks if this spec holds a Nuxeo unique id (usually UUID).static ColumnSpec
valueOf(String name)
Returns the enum constant of this type with the specified name.static ColumnSpec[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static ColumnSpec[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ColumnSpec c : ColumnSpec.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ColumnSpec 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 nameNullPointerException
- if the argument is null
-
isId
public boolean isId()
Checks if this spec holds a Nuxeo unique id (usually UUID).
-
-