Document Mapper/Variable Mapper

Operation name

Function overview

See "Basic Functions (Document Mapper/Variable Mapper)" for details.

Properties(Property Inspector)

Basic settings
Item name Required / Optional Use of Variables Description Remarks
Name Required Not available Specify the name to be used in the script canvas.  
Input data Required Not available Specify a component from which data is supplied to the mapper
  • This property is not shown for variable Mapper .
Comment
Item name Required / Optional Use of Variables Description Remarks
Comment Optional Not available You can write a short description of this mapper.  

Mass data processing

Document Mapper performs Mass data processing, if and only if, the input component supplying data to the mapper is performing the Mass data processing, and both input and output schema are table data model schema.
Where as the Variable Mapper performs Mass data processing, if the input component supplying the data to the mapper is performing Mass data processing and the input schema is a table data model type.
XML data model with a table schema model expressed as <table><row><column> is considered a table model type.

In order to handle large volume of input data and output data, it is necessary to adjust heap size of DataSpiderServista if PSP is not employed.
See lax file for how DataSpiderServer heap size can be changed.

Input Output Schema

Mapper displays schemas used for both input source and target output. For a one-to-one correspondence between source and target fields, the map can be created just by simply connecting fields of the input and the output schema.
For some components it is created automatically, but for others it needs to be created manually.
See "Schema of adapter" for further details.

PSP Usage

PSP is supported.
For details on PSP, refer to "Parallel Stream Processing".

Available component variables

Component variable name Description Remarks
message_category Stroes the category to which corresponding message code belongs to, when an error occurs.
  • The value defaults to null.
message_code Stores its corresponding message code of occured error.
  • The value defaults to null.
message_level Stores the severity of the corresponding message code of the occured error.
  • The value defaults to null.
error_type Returns the error type when error occurred.
  • The value defaults to null.
  • Error is represented in the format depicted below.
    Example:java.io.FileNotFoundException
  • The message may vary depending on DataSpider Servista version.
error_message Return the error message when error occurred.
  • The value defaults to null.
  • The message may vary depending on DataSpider Servista version.
error_trace Return trace information when error occurred.
  • The value defaults to null.
  • The message may vary depending on DataSpider Servista version or the client application used.

Specification Limits

Notes