Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
Destination |
Required |
Not available |
Select a global resource.
- [Add]:
Adds a new global resource.
- [Rewrite list]:
Enables to edit the global resource settings in the "Edit resource list".
|
|
Collection name |
Required |
Available |
Enter or select the name of the colletion to write to |
|
Update when _id value matches |
Optional |
Not available |
Select whether to update rows of which _id values match or insert all rows.
- [Checked]:(default)
Rows of which _id values match are updated. Rows of which _id values don't match are inserted.
- [Not checked]:
All rows are inserted.
|
|
Schema definition |
Required |
- |
Displays the schema definition of the selected colletion at [Collection name]. |
Among the columns displayed at[Schema definition], the item names checked at the [Write target] are displayed at schemas of Mapper.
_id is necessary to exist in the schema definition.
- Schema definition cannot be displayed in the following cases.
- There is no permission to read the specified collection
- The specified collection doesn't exist
- A variable is specified in [Collection name]
- Nothing is entered in [Collection name]
- An error occurs at [Collection name]
|
Schema definition/Write target |
Optional |
Not available |
Select whether to include the columns of the collection specified at[Collection name] in columns to write.
- [Checked]:(default)
Includes it in columns to write.
- [Not checked]:
Does not include it in columns to write.
|
The item name of the checked columns will be displayed on Mapper schemas.
Pushing the checkbox displayed at the header enables to check and uncheck all at once.
_id must be checked.
|
Schema definition/Item name |
Required |
Available |
Displays the item names of the collecion specified at [Collection name]. |
|
Schema definition/Type |
Required |
Not available |
Displays the type of the [Item name]. |
- Displayed as "<Internal data type>" form.
- Internal data type:
Data type used internally in DataSpider.
For details, refer to "Internal data type".
|
Component variable name |
Description |
Remarks |
count |
Stores the number of written data. |
|
insert_count |
Stores the number of inserted data within the written data. |
|
update_count |
Stores the number of updated data within the written data. |
|
message_category |
Stores the category of message code corresponding to the occurred error. |
|
message_code |
Stores the code of message code corresponding to the occurred error. |
|
message_level |
Stores the severity of message code corresponding to the occurred error. |
|
error_type |
Stores the error type of occurred error. |
- Default value is null.
- Error is represented in the format depicted below.
Example: “java.io.FileNotFoundException”
The value may vary depending on the DataSpider Servista version.
|
error_message |
Stores the error message of occurred error. |
- Default value is null.
The value may vary depending on the DataSpider Servista version.
|
error_trace |
Stores the trace information of occurred error. |
- Default value is null.
The value may vary depending on the DataSpider Servista version or the client application used.
|
Exception name |
Cause |
Solution |
InputDataNotFoundException |
[Input data] is not specified |
Specify [Input data], or draw a data flow. |
ResourceNotFoundException Resource is not defined. Name:[] |
[Destination] is not specified. |
Specify [Destination]. |
ResourceNotFoundException Resource is not defined. Name:[<Global resource name>] |
Resource definition selected in [Destination] is not found. |
Check the global resource specified in [Destination]. |
MongoTimeOutException 'Authentication failed.' |
There is something wrong with the user name or the password of the global resource specified in [Destination], or the user does not have permission. |
Check the global resource specified in [Destination]. |
InvalidPropertyConfigurationException Enter collection name. |
[Collection name] is not specified. |
Specify [Collection name]. |
InvalidPropertyConfigurationException Specify _id of the schema as write target. |
_id is not specified as [Write target] in [Schema definition] |
Specify _id as [Write target] in [Schema definition] |