CassandraSample Process

The CassandraSample process is used to show the general configurations of Cassandra activities.

The process is designed with the following activities:

The following table lists and explains the activities in the process:

Activity Description
PreQuery Query activity.

Retrieves the details of users table by firing the SELECT command. The columns of users table are populated in the Query Output.

Update Update activity.

Inserts a record in the table using the Prepared Statement. The values are passed through the Input tab.

PostQuery Query activity.

Retrieves the details to see the record inserted in Update activity.

GetCassandraConnection GetCassandraConnection activity.

Establishes the connection with the database and gets the database active object. This object is used in the JavaInvoke activity.

JavaInvoke JavaInvoke activity.

Fetches the name of the keyspace using the database active object from GetCassandraConnection activity.