extract csv column

CSV Column Extractor

Version: 17.07

Supported Since: 17.07

What is CSV Column Extractor Processor?

CSV Column Extractor processing element can be used to extract a column in the CSV payload of a CSV-type message.

The CSV payload is expected to be in the RFC 4180 standard format.

In order to use this processing element, you must first select the CSV Message dependency from the processor list when you are creating an empty Ultra project. If you have already created a project, you can add this dependency via Component Registry. From Tools menu, select Ultra Studio → Component Registry and from the Processors list, select the CSV Message dependency

csv extract column outports

Out Ports

Next

The message will be sent to this outport if the payload transformation is completed successfully

On Exception

The message will be sent to this outport if the processing element failed to transform the payload due to some reason

Parameters

Column Index *

Basic

Zero-based index of the column to be extracted

Variable Name *

Basic

Variable name to store extracted value from the message

Skip First Row

Basic

If selected, first row will be ignored during extraction.

Default value is false

Return Type

Basic

Return type of the value

  • STRING - Column values will be converted to String format.

  • INTEGER - Column values will be converted to Integer format.

  • DOUBLE - Column values will be converted to Double format.

Sample Use Case

In the following use case, the requirement is to read a CSV file from a NIO File Ingress Connector extract a column from the CSV message payload and pass it to a custom processing element, perform some custom processing using the extracted column and finally deliver the message to a backend service via NIO HTTP Egress Connector

csv column extractor flow
In this topic
In this topic
Contact Us