Using a Cassandra® database connection and the Apache™ Cassandra database C++ interface, return the names of all database tables in the Cassandra database.
Create a Cassandra database connection using the configured data sourceCassandraDataSourceand a blank user name and password. TheapacheCassandrafunction returnsconnas aconnectionobject.
Return the names of all database tables in the Cassandra database using the Cassandra database connection.tis a table that contains the names of all Cassandra database tables and their corresponding keyspaces.
Using an Apache™ Cassandra® database connection and the Apache Cassandra database C++ interface, return the names of all database tables in a specific keyspace of the Cassandra database—in this case, theemployeedatakeyspace.
Create a Cassandra database connection using the configured data sourceCassandraDataSourceand a blank user name and password. TheapacheCassandrafunction returnsconnas aconnectionobject.
Return and display all database tables in theemployeedatakeyspace of the Cassandra database by using the Cassandra database connection.tis a string array that contains the names of all database tables in theemployeedatakeyspace.
Apache Cassandra database connection, specified as aconnectionobject.
keyspace—Keyspace character vector|string scalar
Keyspace, specified as a character vector or string scalar. If you do not know the keyspace, then access theKeyspacesproperty of theconnectionobject using dot notation to view the keyspaces in the Cassandra database.
数据库表名在卡桑德拉数据库中,specified as a string array or table. If you specify a keyspace in thekeyspaceinput argument, thetablenamesfunction returns a string array that contains all the database table names in the specified keyspace of the Cassandra database. If you do not specify a keyspace, thetablenamesfunction returns a table with theKeyspaceandTablevariables. TheKeyspacevariable is a string array that contains all keyspaces in the Cassandra database. TheTablevariable is a string array that contains the names of all database tables in the Cassandra database for their corresponding keyspaces.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.