Execution profiles for Cassandra drivers
An execution profile is a set of configuration options that you can apply to individual queries without explicitly setting each option for every query.
This means that, with execution profiles, one driver session can run different types of query workloads with different settings for each workload.
Supported options for execution profiles
The full list of configuration options that you can include in execution profiles varies by driver. For example:
Create and use execution profiles
Use the driver’s root objects or instance (cluster or session) to create, configure, and register execution profile objects by name.
Then, apply an execution profile to a query by passing the execution profile name to the query execution method, or by setting the name on the statement object.
The specific implementation, including objects, methods, and arguments, varies by driver:
- C/C++ driver
- C# driver
- Go driver
-
The GoCQL driver doesn’t support execution profiles.
- Java driver
-
See the documentation for your version of the Java driver:
- Node.js driver
-
See the documentation for your version of the Node.js driver:
- Python driver
-
See the documentation for your version of the Python driver: