protected function _selectDatabase($database) { try { if ($this->isConnected()) { $this->_client->set_keyspace($database); } } catch (\Exception $e) { throw CqlException::from($e); } }