Package org.teamapps.universaldb.index
Enum IndexType
- java.lang.Object
-
- java.lang.Enum<IndexType>
-
- org.teamapps.universaldb.index.IndexType
-
-
Method Summary
Modifier and Type Method Description intgetId()static IndexTypegetIndexTypeById(int id)static IndexTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static IndexType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOOLEAN
public static final IndexType BOOLEAN
-
SHORT
public static final IndexType SHORT
-
INT
public static final IndexType INT
-
LONG
public static final IndexType LONG
-
FLOAT
public static final IndexType FLOAT
-
DOUBLE
public static final IndexType DOUBLE
-
TEXT
public static final IndexType TEXT
-
REFERENCE
public static final IndexType REFERENCE
-
MULTI_REFERENCE
public static final IndexType MULTI_REFERENCE
-
FILE
public static final IndexType FILE
-
BINARY
public static final IndexType BINARY
-
-
Method Detail
-
values
public static IndexType[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IndexType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getId
public int getId()
-
getIndexTypeById
public static IndexType getIndexTypeById(int id)
-
-