PHP Class Cassandra\DefaultCluster

Inheritance: implements cassandra\Cluster
Show file Open project: datastax/php-driver

Public Methods

Method Description
connect ( string $keyspace = null ) : cassandra\Session {@inheritDoc}
connectAsync ( string $keyspace = null ) : cassandra\Future {@inheritDoc}

Method Details

connect() public method

{@inheritDoc}
public connect ( string $keyspace = null ) : cassandra\Session
$keyspace string Optional keyspace name
return cassandra\Session Session instance

connectAsync() public method

{@inheritDoc}
public connectAsync ( string $keyspace = null ) : cassandra\Future
$keyspace string Optional keyspace name
return cassandra\Future A Future Session instance