Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
Destination |
Required |
Not available |
Select a global resource.
- [Add]:
Add a new global resource.
- [Edit list]:
Global resource settings can be edited in “Edit resource list” screen.
|
|
Table name |
Required |
Available |
Select or enter a table name to be read. |
|
Index name |
Required |
Available |
Select or enter an index name to be read. |
|
Attribute list |
Required |
- |
Specify attribute list of the index specified in [Index name].
Added rows will be the target columns to read.
Each target column can be operated with the following buttons.
- [Add]:
Add a target column.
- [Up]:
Move the selected target column upwards by one row.
- [Down]:
Move the selected target column downwards by one row.
- [Delete]:
Delete the target column.
|
|
Attribute list/Hash key |
Optional |
Not available |
Displays whether it is a hash key attribute of the index specified in [Index name] or the table specified in [Table name], or not. |
|
Attribute list/Range key |
Optional |
Not available |
Displays whether it is a range key attribute of the index specified in [Index name] or the table specified in [Table name], or not. |
|
Attribute list/Attribute name |
Required |
Available |
Enter an attribute name of the table specified in [Table name] or the index specified in [Index name]. |
- The specified attribute name is displayed in Mapper schema.
|
Attribute list/Type |
Required |
Not available |
Select the type of [Attribute name]. |
- It is displayed in “<DynamoDB data type> (<Internal data type>)” format.
- DynamoDB data type:
Data type supported by Amazon DynamoDB.
- Internal data type:
Data type used internally within DataSpider.
For more details, refer to “Internal Data Types”.
|
Hash key value |
Required |
Available |
Enter the attribute value of the hash key to be specified as query. |
|
Component variable name |
Description |
Remarks |
count |
The number of got items is stored. |
|
skip_count |
When the type specified in the attribute list differs from the actual type, the number of items skipped is stored. |
|
message_category |
When an error occurs, the corresponding message code's category is stored. |
|
message_code |
When an error occurs, the corresponding message code is stored. |
|
message_level |
When an error occurs, the corresponding message code's severity is stored. |
|
error_type |
When an error occurs, the error type is stored. |
- Default value is null.
- The error type will be in the following format.
Example: “java.io.FileNotFoundException”
The contents that will be stored may vary depending on DataSpider Servista versions.
|
error_message |
When an error occurs, the error message is stored. |
- Default value is null.
The contents that will be stored may vary depending on DataSpider Servista versions.
|
error_trace |
When an error occurs, the error's trace information is stored. |
- Default value is null.
The contents that will be stored may vary depending on DataSpider Servista versions and client applications.
|
Exception name |
Cause |
Solution |
ResourceNotFoundException Resource definition is not found. Name: [] |
[Destination] is not specified. |
Specify [Destination]. |
ResourceNotFoundException Resource definition is not found. Name: [<global resource name>] |
The resource definition specified in [Destination] is not found. |
Check the global resource specified in [Destination]. |
InvalidPropertyConfigurationException
<property name> is not specified. |
[<property name>] is not specified. |
Specify [<property name>]. |
UnexpectedDynamoDBDataTypeException
Data type is different. |
The type of attribute specified in [Attribute list/Type] differs from the actual type. |
You can avoid the exception by setting the types of the attributes same in the table, or insert a check in [Skip rows where actual type and attribute list type are different]. |