These properties are used to configure tCassandraOutputBulkExec running in the Standard Job framework.
The Standard tCassandraOutputBulkExec component belongs to the Big Data and the Databases NoSQL families.
The component in this framework is available in all Talend products with Big Data and in Talend Data Fabric.
Basic settings
Property type |
Either Built-In or Repository. Built-In: No property data stored centrally. Repository: Select the repository file where the properties are stored. |
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. If the current schema is of the Repository type, three options are available:
|
|
Built-In: You create and store the schema locally for this component only. |
|
Repository: You have already created the schema and stored it in the Repository. You can reuse it in various projects and Job designs. When the schema to be reused has default values that are integers or functions, ensure that these default values are not enclosed within quotation marks. If they are, you must remove the quotation marks manually. For more information, see the related description of retrieving table schemas in Talend Studio User Guide. |
DB Version |
Select the Cassandra version you are using. |
Host |
Hostname or IP address of the Cassandra server. |
Port |
Listening port number of the Cassandra server. |
Required authentication |
Select this check box to provide credentials for the Cassandra authentication. |
Username |
Fill in this field with the username for the Cassandra authentication. This field is only available when you select the Required authentication check box. |
Password |
Fill in this field with the password for the Cassandra authentication. To enter the password, click the [...] button next to the password field, enter the password in double quotes in the pop-up dialog box, and click OK to save the settings. This field is only available when you select the Required authentication check box. |
Keyspace |
Type in the name of the keyspace into which you want to write the SSTable. |
Column family |
Type in the name of the column family into which you want to write the SSTable. |
Mapping type |
Select the type of mapping from the drop-down list. If you select
manual, you must enter the mapping in the
Mapping field, for example This field is only available when the version of your database is Cassandra 4.x/4.0.x. |
File name |
Type in the name of file into which you want to write the SSTable. This field is only available when the version of your database is Cassandra 4.x/4.0.x. |
Partitioner |
Select the partitioner which determines how the data is distributed across the Cassandra cluster.
For more information about the partitioner, see http://wiki.apache.org/cassandra/Partitioners. This field is only available when the version of your database is Cassandra 3.3.x/3.2.x/3.1.x/3.0.x. |
Schema statement |
Enter the statement to define the schema of the column family to be used or to be created on the fly.
An example of this schema statement is provided in the Schema
statement field:
create table ks.tb (id int, name text, birthday timestamp, primary key(id, birthday)) with clustering order by (birthday desc)It will create a column family called tb containing the id, the name and the birthday columns under the keyspace ks. For further information about a column family, see Standard column family. This field is only available when the version of your database is Cassandra 3.3.x/3.2.x/3.1.x/3.0.x. |
SSTable directory |
Specify the local directory for the SSTable. Note that the complete path to the SSTable will be the local directory appended by the specified keyspace name and column family name. For example, if you set the local directory to /home/talend/sstable, and specify testk as the keyspace name and testc as the column family name, the complete path to the SSTable will be /home/talend/sstable/testk/testc/. This field is only available when the version of your database is Cassandra 3.3.x/3.2.x/3.1.x/3.0.x. |
Buffer size |
Specify what size the SSTable must reach before it is written into
Cassandra. This field is only available when the version of your database is Cassandra 3.3.x/3.2.x/3.1.x/3.0.x. |
Advanced settings
tStatCatcher Statistics |
Select this check box to gather the Job processing metadata at the Job level as well as at each component level. |
Global Variables
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. This variable functions only if the Die on error check box is cleared, if the component has this check box. A Flow variable functions during the execution of a component while an After variable functions after the execution of the component. To fill up a field or expression with a variable, press Ctrl + Space to access the variable list and choose the variable to use from it. For further information about variables, see Talend Studio User Guide. |
Usage
Usage rule |
This component is mainly used when no particular transformation is required on the data to be loaded into the database. |
Limitation |
Currently, the execution of this component ends the entire Job. |