Static
getAsynchronously obtains a configured Cassandra client based on the provided arguments. This method processes the given CassandraClientArgs to produce a configured Client instance from the cassandra-driver, suitable for interacting with Cassandra databases.
The configuration arguments for the Cassandra client, including any service provider-specific options.
A Promise resolving to a Client object configured according to the specified arguments.
Provides a centralized and streamlined factory for creating and configuring instances of the Cassandra client. This class abstracts the complexities involved in instantiating and configuring Cassandra client instances, enabling straightforward integration with Cassandra databases. It supports customization through various configuration options, allowing for the creation of clients tailored to specific needs, such as connecting to different clusters or utilizing specialized authentication and connection options.
Key Features:
Example Usage (Apache Cassandra®):
Example Usage (DataStax AstraDB):