Official | HULFT IoT EdgeStreaming Mapper Reference First Edition: July 1, 2021
Types of Mapper logic
Mapper logic is a function that can perform basic arithmetic, character substitution, and other various conversion and processing operations on values.
The types of Mapper logic are Loop, Condition, Number, Date, String, and Array.
-
Mapper icon
When you place a Mapper logic on the mapping canvas of the Mapper editor, a connecting line appears to the left of the icon. This line is called an "input handler."
Example:
The upper connecting line is the "first input handler," and the lower connecting line is the "second input handler."
You can define the input data by connecting input schema elements, variables, or other Mapper logic to this connecting line.
For some logics, you can increase the number of connecting lines when you change the properties.
For details about how to use Mapper logic, refer to How to use Mapper logic.
Loop
Conditional loop
Icon |
Logic Name |
Function |
---|---|---|
|
This logic loops and outputs the items that match the conditions. |
Condition
Boolean
Icon |
Logic Name |
Function |
---|---|---|
|
This logic returns the logical conjunction (AND condition) of two input booleans. |
|
|
This logic returns the logical disjunction (OR condition) between two input booleans. |
|
|
This logic returns the negation (NOT condition) between two input booleans. |
|
|
This logic outputs the boolean constant. |
|
|
This logic determines whether the input value is null. |
Number
Icon |
Logic Name |
Function |
---|---|---|
![]() |
This logic determines whether two input numbers are equal. |
|
![]() |
This logic determines whether two input numbers differ. |
|
![]() |
This logic determines whether the input value of the first input handler is smaller than the input value of the second input handler. |
|
![]() |
This logic determines whether the input value of the first input handler is equal to or lower than the input value of the second input handler. |
|
![]() |
This logic determines whether the input value of the first input handler is larger than the input value of the second input handler. |
|
![]() |
This logic determines whether the input value of the first input handler is equal to or higher than the input value of the second input handler. |
String
Icon |
Logic Name |
Function |
---|---|---|
![]() |
This logic determines whether two input strings are equal. |
|
![]() |
This logic determines whether two input strings differ. |
|
![]() |
This logic determines whether the input string starts with the specified string. |
|
![]() |
This logic determines whether the input string ends with the specified string. |
|
![]() |
This logic determines whether the input string contains the specified string. |
|
![]() |
This logic determines whether the input string matches the specified regular expression. |
Number
Basic
Icon |
Logic Name |
Function |
---|---|---|
![]() |
This logic outputs the numeric constant (integer). |
|
![]() |
This logic outputs the numeric constant (floating point). |
|
![]() |
This logic converts the input values into integers. |
|
![]() |
This logic converts the input values into floating point values. |
|
![]() |
This logic outputs the value incremented from 0. |
Calculation
Icon |
Logic Name |
Function |
---|---|---|
![]() |
This logic adds the input value of the second input handler to the input value of the first input handler and returns the result. |
|
![]() |
This logic subtracts the input value of the second input handler from the input value of the first input handler and returns the result. |
|
![]() |
This logic multiplies the input value of the first input handler by the input value of the second input handler and returns the result. |
|
![]() |
This logic divides the input value of the first input handler by the input value of the second input handler and returns the result. |
|
![]() |
This logic divides the input value of the first input handler by the input value of the second input handler and returns the remainder. |
Function
Icon |
Logic Name |
Function |
---|---|---|
![]() |
This logic rounds up the input numerical value to the nearest integer. |
|
![]() |
This logic rounds down to the nearest integer of the input numerical value. If the input numerical value is a negative value, the output numerical value is the largest value less than or equal to the input numerical value. |
|
![]() |
This logic rounds the input numeric value down according to the specified precision. If the input numerical value is a negative value, the output numerical value is the largest value less than or equal to the specified number of digits. |
|
![]() |
This logic rounds down to the fractional point of the input value. If the input numerical value is a negative value, this logic rounds down to the nearest integer. |
|
![]() |
This logic rounds the input numeric value. |
|
![]() |
This logic rounds the input numeric value according to the specified precision. |
|
![]() |
This logic returns the absolute value of the input numerical value. |
|
![]() |
This logic raises the input numerical value to the power of the specified value. |
|
![]() |
This logic returns the bit length of the input character string. |
|
![]() |
This logic returns number of characters of the input character string. |
Date
Icon |
Logic Name |
Function |
---|---|---|
![]() |
This logic gets the year from the input date and time. |
|
![]() |
This logic gets the month from the input date and time. |
|
![]() |
This logic gets the day from the input date and time. |
|
![]() |
This logic gets the hour from the input date and time. |
|
![]() |
This logic gets the minutes from the input date and time. |
|
![]() |
This logic gets the seconds from the input date and time. |
|
![]() |
This logic gets the day of the week from the input date and time. |
Set
Icon |
Logic Name |
Function |
---|---|---|
![]() |
This logic outputs the average of the array. |
Date
Basic
Icon |
Logic Name |
Function |
---|---|---|
![]() |
This logic outputs the Unix time. |
|
![]() |
This logic gets the current date and time based on Universal Time Coordinated (UTC). |
|
![]() |
This logic gets the current date and time based on the time zone of the OS running Runtime. |
Calculation
Icon |
Logic Name |
Function |
---|---|---|
![]() |
This logic outputs the input string as date and time according to the selected layout. |
|
![]() |
This logic outputs the input string as date and time according to the specified layout. |
|
![]() |
This logic increases or decreases the hour of the input date and time and returns the date and time value. |
|
![]() |
This logic increases or decreases the minutes of the input date and time and returns the date and time value. |
|
![]() |
This logic increases or decreases the seconds of the input date and time and returns the date and time value. |
String
Basic
Icon |
Logic Name |
Function |
---|---|---|
![]() |
This logic outputs a single-line string constant. |
|
![]() |
This logic converts the input values to character strings. |
Calculation
Icon |
Logic Name |
Function |
---|---|---|
![]() |
This logic joins multiple input strings. |
|
![]() |
This logic pads the input value with zeros up to the specified number of digits and outputs the result as a string. |
|
![]() |
This logic returns the specified number of bytes of string from the left of the input string. |
|
![]() |
This logic returns the specified number of bytes of string from the right of the input string. |
|
![]() |
This logic returns the specified number of bytes of string from the specified start location of the input string. |
Date
Icon |
Logic Name |
Function |
---|---|---|
![]() |
This logic formats the date and time to the selected format. |
|
![]() |
This logic formats the date and time to the specified format. |
Array
Basic
Icon |
Logic Name |
Function |
---|---|---|
![]() |
This logic adds all the specified elements to the array. |
|
![]() |
This logic adds all the specified elements to the array. Values are deleted starting from the oldest value if the maximum size is exceeded. |
Official | HULFT IoT EdgeStreaming Mapper Reference First Edition: July 1, 2021