Mapper settings
Next to the addSchema {} function, use the addMapperData {} function to define mapper settings, including input tables, var table, and output tables, joins, and mappings. The addMapperData {} function typically includes the following sub-functions:
- addInputTable {}: used to define as many input tables as needed.
 - addVarTable {}: used to define mapping variables.
 - addOutputTable {}: used to define as many output tables as needed.
 
addInputTable {}
| Function/parameter | Description | Mandatory? | 
|---|---|---|
| 
                   NAME  | 
               
                   Give a name to the input table.  | 
               
                   Yes  | 
            
| 
                   ISINNERJOIN  | 
               
                   Set this parameter to true to create an Inner Join. By default, this parameter is set to false, which means a Left Outer Join will be created. This setting is meaningful only for a lookup table. For more information about different join types, see Mapping data flows.  | 
               
                   No  | 
            
| 
                   MATCHINGMODE  | 
               
                   Use this parameter to specify the match mode. Acceptable values: 
 This setting is meaningful only for a lookup table. For more information about different match modes, see Mapping data flows.  | 
               
                   No  | 
            
| 
                   LOOKUPMODE  | 
               
                   Use this parameter to specify the lookup mode. Acceptable values: 
 This setting is meaningful only for lookup tables. For more information about different lookup modes, see Mapping data flows.  | 
               
                   No  | 
            
| 
                   addColumn {}  | 
               
                   Use this function to add a column to the table. 
 Repeat this function to define as many columns as needed.  | 
               
                   Yes  | 
            
addVarTable {}
| Function/parameter | Description | Mandatory? | 
|---|---|---|
| 
                   NAME  | 
               
                   Give a name to the variable table.  | 
               
                   Yes  | 
            
| 
                   addColumn {}  | 
               
                   Use this function to define a mapping variable as a column. 
 Repeat this function to define as many mapping variables as needed.  | 
               
                   Yes  | 
            
addOutputTable {}
| Function/parameter | Description | Mandatory? | 
|---|---|---|
| 
                   ID  | 
               
                   Type in the ID of the table. This parameter is required, but it needs a value only when the output table uses a Repository schema.  | 
               
                   Yes  | 
            
| 
                   NAME  | 
               
                   Give a name to the output table.  | 
               
                   Yes  | 
            
| 
                   REJECT  | 
               
                   Set this parameter to true to catch data rejected from other output tables.  | 
               
                   No  | 
            
| 
                   REJECTINNERJOIN  | 
               
                   Set this parameter to true to catch Inner Join rejected data.  | 
               
                   No  | 
            
| 
                   addColumn {}  | 
               
                   Use this function to add a column to the table. 
 Repeat this function to define as many columns as needed.  | 
               
                   Yes  |