Package com.hazelcast.nio.serialization
Enum Class FieldType
- All Implemented Interfaces:
- Serializable,- Comparable<FieldType>,- Constable
Field Type for 
Portable format to be used with ClassDefinition.getFieldType(String) API- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Portable Serialization has been deprecated.Deprecated, for removal: This API element is subject to removal in a future version.Portable Serialization has been deprecated.
- 
Method SummaryModifier and TypeMethodDescriptionstatic FieldTypeget(byte type) bytegetId()intbooleanbooleanstatic FieldTypeReturns the enum constant of this class with the specified name.static FieldType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
PORTABLEDeprecated, for removal: This API element is subject to removal in a future version.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
- 
BYTE
- 
BOOLEAN
- 
CHAR
- 
SHORT
- 
INT
- 
LONG
- 
FLOAT
- 
DOUBLE
- 
UTF
- 
PORTABLE_ARRAYDeprecated, for removal: This API element is subject to removal in a future version.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
- 
BYTE_ARRAY
- 
BOOLEAN_ARRAY
- 
CHAR_ARRAY
- 
SHORT_ARRAY
- 
INT_ARRAY
- 
LONG_ARRAY
- 
FLOAT_ARRAY
- 
DOUBLE_ARRAY
- 
UTF_ARRAY
- 
DECIMAL
- 
DECIMAL_ARRAY
- 
TIME
- 
TIME_ARRAY
- 
DATE
- 
DATE_ARRAY
- 
TIMESTAMP
- 
TIMESTAMP_ARRAY
- 
TIMESTAMP_WITH_TIMEZONE
- 
TIMESTAMP_WITH_TIMEZONE_ARRAY
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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
 
- 
getIdpublic byte getId()
- 
get
- 
isArrayTypepublic boolean isArrayType()
- 
getSingleType
- 
hasDefiniteSizepublic boolean hasDefiniteSize()
- 
getTypeSize- Returns:
- size of an element of the type represented by this object
- Throws:
- IllegalArgumentException- if the type does not have a definite size. Invoke- hasDefiniteSize()to check first.
 
 
-