Grouping
Logic name
Grouping (Document Mapper)
Function
This logic performs grouping.
Data types
|
Location |
Type |
|---|---|
|
First input handler |
Loop |
|
Second input handler |
String |
|
Logic output |
Loop |
For details, refer to Logic specifications.
Properties
|
Category |
Property |
Description |
|---|---|---|
|
Comment |
Comment |
You can write a description of the logic. It doesn't affect the conversion process. |
Notes
-
Grouping can't be performed when the output component is of table model type because the node to output aggregation result to doesn't exist.
-
Mapping under the loop point of grouping can't output nodes higher than the loop point.
-
Grouping and subsequent mapping under the loop point of the grouping aren't executed if the second handler (key for grouping) is not specified.
Logic sample
Mapping definition
Logic settings and processing result
The logic groups by state code.
Property settings
|
Property |
Setting |
|---|---|
|
None |
|
Input data
|
001,Tokyo,101,Bunkyo ku |
|
002,Osaka,201,Osaka city |
|
001,Tokyo,108,Chiyoda ku |
Output data
|
<?xml version="1.0" encoding="UTF-8"?> |
For a list of logics, refer to Mapper Logic Guide.