Enum Class MessageCollectionItemType
java.lang.Object
java.lang.Enum<MessageCollectionItemType>
org.apache.ignite.plugin.extensions.communication.MessageCollectionItemType
- All Implemented Interfaces:
Serializable,Comparable<MessageCollectionItemType>,Constable
Enum representing possible types of collection items.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBit set.Boolean.Boolean array.Byte.Byte array.Byte buffer.Character.Character array.Double.Double array.Float.Float array.HybridTimestamp.Ignite UUID.Integer.Integer array.Long.Long array.Message.Short.Short array.String.UUID. -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable MessageCollectionItemTypefromOrdinal(int ord) Efficiently gets enumerated value from its ordinal.static MessageCollectionItemTypeReturns the enum constant of this class with the specified name.static MessageCollectionItemType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BYTE
Byte. -
SHORT
Short. -
INT
Integer. -
LONG
Long. -
FLOAT
Float. -
DOUBLE
Double. -
CHAR
Character. -
BOOLEAN
Boolean. -
BYTE_ARR
Byte array. -
SHORT_ARR
Short array. -
INT_ARR
Integer array. -
LONG_ARR
Long array. -
FLOAT_ARR
Float array. -
DOUBLE_ARR
Double array. -
CHAR_ARR
Character array. -
BOOLEAN_ARR
Boolean array. -
STRING
String. -
BIT_SET
Bit set. -
BYTE_BUFFER
Byte buffer. -
UUID
UUID. -
IGNITE_UUID
Ignite UUID. -
MSG
Message. -
HYBRID_TIMESTAMP
HybridTimestamp.
-
-
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
-
fromOrdinal
Efficiently gets enumerated value from its ordinal.- Parameters:
ord- Ordinal value.- Returns:
- Enumerated value.
-