

Implementation Guide › Implementation › Data Gathering (Data Source Expert) › How to Configure Adapters and Translations › File Adapter Case Study › Configuration File InputFormatCollection Section
Configuration File InputFormatCollection Section
This section specifies the structure of data retrieved from the data source-how a data row is to be cut into fields and what are the field types and formats. Initial data filtering and data manipulations may be performed in this section by using InputFormatSwitch and Compound fields respectively.
In this section it is possible to define the validation Metrics for the input records using the InputFormatValidation and the ValidationCase, which determine whether or not a record is legal.
The InputFormatCollection node may contain one or more InputFormat nodes.
The general work flow of this section that the Adapter follows is:
- Data row is matched against the InputFormat specified in the DataSourceInterface.
- Data is dissected into fields following the matching InputFormat specification. The order of the InputFormatFields should correspond with the order of fields parsed from the data source.
- Compound fields are assigned values by combining and breaking the previously specified data fields. Compound field definitions should come after the normal field definition.
- Processed data is checked against TranslatorSwitch conditions to determine which Translator is used to build the output event out of the input record.
- Processed data is either sent to the matching Translator or is ignored.
Work with the following parameters:
Copyright © 2013 CA.
All rights reserved.
 
|
|