Enum Class FieldType

java.lang.Object
java.lang.Enum<FieldType>
com.hazelcast.nio.serialization.FieldType
All Implemented Interfaces:
Serializable, Comparable<FieldType>, Constable

@Deprecated(since="5.4", forRemoval=true) public enum FieldType extends Enum<FieldType>
Deprecated, for removal: This API element is subject to removal in a future version.
Field Type for Portable format to be used with ClassDefinition.getFieldType(String) API
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, 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.
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static FieldType
    get(byte type)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    byte
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static FieldType
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the enum constant of this class with the specified name.
    static FieldType[]
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • PORTABLE

      @Deprecated(since="5.4", forRemoval=true) public static final FieldType 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.
    • BYTE

      public static final FieldType BYTE
      Deprecated, for removal: This API element is subject to removal in a future version.
    • BOOLEAN

      public static final FieldType BOOLEAN
      Deprecated, for removal: This API element is subject to removal in a future version.
    • CHAR

      public static final FieldType CHAR
      Deprecated, for removal: This API element is subject to removal in a future version.
    • SHORT

      public static final FieldType SHORT
      Deprecated, for removal: This API element is subject to removal in a future version.
    • INT

      public static final FieldType INT
      Deprecated, for removal: This API element is subject to removal in a future version.
    • LONG

      public static final FieldType LONG
      Deprecated, for removal: This API element is subject to removal in a future version.
    • FLOAT

      public static final FieldType FLOAT
      Deprecated, for removal: This API element is subject to removal in a future version.
    • DOUBLE

      public static final FieldType DOUBLE
      Deprecated, for removal: This API element is subject to removal in a future version.
    • UTF

      public static final FieldType UTF
      Deprecated, for removal: This API element is subject to removal in a future version.
    • PORTABLE_ARRAY

      @Deprecated(since="5.4", forRemoval=true) public static final FieldType PORTABLE_ARRAY
      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.
    • BYTE_ARRAY

      public static final FieldType BYTE_ARRAY
      Deprecated, for removal: This API element is subject to removal in a future version.
    • BOOLEAN_ARRAY

      public static final FieldType BOOLEAN_ARRAY
      Deprecated, for removal: This API element is subject to removal in a future version.
    • CHAR_ARRAY

      public static final FieldType CHAR_ARRAY
      Deprecated, for removal: This API element is subject to removal in a future version.
    • SHORT_ARRAY

      public static final FieldType SHORT_ARRAY
      Deprecated, for removal: This API element is subject to removal in a future version.
    • INT_ARRAY

      public static final FieldType INT_ARRAY
      Deprecated, for removal: This API element is subject to removal in a future version.
    • LONG_ARRAY

      public static final FieldType LONG_ARRAY
      Deprecated, for removal: This API element is subject to removal in a future version.
    • FLOAT_ARRAY

      public static final FieldType FLOAT_ARRAY
      Deprecated, for removal: This API element is subject to removal in a future version.
    • DOUBLE_ARRAY

      public static final FieldType DOUBLE_ARRAY
      Deprecated, for removal: This API element is subject to removal in a future version.
    • UTF_ARRAY

      public static final FieldType UTF_ARRAY
      Deprecated, for removal: This API element is subject to removal in a future version.
    • DECIMAL

      public static final FieldType DECIMAL
      Deprecated, for removal: This API element is subject to removal in a future version.
    • DECIMAL_ARRAY

      public static final FieldType DECIMAL_ARRAY
      Deprecated, for removal: This API element is subject to removal in a future version.
    • TIME

      public static final FieldType TIME
      Deprecated, for removal: This API element is subject to removal in a future version.
    • TIME_ARRAY

      public static final FieldType TIME_ARRAY
      Deprecated, for removal: This API element is subject to removal in a future version.
    • DATE

      public static final FieldType DATE
      Deprecated, for removal: This API element is subject to removal in a future version.
    • DATE_ARRAY

      public static final FieldType DATE_ARRAY
      Deprecated, for removal: This API element is subject to removal in a future version.
    • TIMESTAMP

      public static final FieldType TIMESTAMP
      Deprecated, for removal: This API element is subject to removal in a future version.
    • TIMESTAMP_ARRAY

      public static final FieldType TIMESTAMP_ARRAY
      Deprecated, for removal: This API element is subject to removal in a future version.
    • TIMESTAMP_WITH_TIMEZONE

      public static final FieldType TIMESTAMP_WITH_TIMEZONE
      Deprecated, for removal: This API element is subject to removal in a future version.
    • TIMESTAMP_WITH_TIMEZONE_ARRAY

      public static final FieldType TIMESTAMP_WITH_TIMEZONE_ARRAY
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • values

      public static FieldType[] values()
      Deprecated, for removal: This API element is subject to removal in a future version.
      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

      public static FieldType valueOf(String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
      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 name
      NullPointerException - if the argument is null
    • getId

      public byte getId()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • get

      public static FieldType get(byte type)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • isArrayType

      public boolean isArrayType()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getSingleType

      public FieldType getSingleType()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • hasDefiniteSize

      public boolean hasDefiniteSize()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getTypeSize

      public int getTypeSize() throws IllegalArgumentException
      Deprecated, for removal: This API element is subject to removal in a future version.
      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.