The CSV String to ESP formatter translates CSV strings to AepRecord objects. Set values for this formatter in the adapter configuration file.
Parameter | Description |
---|---|
ExpectStreamNameOpcode |
Type: boolean (Required) If set to true, the adapter interprets the first two fields of the incoming CSV line as stream name and opcode respectively. The adapter discards messages with unmatched stream names. The accepted opcodes are:
The default value is false. |
Delimiter |
Type: string (Advanced) The symbols used to separate the column. The default value is a comma (,). |
HasHeader |
Type: boolean (Advanced) Determines whether the first line of the file contains the description of the fields. Default value is false. |
DateFormat |
Type: string (Advanced) The format string for parsing date values. For example, yyyy-MM-dd'T'HH:mm:ss. |
TimestampFormat |
Type: string (Advanced) Format string for parsing timestamp values. For example, yyyy-MM-dd'T'HH:mm:ss.SSS. |