A PHP representation of a schema

Implements

Methods

Dse\Keyspace

keyspace

( string $name )

Returns a Dse\Keyspace instance by name.

Parameters:
Name Type Details
$name string

Name of the keyspace to get

Returns:
Type Details
Dse\Keyspace

Dse\Keyspace instance or null

array

keyspaces

( )

Returns all keyspaces defined in the schema.

Returns:
Type Details
array

An array of Keyspace instances.

int

version

( )
Returns:
Type Details
int

Version of the schema.