Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)Attributes Regular Expression | attributes-regex | | | Regular expression that will be evaluated against the flow file attributes to select the matching attributes. This property can be used in combination with the attributes list property. The final output will contain a combination of matches found in the ATTRIBUTE_LIST and ATTRIBUTE_REGEX. Supports Expression Language: true (will be evaluated using flow file attributes and variable registry) |
Destination | destination | flowfile-attribute | - flowfile-attribute
- flowfile-content
| Control if CSV value is written as a new flowfile attribute 'CSVData' or written in the flowfile content. |
Include Core Attributes | include-core-attributes | true | | Determines if the FlowFile org.apache.nifi.flowfile.attributes.CoreAttributes, which are contained in every FlowFile, should be included in the final CSV value generated. Core attributes will be added to the end of the CSVData and CSVSchema strings. The Attribute List property overrides this setting. |
Null Value | null-value | false | | If true a non existing or empty attribute will be 'null' in the resulting CSV. If false an empty string will be placed in the CSV |
Include Schema | include-schema | false | | If true the schema (attribute names) will also be converted to a CSV string which will either be applied to a new attribute named 'CSVSchema' or applied at the first row in the content depending on the DESTINATION property setting. |
Relationships:
Name | Description |
---|
success | Successfully converted attributes to CSV |
failure | Failed to convert attributes to CSV |
Reads Attributes:
None specified.Writes Attributes:
Name | Description |
---|
CSVSchema | CSV representation of the Schema |
CSVData | CSV representation of Attributes |
State management:
This component does not store state.Restricted:
This component is not restricted.Input requirement:
This component requires an incoming relationship.System Resource Considerations:
None specified.