public enum SFSDataType extends java.lang.Enum<SFSDataType>
Enum Constant and Description |
---|
BOOL |
BOOL_ARRAY |
BYTE |
BYTE_ARRAY |
CLASS |
DOUBLE |
DOUBLE_ARRAY |
FLOAT |
FLOAT_ARRAY |
INT |
INT_ARRAY |
LONG |
LONG_ARRAY |
NULL |
SFS_ARRAY |
SFS_OBJECT |
SHORT |
SHORT_ARRAY |
TEXT |
UTF_STRING |
UTF_STRING_ARRAY |
Modifier and Type | Method and Description |
---|---|
static SFSDataType |
fromClass(java.lang.Class clazz) |
static SFSDataType |
fromTypeId(int typeId)
Get the SFSDataType enum from its type id
|
int |
getTypeID() |
static SFSDataType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SFSDataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SFSDataType NULL
public static final SFSDataType BOOL
public static final SFSDataType BYTE
public static final SFSDataType SHORT
public static final SFSDataType INT
public static final SFSDataType LONG
public static final SFSDataType FLOAT
public static final SFSDataType DOUBLE
public static final SFSDataType UTF_STRING
public static final SFSDataType BOOL_ARRAY
public static final SFSDataType BYTE_ARRAY
public static final SFSDataType SHORT_ARRAY
public static final SFSDataType INT_ARRAY
public static final SFSDataType LONG_ARRAY
public static final SFSDataType FLOAT_ARRAY
public static final SFSDataType DOUBLE_ARRAY
public static final SFSDataType UTF_STRING_ARRAY
public static final SFSDataType SFS_ARRAY
public static final SFSDataType SFS_OBJECT
public static final SFSDataType CLASS
public static final SFSDataType TEXT
public static SFSDataType[] values()
for (SFSDataType c : SFSDataType.values()) System.out.println(c);
public static SFSDataType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static SFSDataType fromTypeId(int typeId)
typeId
- the type idpublic static SFSDataType fromClass(java.lang.Class clazz)
public int getTypeID()