tCosmosDBSQLAPIOutput Standard properties
These properties are used to configure tCosmosDBSQLAPIOutput running in the Standard Job framework.
The Standard tCosmosDBSQLAPIOutput component belongs to the Databases NoSQL family.
The component in this framework is available in subscription-based Talend products.
Basic settings
Property type |
Either Built-in or Repository.
|
Schema and Edit schema |
A schema is a row description. It defines the number of fields (columns) to be processed and passed on to the next component. When you create a Spark Job, avoid the reserved word line when naming the fields.
Click Edit
schema to make changes to the schema.
Information noteNote: If you
make changes, the schema automatically becomes built-in.
|
URI |
Enter the URI of your Cosmos user account. As the field prompts, the URI of a Cosmos DB user account is in the format of https://{your_account}.document.azure.com:443. You can obtain the URI on the Keys pane of Azure portal. Click Create an Azure Cosmos DB account for related information. |
Primary key |
Enter the primary key of your CosmosDB user account. You can obtain the pimary key on the Keys pane of Azure portal. Click Create an Azure Cosmos DB account for related information. |
Database ID |
Enter the the database name. |
Collection ID |
Enter the collection name. |
Create collection if not exist |
Select this option to have the collection specified in the Collection ID field created if it does not exist. This option is not available if Update or Delete is selected from the Data action drop-down list. |
Data action |
Select one of the following options.
|
Auto ID generation |
Select this option to generate IDs for the documents processed. |
Advanced settings
tStatCatcher Statistics |
Select this check box to collect the log data at the component level. |
Connection mode |
Specify the connection mode to be used. Two options are available: Gateway and DirectHttps. Click ConnectionMode for related information. |
Max connection pool size |
Set the maximum connection pool size. The default is 1000. |
Consistency level |
Set the consistency level. Click Consistency levels for related information. |
Partition key |
Enter the key of the partition whose documents will be removed. This option is available when Delete is selected from the Data action drop-down list. |
Global Variables
ERROR_MESSAGE |
The error message generated by the component when an error occurs. This is an After variable and it returns a string. |
NB_LINE |
The number of rows processed. This is an After variable and it returns an integer. |
Usage
Usage rule |
tCosmosDBSQLAPIOutput executes the action defined on the collection in the database based on the flow incoming from the preceding component in the Job. |