Dse\Cluster object is used to create Sessions.

Implemented by

Methods

Dse\Session

connect

( string $keyspace )

Creates a new Dse\Session instance.

Parameters:
Name Type Details
$keyspace string

Optional keyspace name

Returns:
Type Details
Dse\Session

Dse\Session instance

Dse\Future

connectAsync

( string $keyspace )

Creates a new Dse\Session instance.

Parameters:
Name Type Details
$keyspace string

Optional keyspace name

Returns:
Type Details
Dse\Future

A Dse\Future Dse\Session instance