PHP Class Cassandra\DefaultSchema

Inheritance: implements cassandra\Schema
Exibir arquivo Open project: datastax/php-driver

Public Methods

Method Description
keyspace ( string $name ) : Cassandra\Keyspace {@inheritDoc}
keyspaces ( ) : array {@inheritDoc}
version ( ) : integer {@inheritDoc}

Method Details

keyspace() public method

{@inheritDoc}
public keyspace ( string $name ) : Cassandra\Keyspace
$name string Name of the keyspace to get
return Cassandra\Keyspace Keyspace instance or null

keyspaces() public method

{@inheritDoc}
public keyspaces ( ) : array
return array An array of `Cassandra\Keyspace` instances.

version() public method

{@inheritDoc}
public version ( ) : integer
return integer Version of the schema.