Adapter Services
To use Adapter for Apache Cassandra, you create adapter services. Adapter services allow you to connect to the adapter's resource and initiate an operation on the resource from Integration Server
You call adapter services from flow or Java services to interact with . The adapter services perform Cassandra table operations by calling Datastax Cassandra Client API. Integration Server then uses adapter connections that you defined earlier to execute the adapter services. For details, see Adapter Service Processing.
Adapter services are based on templates provided with Adapter for Apache Cassandra. Each template represents a specific operation on a resource, such as using the Insert service template to inserts specified information to the table.
An adapter service template contains all the code necessary for interacting with the resource but without the data specifications. You provide these specifications when you create a new adapter service.
Creating a new service from an adapter service template is straightforward. Using Designer, you assign the service a default adapter connection.
After you select the connection for the adapter service, you select the adapter service template and supply the data specifications using Designer. Some familiarity with using Designer is required. For more information, see the IBM webMethods Service Development Help for your release.
| Adapter Service Template | Description |
|---|---|
| Insert |
Inserts the records into the table. For instructions about configuring the service, see Configuring Insert Service . |
| Update | Updates the existing records in a table by updating the value
of the column and deletes the existing value in the column without removing the
columns. For instructions about configuring the service, see Configuring Update Service . |
| Delete | Deletes the records from the table. For instructions about configuring the service, see Configuring Delete Service. |
| Query | Retrieves the records from the table. For instructions about configuring the service, see Configuring Query Service. |
| Query with Prepared Statement | Retrieves records from the table using prepared statement.
For instructions about configuring the service, see Configuring Query with Prepared Statement Service. |
| CQL | Executes the configured CQL statement. For instructions about configuring the service, see Configuring CQL Service. |