Writing data to a Cassandra keyspace - 7.2

Cassandra

author
Talend Documentation Team
EnrichVersion
7.2
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Open Studio for Big Data
Talend Real-Time Big Data Platform
task
Data Governance > Third-party systems > Database components > Cassandra components
Data Quality and Preparation > Third-party systems > Database components > Cassandra components
Design and Development > Third-party systems > Database components > Cassandra components
EnrichPlatform
Talend Studio

Procedure

  1. Double-click the tCassandraOutput component to open its Basic settings view in the Component tab.
  2. Type in required information for the connection or use the existing connection you have configured before. In this scenario, the Use existing connection check box is selected.
  3. In the Keyspace configuration area, type in the name of the keyspace: Employee in this example, and select Drop keyspace if exists and create from the Action on keyspace list.
  4. In the Column family configuration area, type in the name of the column family: Employee_Info in this example, and select Drop column family if exists and create from the Action on column family list.
    The Define column family structure check box appears. In this example, clear this check box.
  5. In the Action on data list, select the action you want to carry on, Upsert in this example.
  6. Click Sync columns to retrieve the schema from the preceding component.
  7. Select the key column of the column family from the Key column list. In this example, it is id.
    If needed, select the Include key in columns check box.