The Flattener
The Flattener element "flattens" hierarchical data into a simpler, tabular set of rows and columns, making the information usable for a variety of Logi elements.
The following topics discuss the Flattener element:
About the Flattener
Some data sources return information in hierarchical formats, which may contain
multiple levels of parent-child relationships. This structure can create difficulties
for further processing. The Flattener element processes hierarchical data into a tabular set of rows and columns, so that it can be used with a range of other Logi elements.
The Flattener is available for use with a limited number of datalayers, including:
- DataLayer.JSON File
- DataLayer.Mongo Find
- DataLayer.Mongo Map Reduce
- DataLayer.Mongo Run Command
- DataLayer.REST
- DataLayer.Web Service
- DataLayer.XML File
The Flattener adds an attribute, rdFlattenedElement, to each flattened element in the output data to indicate the input element's name.