Class: ObjectArrayType

ObjectArrayType(elementTypeopt)

Class representing an array type of Ignite objects.

It is described by COMPOSITE_TYPE.OBJECT_ARRAY ObjectType.COMPOSITE_TYPE.

Constructor

new ObjectArrayType(elementTypeopt)

Public constructor.

Optionally specifies a type of elements in the array.

If the type of elements is not specified then during operations the Ignite client will try to make automatic mapping between JavaScript types and Ignite object types - according to the mapping table defined in the description of the ObjectType class.

Parameters:
Name Type Attributes Default Description
elementType ObjectType.PRIMITIVE_TYPE | CompositeType <optional>
null

type of the array element:

  • either a type code of primitive (simple) type
  • or an instance of class representing non-primitive (composite) type
  • or null (or not specified) that means the type is not specified
Source:

Extends