A PHP representation of a keyspace

Implemented by

Methods

string

name

( )

Returns keyspace name

Returns:
Type Details
string

Name

string

replicationClassName

( )

Returns replication class name

Returns:
Type Details
string

Replication class

Cassandra\Map

replicationOptions

( )

Returns replication options

Returns:
Type Details
Cassandra\Map

Replication options

string

hasDurableWrites

( )

Returns whether the keyspace has durable writes enabled

Returns:
Type Details
string

Whether durable writes are enabled

Cassandra\Table null

table

( string $name )

Returns a table by name

Parameters:
Name Type Details
$name string

Cassandra\Table name

Returns:
Type Details
Cassandra\Table|null

Cassandra\Table instance or null

array

tables

( )

Returns all tables defined in this keyspace

Returns:
Type Details
array

An array of Cassandra::Table instances