Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Cassandra
Schema
PHP Interface Cassandra\Schema
Show file
Open project: datastax/php-driver
Interface Usage Examples
Public Methods
Method
Description
keyspace
(
string
$name
) :
Cassandra\Keyspace
Returns a Keyspace instance by name.
keyspaces
( ) :
array
Returns all keyspaces defined in the schema.
Method Details
keyspace()
public
method
Returns a Keyspace instance by name.
public
keyspace
(
string
$name
) :
Cassandra\Keyspace
$name
string
Name of the keyspace to get
return
Cassandra\Keyspace
Keyspace instance or null
keyspaces()
public
method
Returns all keyspaces defined in the schema.
public
keyspaces
( ) :
array
return
array
An array of `Cassandra\Keyspace` instances.