Skip to main content Skip to complementary content

Writing data to a Cassandra keyspace

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.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!