public function getSession()
    {
        if (is_null($this->session)) {
            $this->session = $this->cluster->connect($this->getKeyspace());
        }

        return $this->session;
    }
public function getSession()
    {
        if (is_null($this->session)) {
            $this->session = $this->cluster->connect($this->getKeyspace());
        }

        return $this->session;
    }
public function getSession ( ) { if ( is_null ( $ this -> session ) ) { $ this -> session = $ this -> cluster -> connect ( $ this -> getKeyspace ( ) ) ; } return $ this -> session ; }
Return Cassandra session

@return Session
Return Cassandra session