Package com.hazelcast.nio.serialization
Enum Class FieldKind
- All Implemented Interfaces:
Serializable
,Comparable<FieldKind>
,Constable
FieldKind for
Compact
and Portable
formats.
It is designed to be used with GenericRecord.getFieldKind(String)
API.
Note that actual id's in FieldType
and FieldKind
are not matching.
FieldType
is the old API for Portable only and only meant to be used with
ClassDefinition.getFieldType(String)
API.
- Since:
- Hazelcast 5.2
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDeprecated.Portable Serialization has been deprecated.Supported only forCompact
.Supported only forCompact
.Supported only forCompact
.Supported only forCompact
.Supported only forCompact
.Supported only forCompact
.Supported only forCompact
.Supported only forCompact
.Deprecated, for removal: This API element is subject to removal in a future version.Portable Serialization has been deprecated.Deprecated.Portable Serialization has been deprecated.Supported only forCompact
.Represents fields that do not exist.Supported only forCompact
.Supported only forCompact
.Supported only forCompact
.Supported only forCompact
.Supported only forCompact
.Supported only forCompact
.Supported only forCompact
.Deprecated, for removal: This API element is subject to removal in a future version.Portable Serialization has been deprecated. -
Method Summary
-
Enum Constant Details
-
NOT_AVAILABLE
Represents fields that do not exist. -
BOOLEAN
-
ARRAY_OF_BOOLEAN
-
INT8
-
ARRAY_OF_INT8
-
CHAR
Deprecated.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0. -
ARRAY_OF_CHAR
Deprecated.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0. -
INT16
-
ARRAY_OF_INT16
-
INT32
-
ARRAY_OF_INT32
-
INT64
-
ARRAY_OF_INT64
-
FLOAT32
-
ARRAY_OF_FLOAT32
-
FLOAT64
-
ARRAY_OF_FLOAT64
-
STRING
-
ARRAY_OF_STRING
-
DECIMAL
-
ARRAY_OF_DECIMAL
-
TIME
-
ARRAY_OF_TIME
-
DATE
-
ARRAY_OF_DATE
-
TIMESTAMP
-
ARRAY_OF_TIMESTAMP
-
TIMESTAMP_WITH_TIMEZONE
-
ARRAY_OF_TIMESTAMP_WITH_TIMEZONE
-
COMPACT
-
ARRAY_OF_COMPACT
-
PORTABLE
Deprecated, 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. -
ARRAY_OF_PORTABLE
Deprecated, 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.Supported only forPortable
. Not applicable to CompactCompactSerializationConfig
-
NULLABLE_BOOLEAN
-
ARRAY_OF_NULLABLE_BOOLEAN
-
NULLABLE_INT8
-
ARRAY_OF_NULLABLE_INT8
-
NULLABLE_INT16
-
ARRAY_OF_NULLABLE_INT16
-
NULLABLE_INT32
-
ARRAY_OF_NULLABLE_INT32
-
NULLABLE_INT64
-
ARRAY_OF_NULLABLE_INT64
-
NULLABLE_FLOAT32
-
ARRAY_OF_NULLABLE_FLOAT32
-
NULLABLE_FLOAT64
-
ARRAY_OF_NULLABLE_FLOAT64
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
get
-
getId
public int getId()
-