Official | HULFT IoT EdgeStreaming Mapper Reference First Edition: July 1, 2021

Add (maximum size adjustment)

Add (maximum size adjustment)

Logic name

Add (maximum size adjustment)

Function

This logic adds all the specified elements to the array. Values are deleted starting from the oldest value if the maximum size is exceeded.

Data type

Location

Type

First input handler

Array

Second and subsequent input handlers

All

Logic output

Array

Property

Category

Property

Description

Required

Maximum size

Specify the maximum number of elements of the array.

Required

Input count

Specify the number of elements that you want to add plus one.

Comment

Comment

It does not affect the conversion processing.

= Remarks =

If the input number is smaller than or equal to maximum size, the behavior is the same as the Add logic.

Example of logic use

Mapping definition

Logic settings and processing result

An array of two elements is output.

Property settings

Property

Setting Value

Maximum size

2

Input count

5

Input data

Script variables (array type)

123

456

"abc"

"def"

Output data

["abc","def"]

 

 

Official | HULFT IoT EdgeStreaming Mapper Reference First Edition: July 1, 2021