cassandra
Apache Cassandra database connection
The cassandra
function will be removed in a future release. Use the
apacheCassandra
function of the Apache Cassandra® Database C++ interface instead.
Description
The cassandra
function creates a cassandra
object, which represents an Apache Cassandra database connection using the Database Toolbox™ Interface for Apache Cassandra® Database.
First, you must install the Database Toolbox Interface for Apache Cassandra Database. For details, see Database Toolbox Interface for Apache Cassandra Database Installation.
After you create a cassandra
object, you can use the object functions to
import data from the Cassandra database into MATLAB®. Or, you can export data from MATLAB to the Cassandra database. You can also explore the database structure and execute Cassandra Query Language (CQL) queries.
For details about the Cassandra database, see the Apache Cassandra Documentation.
Creation
Syntax
Description
creates a Cassandra database connection using a host address.c
= cassandra(contactPoints
)
specifies a user name and password.c
= cassandra(contactPoints
,username
,password
)
specifies additional options using one or more name-value pair arguments in addition to
any of the input argument combinations in previous syntaxes.c
= cassandra(___,Name,Value)
Input Arguments
Properties
Object Functions
Examples
Version History
See Also
Topics
- Database Toolbox Interface for Apache Cassandra Database Installation
- Explore and Import Data from Cassandra Database Table
- Import Data from Cassandra Database Table Using CQL
- Export MATLAB Data into Cassandra Database
- Convert CQL Data Types to MATLAB Data Types
- Fill Values for Missing Data from Apache Cassandra Database
- Database Toolbox Interface for Apache Cassandra Database Error Messages