Connect to Hyper-Converged Database (HCD)
When you develop applications that interact with your Hyper-Converged Database (HCD), you must connect to it programmatically through clients or drivers.
HCD offers several methods to connect including the Data API clients and DataStax-compatible Cassandra drivers. Depending on your use case, you might use one or more of these options.
| Use case | Requirements | Recommended methods |
|---|---|---|
Application development |
Use an HCD vector database |
|
Use an HCD non-vector database |
||
Other |
Migration and bulk loading |
|
Spark with Scala in spark-shell seamlessly connects to and accesses your HCD tables for advanced data analysis. |
Data API
Use the Data API to work with HCD vector databases, including commands for creating collections and tables, loading data, querying data, and more.
You can access the Data API over HTTP or through the Data API clients.
For more information, see:
-
Quickstart for collections:
-
Quickstart for tables:
-
Get started with the Data API:
Drivers
You can use drivers to interact with your HCD databases, including sending Cassandra Query Language (CQL) statements.
The following drivers are compatible with HCD:
| Language | Driver source | Documentation |
|---|---|---|
C++ |
||
C# |
||
Go |
|
|
Java |
||
Node.js |
||
Python |
||
Scala |
For more information about drivers, see Cassandra driver compatibility.
CQL shell (cqlsh)
The CQL shell (cqlsh) is a Python-based command-line shell you can use to issue Cassandra Query Language (CQL) statements to your Hyper-Converged Database (HCD) databases.
The CQL shell also provides unique cqlsh commands like DESCRIBE KEYSPACE.
For more information, see Install the CQL shell.
Bulk writes
You can migrate and load large amounts of data using the DataStax Bulk Loader (DSBulk) and data migration tools.
Mission Control
Mission Control provides a web-based interface for managing your HCD clusters. It is best for managing your clusters and performing cluster operations.
For application development, fine-grained data manipulation, and nuanced searches, you must use a programmatic approach.
For more information, see Mission Control.