Item name | Required/Optional | Use of variables | Description | Remarks |
---|---|---|---|---|
Name | Required | Not available | Enter the name to show on the script canvas. |
Item name | Required/Optional | Use of variables | Description | Remarks |
---|---|---|---|---|
Destination | Required | Not available | Select a global resource.
|
|
Collection | Required | Available | Select or enter a collection name to be read. | |
SQL statement | Required | Available | Enter the SQL statement to get documents. |
|
Schema definition | Required | - |
Specify item list for the collection specified in [Collection].
Added rows will be the target items. Each target item can be operated with the following buttons.
|
|
Schema definition/Item name | Required | Available | Enter an item name of the collection specified in [Collection]. |
|
Schema definition/Type | Required | Not available | Select the type of [Item name]. |
|
Item name | Description | Remarks |
---|---|---|
Update collection list | Get collections from the specified destination and set them in [Collection]. | |
Test execution | Execute the specified SQL statement. |
|
Execute SQL statement and set schema | Execute the SQL statement for the specified collection, get the type information from the extracted results, and set it in [Schema definition]. |
|
Item name | Required/Optional | Use of variables | Description | Remarks |
---|---|---|---|---|
Data processing method | Required | Not available | Select the data processing method.
|
Item name | Required/Optional | Use of variables | Description | Remarks |
---|---|---|---|---|
Comment | Optional | Not available | You can write a short description of this adapter. The description will be reflected in the specifications. |
Component variable name | Description | Remarks |
---|---|---|
count | The number of got documents is stored. |
|
message_category | When an error occurs, category of the corresponding message code is stored. |
|
message_code | When an error occurs, code of the corresponding message code is stored. |
|
message_level | When an error occurs, severity of the corresponding message code is stored. |
|
error_type | When an error occurs, the error type is stored. |
|
error_message | When an error occurs, the error message is stored. |
|
error_trace | When an error occurs, trace information of the error is stored. |
|
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>]. |
InvalidPropertyConfigurationException
Item name of schema is duplicate. |
[<Schema definition/Item name>] is duplicate. | Specify item names of [<Schema definition/Item name>] so as not to duplicate them. |
InvalidPropertyConfigurationException
Set the type of id item of schema to String. |
The type of id item of [<Schema definition/Item name>] is other than String. | Set the type of id item of [<Schema definition/Item name>] to String. |
com.microsoft.azure.documentdb.DocumentClientException | The cause differs according to each error message. | Check the contents of the error message. |
DatabaseNotFoundException
Database [<database>] is not found. |
The database specified in [Destination] is not found. | Check [Database] of the global resource specified in [Destination]. |
CollectionNotFoundException
Collection [<collection>] is not found. |
The collection specified in [Collection] is not found. | Check the collection specified in [Collection]. |