A PHP representation of a schema

Implemented by

Methods

Cassandra\Keyspace

keyspace

( string $name )

Returns a Cassandra\Keyspace instance by name.

Parameters:
Name Type Details
$name string

Name of the keyspace to get

Returns:
Type Details
Cassandra\Keyspace

Cassandra\Keyspace instance or null

array

keyspaces

( )

Returns all keyspaces defined in the schema.

Returns:
Type Details
array

An array of Cassandra::Keyspace instances.