Apache Cassandra database connection
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.
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)