Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • SerializationServiceV1

Implements

Index

Constructors

constructor

Methods

Protected assertValidCustomSerializer

  • assertValidCustomSerializer(candidate: any): void

Protected calculatePartitionHash

  • calculatePartitionHash(object: any, strategy: Function): number

Protected findSerializerById

Protected findSerializerByName

  • findSerializerByName(name: string, isArray: boolean): Serializer

findSerializerFor

  • Serialization precedence

    1. NULL
    2. DataSerializable
    3. Portable
    4. Default Types
      • Byte, Boolean, Character, Short, Integer, Long, Float, Double, String
      • Array of [Byte, Boolean, Character, Short, Integer, Long, Float, Double, String]
      • Java types [Date, BigInteger, BigDecimal, Class, Enum]
    5. Custom serializers
    6. Global Serializer
    7. Fallback (JSON)

    Parameters

    • obj: any

    Returns Serializer

Protected isCustomSerializable

  • isCustomSerializable(object: any): boolean

isData

  • isData(object: any): boolean

Protected isIdentifiedDataSerializable

  • isIdentifiedDataSerializable(obj: any): boolean

Protected isPortableSerializable

  • isPortableSerializable(obj: any): boolean

Protected lookupCustomSerializer

Protected lookupDefaultSerializer

Protected lookupGlobalSerializer

readObject

Protected registerCustomSerializers

  • registerCustomSerializers(): void

Protected registerDefaultSerializers

  • registerDefaultSerializers(): void

Protected registerGlobalSerializer

  • registerGlobalSerializer(): void

Protected registerIdentifiedFactories

  • registerIdentifiedFactories(): void

registerSerializer

  • registerSerializer(name: string, serializer: Serializer): void

toData

  • toData(object: any, partitioningStrategy?: any): Data

toObject

  • toObject(data: Data): any

writeObject

Generated using TypeDoc