Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added documentation files

  • Loading branch information...
commit 415c7278401db0b70081c066be76fd6a5c90377d 1 parent 36a7e1e
@kallaspriit authored
Showing with 24,514 additions and 0 deletions.
  1. BIN  doc/class-diagram.png
  2. +102 −0 doc/class-diagram.uxf
  3. +2,384 −0 doc/html/Cassandra_8php_source.html
  4. +141 −0 doc/html/annotated.html
  5. BIN  doc/html/bc_s.png
  6. +2,498 −0 doc/html/classCassandra.html
  7. +508 −0 doc/html/classCassandraCluster.html
  8. +2,171 −0 doc/html/classCassandraColumnFamily.html
  9. +132 −0 doc/html/classCassandraColumnFamilyNotFoundException.html
  10. +610 −0 doc/html/classCassandraConnection.html
  11. +132 −0 doc/html/classCassandraConnectionClosedException.html
  12. +132 −0 doc/html/classCassandraConnectionFailedException.html
  13. +513 −0 doc/html/classCassandraDataIterator.html
  14. BIN  doc/html/classCassandraDataIterator.png
  15. +296 −0 doc/html/classCassandraIndexedDataIterator.html
  16. BIN  doc/html/classCassandraIndexedDataIterator.png
  17. +133 −0 doc/html/classCassandraInvalidPatternException.html
  18. +132 −0 doc/html/classCassandraInvalidRequestException.html
  19. +132 −0 doc/html/classCassandraMaxRetriesException.html
  20. +304 −0 doc/html/classCassandraRangeDataIterator.html
  21. BIN  doc/html/classCassandraRangeDataIterator.png
  22. +132 −0 doc/html/classCassandraSettingKeyspaceFailedException.html
  23. +132 −0 doc/html/classCassandraUnsupportedException.html
  24. +660 −0 doc/html/classCassandraUtil.html
  25. +127 −0 doc/html/classes.html
  26. BIN  doc/html/closed.png
  27. +800 −0 doc/html/doxygen.css
  28. BIN  doc/html/doxygen.png
  29. +123 −0 doc/html/files.html
  30. +528 −0 doc/html/functions.html
  31. +457 −0 doc/html/functions_func.html
  32. +194 −0 doc/html/functions_vars.html
  33. +143 −0 doc/html/hierarchy.html
  34. +115 −0 doc/html/index.html
  35. +112 −0 doc/html/installdox
  36. +132 −0 doc/html/namespaceCassandra.html
  37. +123 −0 doc/html/namespaces.html
  38. BIN  doc/html/nav_f.png
  39. BIN  doc/html/nav_h.png
  40. BIN  doc/html/open.png
  41. +49 −0 doc/html/search/all_5f.html
  42. +269 −0 doc/html/search/all_63.html
  43. +32 −0 doc/html/search/all_64.html
  44. +32 −0 doc/html/search/all_65.html
  45. +182 −0 doc/html/search/all_67.html
  46. +32 −0 doc/html/search/all_69.html
  47. +26 −0 doc/html/search/all_6b.html
  48. +26 −0 doc/html/search/all_6e.html
  49. +50 −0 doc/html/search/all_6f.html
  50. +86 −0 doc/html/search/all_70.html
  51. +38 −0 doc/html/search/all_72.html
  52. +41 −0 doc/html/search/all_73.html
  53. +68 −0 doc/html/search/all_74.html
  54. +76 −0 doc/html/search/all_75.html
  55. +26 −0 doc/html/search/all_76.html
  56. +100 −0 doc/html/search/classes_63.html
  57. BIN  doc/html/search/close.png
  58. +49 −0 doc/html/search/functions_5f.html
  59. +149 −0 doc/html/search/functions_63.html
  60. +32 −0 doc/html/search/functions_64.html
  61. +32 −0 doc/html/search/functions_65.html
  62. +182 −0 doc/html/search/functions_67.html
  63. +26 −0 doc/html/search/functions_69.html
  64. +26 −0 doc/html/search/functions_6b.html
  65. +26 −0 doc/html/search/functions_6e.html
  66. +68 −0 doc/html/search/functions_70.html
  67. +38 −0 doc/html/search/functions_72.html
  68. +41 −0 doc/html/search/functions_73.html
  69. +26 −0 doc/html/search/functions_74.html
  70. +76 −0 doc/html/search/functions_75.html
  71. +26 −0 doc/html/search/functions_76.html
  72. BIN  doc/html/search/mag_sel.png
  73. +25 −0 doc/html/search/namespaces_63.html
  74. +12 −0 doc/html/search/nomatches.html
  75. +240 −0 doc/html/search/search.css
  76. +734 −0 doc/html/search/search.js
  77. BIN  doc/html/search/search_l.png
  78. BIN  doc/html/search/search_m.png
  79. BIN  doc/html/search/search_r.png
  80. +56 −0 doc/html/search/variables_63.html
  81. +26 −0 doc/html/search/variables_69.html
  82. +50 −0 doc/html/search/variables_6f.html
  83. +38 −0 doc/html/search/variables_70.html
  84. +62 −0 doc/html/search/variables_74.html
  85. BIN  doc/html/tab_a.png
  86. BIN  doc/html/tab_b.png
  87. BIN  doc/html/tab_h.png
  88. BIN  doc/html/tab_s.png
  89. +59 −0 doc/html/tabs.css
  90. +19 −0 doc/latex/Makefile
  91. +19 −0 doc/latex/annotated.tex
  92. +1,980 −0 doc/latex/classCassandra.tex
  93. +391 −0 doc/latex/classCassandraCluster.tex
  94. +1,735 −0 doc/latex/classCassandraColumnFamily.tex
  95. +16 −0 doc/latex/classCassandraColumnFamilyNotFoundException.tex
  96. +482 −0 doc/latex/classCassandraConnection.tex
  97. +16 −0 doc/latex/classCassandraConnectionClosedException.tex
  98. +16 −0 doc/latex/classCassandraConnectionFailedException.tex
  99. +203 −0 doc/latex/classCassandraDataIterator.eps
  100. BIN  doc/latex/classCassandraDataIterator.pdf
  101. +417 −0 doc/latex/classCassandraDataIterator.tex
  102. +197 −0 doc/latex/classCassandraIndexedDataIterator.eps
  103. BIN  doc/latex/classCassandraIndexedDataIterator.pdf
  104. +156 −0 doc/latex/classCassandraIndexedDataIterator.tex
  105. +19 −0 doc/latex/classCassandraInvalidPatternException.tex
  106. +16 −0 doc/latex/classCassandraInvalidRequestException.tex
  107. +16 −0 doc/latex/classCassandraMaxRetriesException.tex
  108. +197 −0 doc/latex/classCassandraRangeDataIterator.eps
  109. BIN  doc/latex/classCassandraRangeDataIterator.pdf
  110. +162 −0 doc/latex/classCassandraRangeDataIterator.tex
  111. +16 −0 doc/latex/classCassandraSettingKeyspaceFailedException.tex
  112. +16 −0 doc/latex/classCassandraUnsupportedException.tex
  113. +516 −0 doc/latex/classCassandraUtil.tex
  114. +445 −0 doc/latex/doxygen.sty
  115. +21 −0 doc/latex/hierarchy.tex
  116. +27 −0 doc/latex/namespaceCassandra.tex
  117. +4 −0 doc/latex/namespaces.tex
  118. +82 −0 doc/latex/refman.tex
View
BIN  doc/class-diagram.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
102 doc/class-diagram.uxf
@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?><umlet_diagram><help_text>// Uncomment the following line to change the fontsize:
+// fontsize=14
+
+
+//////////////////////////////////////////////////////////////////////////////////////////////
+// Welcome to UMLet!
+//
+// Double-click on UML elements to add them to the diagram, or to copy them
+// Edit elements by modifying the text in this panel
+// Hold Ctrl to select multiple elements
+// Use Ctrl+mouse to select via lasso
+//
+// Use ± or Ctrl+mouse wheel to zoom
+// Drag a whole relation at its central square icon
+//
+// Press Ctrl+C to copy the whole diagram to the system clipboard (then just paste it to, eg, Word)
+// Edit the files in the "palettes" directory to create your own element palettes
+//
+// Select "Custom Elements &gt; New..." to create new element types
+//////////////////////////////////////////////////////////////////////////////////////////////
+
+
+// This text will be stored with each diagram; use it for notes.</help_text><zoom_level>10</zoom_level><element><type>com.umlet.element.base.Class</type><coordinates><x>270</x><y>330</y><w>190</w><h>140</h></coordinates><panel_attributes>CassandraConnection
+/single connection/
+--
+useKeyspace()
+getClient()
+getProtocol()
+getTransport()
+isOpen()</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Class</type><coordinates><x>270</x><y>130</y><w>190</w><h>150</h></coordinates><panel_attributes>CassandraCluster
+/a cluster of connections/
+--
+registerServer()
+getServers()
+getConnection()
+getCurrentKeyspace()
+useKeyspace()
+closeConnections()</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>370</x><y>250</y><w>50</w><h>100</h></coordinates><panel_attributes>lt=&lt;&lt;&lt;&lt;-
+m1=1
+m2=n</panel_attributes><additional_attributes>30;30;30;80</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>510</x><y>130</y><w>230</w><h>340</h></coordinates><panel_attributes>Cassandra
+/main interface/
+--
+createInstance()
+getInstance()
+get()
+set()
+cf() / columnFamily()
+createKeyspace()
+createStandardColumnFamily()
+createSuperColumnFamily()
+describeKeyspace()
+updateKeyspace()
+dropKeyspace()
+getKeyspaceSchema()
+call()
+getClient()
+getCluster()
+getConnection()
+getVersion()</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>430</x><y>120</y><w>100</w><h>50</h></coordinates><panel_attributes>lt=&lt;&lt;&lt;&lt;-
+m1=1
+m2=1</panel_attributes><additional_attributes>80;30;30;30</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>790</x><y>130</y><w>250</w><h>340</h></coordinates><panel_attributes>CassandraColumnFamily
+/manage column family/
+--
+get()
+getAll()
+getColumns()
+getColumnRange()
+getKeyRange()*
+getMultiple()
+getWhere()*
+getColumnCount()
+getColumnCounts()
+set()
+getCassandra()
+getSchema()
+</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>710</x><y>120</y><w>100</w><h>50</h></coordinates><panel_attributes>lt=&lt;&lt;&lt;-
+m1=n
+m2=1</panel_attributes><additional_attributes>80;30;30;30</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>270</x><y>510</y><w>190</w><h>160</h></coordinates><panel_attributes>/CassandraDataIterator/
+/abstract iterator/
+--
+current()
+key()
+next()
+rewind()
+valid()
+getAll()
+/updateBuffer()/</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Class</type><coordinates><x>510</x><y>510</y><w>230</w><h>70</h></coordinates><panel_attributes>/CassandraIndexedDataIterator/
+/indexed data iterator/
+--
+updateBuffer()</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Class</type><coordinates><x>510</x><y>600</y><w>230</w><h>70</h></coordinates><panel_attributes>/CassandraRangeDataIterator/
+/range data iterator/
+--
+updateBuffer()</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>430</x><y>500</y><w>100</w><h>50</h></coordinates><panel_attributes>lt=&lt;&lt;-</panel_attributes><additional_attributes>30;30;80;30</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>430</x><y>590</y><w>100</w><h>50</h></coordinates><panel_attributes>lt=&lt;&lt;-</panel_attributes><additional_attributes>30;30;80;30</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>330</x><y>440</y><w>590</w><h>90</h></coordinates><panel_attributes>lt=&lt;.
+* creates for indexed and range queries</panel_attributes><additional_attributes>30;70;50;50;550;50;570;30</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>260</x><y>100</y><w>790</w><h>580</h></coordinates><panel_attributes>bt=.
+Cassandra PHP Tool Library</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Class</type><coordinates><x>790</x><y>510</y><w>250</w><h>160</h></coordinates><panel_attributes>CassandraUtil
+/static utility functions/
+--
+extractType()
+pack()
+unpack()
+getTimestamp()</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>880</x><y>440</y><w>90</w><h>90</h></coordinates><panel_attributes>lt=&lt;.
+uses</panel_attributes><additional_attributes>50;70;50;30</additional_attributes></element><element><type>com.umlet.element.custom.Text</type><coordinates><x>970</x><y>680</y><w>80</w><h>20</h></coordinates><panel_attributes>Priit Kallas</panel_attributes><additional_attributes/></element></umlet_diagram>
View
2,384 doc/html/Cassandra_8php_source.html
2,384 additions, 0 deletions not shown
View
141 doc/html/annotated.html
@@ -0,0 +1,141 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<title>Cassandra PHP Client Library: Data Structures</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="search/search.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css"/>
+</head>
+<body onload='searchBox.OnSelectItem(0);'>
+<!-- Generated by Doxygen 1.7.3 -->
+<script type="text/javascript"><!--
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
+--></script>
+<script type="text/javascript">
+function hasClass(ele,cls) {
+ return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)'));
+}
+
+function addClass(ele,cls) {
+ if (!this.hasClass(ele,cls)) ele.className += " "+cls;
+}
+
+function removeClass(ele,cls) {
+ if (hasClass(ele,cls)) {
+ var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)');
+ ele.className=ele.className.replace(reg,' ');
+ }
+}
+
+function toggleVisibility(linkObj) {
+ var base = linkObj.getAttribute('id');
+ var summary = document.getElementById(base + '-summary');
+ var content = document.getElementById(base + '-content');
+ var trigger = document.getElementById(base + '-trigger');
+ if ( hasClass(linkObj,'closed') ) {
+ summary.style.display = 'none';
+ content.style.display = 'block';
+ trigger.src = 'open.png';
+ removeClass(linkObj,'closed');
+ addClass(linkObj,'opened');
+ } else if ( hasClass(linkObj,'opened') ) {
+ summary.style.display = 'block';
+ content.style.display = 'none';
+ trigger.src = 'closed.png';
+ removeClass(linkObj,'opened');
+ addClass(linkObj,'closed');
+ }
+ return false;
+}
+</script>
+<div id="top">
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td style="padding-left: 0.5em;">
+ <div id="projectname">Cassandra PHP Client Library</div>
+ <div id="projectbrief">Cassandra PHP-based client library for managing and querying your Cassandra cluster.</div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+ <div id="navrow1" class="tabs">
+ <ul class="tablist">
+ <li><a href="index.html"><span>Main&#160;Page</span></a></li>
+ <li><a href="namespaces.html"><span>Namespaces</span></a></li>
+ <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
+ <li><a href="files.html"><span>Files</span></a></li>
+ <li id="searchli">
+ <div id="MSearchBox" class="MSearchBoxInactive">
+ <span class="left">
+ <img id="MSearchSelect" src="search/mag_sel.png"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ alt=""/>
+ <input type="text" id="MSearchField" value="Search" accesskey="S"
+ onfocus="searchBox.OnSearchFieldFocus(true)"
+ onblur="searchBox.OnSearchFieldFocus(false)"
+ onkeyup="searchBox.OnSearchFieldChange(event)"/>
+ </span><span class="right">
+ <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
+ </span>
+ </div>
+ </li>
+ </ul>
+ </div>
+ <div id="navrow2" class="tabs2">
+ <ul class="tablist">
+ <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
+ <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
+ <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
+ <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
+ </ul>
+ </div>
+</div>
+<div class="header">
+ <div class="headertitle">
+<h1>Data Structures</h1> </div>
+</div>
+<div class="contents">
+<div class="textblock">Here are the data structures with brief descriptions:</div><table>
+ <tr><td class="indexkey"><a class="el" href="classCassandra.html">Cassandra</a></td><td class="indexvalue"></td></tr>
+ <tr><td class="indexkey"><a class="el" href="classCassandraCluster.html">CassandraCluster</a></td><td class="indexvalue"></td></tr>
+ <tr><td class="indexkey"><a class="el" href="classCassandraColumnFamily.html">CassandraColumnFamily</a></td><td class="indexvalue"></td></tr>
+ <tr><td class="indexkey"><a class="el" href="classCassandraColumnFamilyNotFoundException.html">CassandraColumnFamilyNotFoundException</a></td><td class="indexvalue"></td></tr>
+ <tr><td class="indexkey"><a class="el" href="classCassandraConnection.html">CassandraConnection</a></td><td class="indexvalue"></td></tr>
+ <tr><td class="indexkey"><a class="el" href="classCassandraConnectionClosedException.html">CassandraConnectionClosedException</a></td><td class="indexvalue"></td></tr>
+ <tr><td class="indexkey"><a class="el" href="classCassandraConnectionFailedException.html">CassandraConnectionFailedException</a></td><td class="indexvalue"></td></tr>
+ <tr><td class="indexkey"><a class="el" href="classCassandraDataIterator.html">CassandraDataIterator</a></td><td class="indexvalue"></td></tr>
+ <tr><td class="indexkey"><a class="el" href="classCassandraIndexedDataIterator.html">CassandraIndexedDataIterator</a></td><td class="indexvalue"></td></tr>
+ <tr><td class="indexkey"><a class="el" href="classCassandraInvalidPatternException.html">CassandraInvalidPatternException</a></td><td class="indexvalue"></td></tr>
+ <tr><td class="indexkey"><a class="el" href="classCassandraInvalidRequestException.html">CassandraInvalidRequestException</a></td><td class="indexvalue"></td></tr>
+ <tr><td class="indexkey"><a class="el" href="classCassandraMaxRetriesException.html">CassandraMaxRetriesException</a></td><td class="indexvalue"></td></tr>
+ <tr><td class="indexkey"><a class="el" href="classCassandraRangeDataIterator.html">CassandraRangeDataIterator</a></td><td class="indexvalue"></td></tr>
+ <tr><td class="indexkey"><a class="el" href="classCassandraSettingKeyspaceFailedException.html">CassandraSettingKeyspaceFailedException</a></td><td class="indexvalue"></td></tr>
+ <tr><td class="indexkey"><a class="el" href="classCassandraUnsupportedException.html">CassandraUnsupportedException</a></td><td class="indexvalue"></td></tr>
+ <tr><td class="indexkey"><a class="el" href="classCassandraUtil.html">CassandraUtil</a></td><td class="indexvalue"></td></tr>
+</table>
+</div>
+<!--- window showing the filter options -->
+<div id="MSearchSelectWindow"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ onkeydown="return searchBox.OnSearchSelectKey(event)">
+<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a></div>
+
+<!-- iframe showing the search results (closed by default) -->
+<div id="MSearchResultsWindow">
+<iframe src="" frameborder="0"
+ name="MSearchResults" id="MSearchResults">
+</iframe>
+</div>
+
+<hr class="footer"/><address class="footer"><small>Generated on Mon Jul 4 2011 14:35:59 for Cassandra PHP Client Library by&#160;
+<a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
+</body>
+</html>
View
BIN  doc/html/bc_s.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
2,498 doc/html/classCassandra.html
2,498 additions, 0 deletions not shown
View
508 doc/html/classCassandraCluster.html
@@ -0,0 +1,508 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<title>Cassandra PHP Client Library: CassandraCluster Class Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="search/search.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css"/>
+</head>
+<body onload='searchBox.OnSelectItem(0);'>
+<!-- Generated by Doxygen 1.7.3 -->
+<script type="text/javascript"><!--
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
+--></script>
+<script type="text/javascript">
+function hasClass(ele,cls) {
+ return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)'));
+}
+
+function addClass(ele,cls) {
+ if (!this.hasClass(ele,cls)) ele.className += " "+cls;
+}
+
+function removeClass(ele,cls) {
+ if (hasClass(ele,cls)) {
+ var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)');
+ ele.className=ele.className.replace(reg,' ');
+ }
+}
+
+function toggleVisibility(linkObj) {
+ var base = linkObj.getAttribute('id');
+ var summary = document.getElementById(base + '-summary');
+ var content = document.getElementById(base + '-content');
+ var trigger = document.getElementById(base + '-trigger');
+ if ( hasClass(linkObj,'closed') ) {
+ summary.style.display = 'none';
+ content.style.display = 'block';
+ trigger.src = 'open.png';
+ removeClass(linkObj,'closed');
+ addClass(linkObj,'opened');
+ } else if ( hasClass(linkObj,'opened') ) {
+ summary.style.display = 'block';
+ content.style.display = 'none';
+ trigger.src = 'closed.png';
+ removeClass(linkObj,'opened');
+ addClass(linkObj,'closed');
+ }
+ return false;
+}
+</script>
+<div id="top">
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td style="padding-left: 0.5em;">
+ <div id="projectname">Cassandra PHP Client Library</div>
+ <div id="projectbrief">Cassandra PHP-based client library for managing and querying your Cassandra cluster.</div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+ <div id="navrow1" class="tabs">
+ <ul class="tablist">
+ <li><a href="index.html"><span>Main&#160;Page</span></a></li>
+ <li><a href="namespaces.html"><span>Namespaces</span></a></li>
+ <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
+ <li><a href="files.html"><span>Files</span></a></li>
+ <li id="searchli">
+ <div id="MSearchBox" class="MSearchBoxInactive">
+ <span class="left">
+ <img id="MSearchSelect" src="search/mag_sel.png"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ alt=""/>
+ <input type="text" id="MSearchField" value="Search" accesskey="S"
+ onfocus="searchBox.OnSearchFieldFocus(true)"
+ onblur="searchBox.OnSearchFieldFocus(false)"
+ onkeyup="searchBox.OnSearchFieldChange(event)"/>
+ </span><span class="right">
+ <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
+ </span>
+ </div>
+ </li>
+ </ul>
+ </div>
+ <div id="navrow2" class="tabs2">
+ <ul class="tablist">
+ <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
+ <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
+ <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
+ <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
+ </ul>
+ </div>
+</div>
+<div class="header">
+ <div class="summary">
+<a href="#pub-methods">Public Member Functions</a> &#124;
+<a href="#pro-attribs">Protected Attributes</a> </div>
+ <div class="headertitle">
+<h1>CassandraCluster Class Reference</h1> </div>
+</div>
+<div class="contents">
+<!-- doxytag: class="CassandraCluster" --><table class="memberdecls">
+<tr><td colspan="2"><h2><a name="pub-methods"></a>
+Public Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCassandraCluster.html#a6ca88a787d742b39e43b6a5fefabc633">__construct</a> (array $servers=array())</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCassandraCluster.html#a4ce9e28f647bbbbb253273c3e0fa377a">__destruct</a> ()</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCassandraCluster.html#a49baa9fac921644a5ba10f98c4a7412d">registerServer</a> ($host= '127.0.0.1', $port=9160, $useFramedTransport=true, $sendTimeoutMs=null, $receiveTimeoutMs=null)</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCassandraCluster.html#a1044f6f79a82fbb33aa6dd0374cac07a">useKeyspace</a> ($keyspace, $username=null, $password=null)</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCassandraCluster.html#a0cc3add750920cad51b03676b549e256">getCurrentKeyspace</a> ()</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCassandraCluster.html#af213845fa6bfb0e6a986fb671be28552">getServers</a> ()</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCassandraCluster.html#a27ec1b4718ca21a87a791035130d0746">getConnection</a> ()</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCassandraCluster.html#afbff3180c5d4bb74c8b230436349d460">closeConnections</a> ()</td></tr>
+<tr><td colspan="2"><h2><a name="pro-attribs"></a>
+Protected Attributes</h2></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4c951a13437250db700fe8dfc454813d"></a><!-- doxytag: member="CassandraCluster::$keyspace" ref="a4c951a13437250db700fe8dfc454813d" args="" -->
+&#160;</td><td class="memItemRight" valign="bottom"><b>$keyspace</b></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afbc5c047e01dd66d7038eace25351821"></a><!-- doxytag: member="CassandraCluster::$username" ref="afbc5c047e01dd66d7038eace25351821" args="" -->
+&#160;</td><td class="memItemRight" valign="bottom"><b>$username</b></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a22e38d287bbe58c37c05b68f9a135d4a"></a><!-- doxytag: member="CassandraCluster::$password" ref="a22e38d287bbe58c37c05b68f9a135d4a" args="" -->
+&#160;</td><td class="memItemRight" valign="bottom"><b>$password</b></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abe7bfa4c2e8f16ae3db4f18bec36ca21"></a><!-- doxytag: member="CassandraCluster::$servers" ref="abe7bfa4c2e8f16ae3db4f18bec36ca21" args="" -->
+&#160;</td><td class="memItemRight" valign="bottom"><b>$servers</b> = array()</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad542f19e5b3f83fe6985c0b96a71cb22"></a><!-- doxytag: member="CassandraCluster::$connections" ref="ad542f19e5b3f83fe6985c0b96a71cb22" args="" -->
+&#160;</td><td class="memItemRight" valign="bottom"><b>$connections</b> = array()</td></tr>
+</table>
+<hr/><a name="_details"></a><h2>Detailed Description</h2>
+<div class="textblock"><p>A cluster is a collection of servers and connections to them.</p>
+<p>Provides handling the pool of connections. </p>
+
+<p>Definition at line <a class="el" href="Cassandra_8php_source.html#l00328">328</a> of file <a class="el" href="Cassandra_8php_source.html">Cassandra.php</a>.</p>
+</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" id="a6ca88a787d742b39e43b6a5fefabc633"></a><!-- doxytag: member="CassandraCluster::__construct" ref="a6ca88a787d742b39e43b6a5fefabc633" args="(array $servers=array())" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">CassandraCluster::__construct </td>
+ <td>(</td>
+ <td class="paramtype">array $&#160;</td>
+ <td class="paramname"><em>servers</em> = <code>array()</code></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+<p>Sets the list of servers to use.</p>
+<p>You could add the servers one-by-one using {</p>
+<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classCassandraCluster.html#a49baa9fac921644a5ba10f98c4a7412d">CassandraCluster::registerServer()</a>}.</dd></dl>
+<dl><dt><b>Parameters:</b></dt><dd>
+ <table class="params">
+ <tr><td class="paramtype">array</td><td class="paramname">$servers</td><td>Servers that can be connected to. </td></tr>
+ </table>
+ </dd>
+</dl>
+
+<p>Definition at line <a class="el" href="Cassandra_8php_source.html#l00375">375</a> of file <a class="el" href="Cassandra_8php_source.html">Cassandra.php</a>.</p>
+<div class="fragment"><pre class="fragment"> {
+ <span class="keywordflow">foreach</span> ($servers as $server) {
+ $this-&gt;<a class="code" href="classCassandraCluster.html#a49baa9fac921644a5ba10f98c4a7412d">registerServer</a>(
+ isset($server[<span class="stringliteral">&#39;host&#39;</span>]) ? $server[<span class="stringliteral">&#39;host&#39;</span>] : <span class="stringliteral">&#39;127.0.0.1&#39;</span>,
+ isset($server[<span class="stringliteral">&#39;port&#39;</span>]) ? $server[<span class="stringliteral">&#39;port&#39;</span>] : 9160,
+ isset($server[<span class="stringliteral">&#39;use-framed-transport&#39;</span>]) ? $server[<span class="stringliteral">&#39;use-framed-transport&#39;</span>] : <span class="keyword">true</span>,
+ isset($server[<span class="stringliteral">&#39;send-timeout-ms&#39;</span>]) ? $server[<span class="stringliteral">&#39;send-timeout-ms&#39;</span>] : null,
+ isset($server[<span class="stringliteral">&#39;receive-timeout-ms&#39;</span>]) ? $server[<span class="stringliteral">&#39;receive-timeout-ms&#39;</span>] : null
+ );
+ }
+ }
+</pre></div>
+</div>
+</div>
+<a class="anchor" id="a4ce9e28f647bbbbb253273c3e0fa377a"></a><!-- doxytag: member="CassandraCluster::__destruct" ref="a4ce9e28f647bbbbb253273c3e0fa377a" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">CassandraCluster::__destruct </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+<p>Closes all connections on destruction. </p>
+
+<p>Definition at line <a class="el" href="Cassandra_8php_source.html#l00390">390</a> of file <a class="el" href="Cassandra_8php_source.html">Cassandra.php</a>.</p>
+<div class="fragment"><pre class="fragment"> {
+ $this-&gt;<a class="code" href="classCassandraCluster.html#afbff3180c5d4bb74c8b230436349d460">closeConnections</a>();
+ }
+</pre></div>
+</div>
+</div>
+<hr/><h2>Member Function Documentation</h2>
+<a class="anchor" id="afbff3180c5d4bb74c8b230436349d460"></a><!-- doxytag: member="CassandraCluster::closeConnections" ref="afbff3180c5d4bb74c8b230436349d460" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">CassandraCluster::closeConnections </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+<p>Closes all open connections.</p>
+<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classCassandraCluster.html">CassandraCluster</a> Self for chaining calls </dd></dl>
+
+<p>Definition at line <a class="el" href="Cassandra_8php_source.html#l00540">540</a> of file <a class="el" href="Cassandra_8php_source.html">Cassandra.php</a>.</p>
+<div class="fragment"><pre class="fragment"> {
+ <span class="keywordflow">foreach</span> ($this-&gt;connections as $connection) {
+ $connection-&gt;close();
+ }
+
+ $this-&gt;connections = array();
+
+ <span class="keywordflow">return</span> $this;
+ }
+</pre></div>
+</div>
+</div>
+<a class="anchor" id="a27ec1b4718ca21a87a791035130d0746"></a><!-- doxytag: member="CassandraCluster::getConnection" ref="a27ec1b4718ca21a87a791035130d0746" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">CassandraCluster::getConnection </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+<p>Returns a connection to one of the servers.</p>
+<p>The connections are created from the server list at random and if a server is chosen that already has an active connection, it is reused.</p>
+<p>If a closed connection is found in the pool, it is removed and may be reconnected to later.</p>
+<p>It will try to connect to the servers the number of servers times two times before giving up.</p>
+<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classCassandraConnection.html">CassandraConnection</a> Connection to one of the nodes </dd></dl>
+<dl><dt><b>Exceptions:</b></dt><dd>
+ <table class="exception">
+ <tr><td class="paramname"><a class="el" href="classCassandraConnectionFailedException.html">CassandraConnectionFailedException</a></td><td>If all connections failed </td></tr>
+ </table>
+ </dd>
+</dl>
+
+<p>Definition at line <a class="el" href="Cassandra_8php_source.html#l00484">484</a> of file <a class="el" href="Cassandra_8php_source.html">Cassandra.php</a>.</p>
+<div class="fragment"><pre class="fragment"> {
+ <span class="keywordflow">if</span> (empty($this-&gt;servers)) {
+ <span class="keywordflow">throw</span> <span class="keyword">new</span> <a class="code" href="classCassandraConnectionFailedException.html">CassandraConnectionFailedException</a>(
+ <span class="stringliteral">&#39;Unable to create connection, the cluster server pool is empty&#39;</span>
+ );
+ }
+
+ $serverCount = count($this-&gt;servers);
+ $attemptsLeft = $serverCount * 2;
+
+ <span class="keywordflow">while</span> ($attemptsLeft-- &gt; 0) {
+ $randomServerIndex = mt_rand(0, $serverCount - 1);
+
+ <span class="keywordflow">if</span> (isset($this-&gt;connections[$randomServerIndex])) {
+ <span class="keywordflow">if</span> (!$this-&gt;connections[$randomServerIndex]-&gt;isOpen()) {
+ unset($this-&gt;connections[$randomServerIndex]);
+
+ <span class="keywordflow">continue</span>;
+ }
+
+ <span class="keywordflow">return</span> $this-&gt;connections[$randomServerIndex];
+ } <span class="keywordflow">else</span> {
+ $server = $this-&gt;servers[$randomServerIndex];
+
+ <span class="keywordflow">try</span> {
+ $this-&gt;connections[$randomServerIndex] = <span class="keyword">new</span> <a class="code" href="classCassandraConnection.html">CassandraConnection</a>(
+ $server[<span class="stringliteral">&#39;host&#39;</span>],
+ $server[<span class="stringliteral">&#39;port&#39;</span>],
+ $server[<span class="stringliteral">&#39;use-framed-transport&#39;</span>],
+ $server[<span class="stringliteral">&#39;send-timeout-ms&#39;</span>],
+ $server[<span class="stringliteral">&#39;receive-timeout-ms&#39;</span>]
+ );
+
+ $this-&gt;connections[$randomServerIndex]-&gt;useKeyspace(
+ $this-&gt;keyspace,
+ $this-&gt;username,
+ $this-&gt;password
+ );
+
+ <span class="keywordflow">return</span> $this-&gt;connections[$randomServerIndex];
+ } <span class="keywordflow">catch</span> (TException $e) {
+ <span class="keywordflow">continue</span>;
+ }
+ }
+ }
+
+ <span class="keywordflow">throw</span> <span class="keyword">new</span> <a class="code" href="classCassandraConnectionFailedException.html">CassandraConnectionFailedException</a>(
+ <span class="stringliteral">&#39;Connecting to any of the &#39;</span>.$serverCount.<span class="stringliteral">&#39; nodes failed&#39;</span>
+ );
+ }
+</pre></div>
+</div>
+</div>
+<a class="anchor" id="a0cc3add750920cad51b03676b549e256"></a><!-- doxytag: member="CassandraCluster::getCurrentKeyspace" ref="a0cc3add750920cad51b03676b549e256" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">CassandraCluster::getCurrentKeyspace </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+<p>Returns the name of currently used keyspace.</p>
+<dl class="return"><dt><b>Returns:</b></dt><dd>string </dd></dl>
+
+<p>Definition at line <a class="el" href="Cassandra_8php_source.html#l00456">456</a> of file <a class="el" href="Cassandra_8php_source.html">Cassandra.php</a>.</p>
+<div class="fragment"><pre class="fragment"> {
+ <span class="keywordflow">return</span> $this-&gt;keyspace;
+ }
+</pre></div>
+</div>
+</div>
+<a class="anchor" id="af213845fa6bfb0e6a986fb671be28552"></a><!-- doxytag: member="CassandraCluster::getServers" ref="af213845fa6bfb0e6a986fb671be28552" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">CassandraCluster::getServers </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+<p>Returns the list of servers connection info in the pool.</p>
+<dl class="return"><dt><b>Returns:</b></dt><dd>array </dd></dl>
+
+<p>Definition at line <a class="el" href="Cassandra_8php_source.html#l00465">465</a> of file <a class="el" href="Cassandra_8php_source.html">Cassandra.php</a>.</p>
+<div class="fragment"><pre class="fragment"> {
+ <span class="keywordflow">return</span> $this-&gt;servers;
+ }
+</pre></div>
+</div>
+</div>
+<a class="anchor" id="a49baa9fac921644a5ba10f98c4a7412d"></a><!-- doxytag: member="CassandraCluster::registerServer" ref="a49baa9fac921644a5ba10f98c4a7412d" args="($host= '127.0.0.1', $port=9160, $useFramedTransport=true, $sendTimeoutMs=null, $receiveTimeoutMs=null)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">CassandraCluster::registerServer </td>
+ <td>(</td>
+ <td class="paramtype">$&#160;</td>
+ <td class="paramname"><em>host</em> = <code>'127.0.0.1'</code>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">$&#160;</td>
+ <td class="paramname"><em>port</em> = <code>9160</code>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">$&#160;</td>
+ <td class="paramname"><em>useFramedTransport</em> = <code>true</code>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">$&#160;</td>
+ <td class="paramname"><em>sendTimeoutMs</em> = <code>null</code>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">$&#160;</td>
+ <td class="paramname"><em>receiveTimeoutMs</em> = <code>null</code>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+<p>Registers a new server in the cluster pool.</p>
+<p>This does not mean that it is connected to at once but it may be used in any of the requests.</p>
+<dl><dt><b>Parameters:</b></dt><dd>
+ <table class="params">
+ <tr><td class="paramtype">string</td><td class="paramname">$host</td><td>Hostname or IP of the node </td></tr>
+ <tr><td class="paramtype">integer</td><td class="paramname">$port</td><td>Port of the instance </td></tr>
+ <tr><td class="paramtype">boolean</td><td class="paramname">$useFramedTransport</td><td>Use framed or buffered transport </td></tr>
+ <tr><td class="paramtype">integer</td><td class="paramname">$sendTimeoutMs</td><td>Timeout of send operations in milliseconds </td></tr>
+ <tr><td class="paramtype">integer</td><td class="paramname">$receiveTimeoutMs</td><td>Timeout of receive operations </td></tr>
+ </table>
+ </dd>
+</dl>
+<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classCassandraCluster.html">CassandraCluster</a> Self for chaining calls </dd></dl>
+
+<p>Definition at line <a class="el" href="Cassandra_8php_source.html#l00407">407</a> of file <a class="el" href="Cassandra_8php_source.html">Cassandra.php</a>.</p>
+<div class="fragment"><pre class="fragment"> {
+ $this-&gt;servers[] = array(
+ <span class="stringliteral">&#39;host&#39;</span> =&gt; $host,
+ <span class="stringliteral">&#39;port&#39;</span> =&gt; $port,
+ <span class="stringliteral">&#39;use-framed-transport&#39;</span> =&gt; $useFramedTransport,
+ <span class="stringliteral">&#39;send-timeout-ms&#39;</span> =&gt; $sendTimeoutMs,
+ <span class="stringliteral">&#39;receive-timeout-ms&#39;</span> =&gt; $receiveTimeoutMs
+ );
+
+ <span class="keywordflow">return</span> $this;
+ }
+</pre></div>
+</div>
+</div>
+<a class="anchor" id="a1044f6f79a82fbb33aa6dd0374cac07a"></a><!-- doxytag: member="CassandraCluster::useKeyspace" ref="a1044f6f79a82fbb33aa6dd0374cac07a" args="($keyspace, $username=null, $password=null)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">CassandraCluster::useKeyspace </td>
+ <td>(</td>
+ <td class="paramtype">$&#160;</td>
+ <td class="paramname"><em>keyspace</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">$&#160;</td>
+ <td class="paramname"><em>username</em> = <code>null</code>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">$&#160;</td>
+ <td class="paramname"><em>password</em> = <code>null</code>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+<p>Starts using given keyspace for all active and future connections.</p>
+<dl><dt><b>Parameters:</b></dt><dd>
+ <table class="params">
+ <tr><td class="paramtype">string</td><td class="paramname">$keyspace</td><td>Keyspace to use </td></tr>
+ <tr><td class="paramtype">string</td><td class="paramname">$username</td><td>Optional username </td></tr>
+ <tr><td class="paramtype">string</td><td class="paramname">$password</td><td>Password </td></tr>
+ </table>
+ </dd>
+</dl>
+<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classCassandraCluster.html">CassandraCluster</a> Self for chaining calls </dd></dl>
+
+<p>Definition at line <a class="el" href="Cassandra_8php_source.html#l00433">433</a> of file <a class="el" href="Cassandra_8php_source.html">Cassandra.php</a>.</p>
+<div class="fragment"><pre class="fragment"> {
+ $this-&gt;keyspace = $keyspace;
+ $this-&gt;username = $username;
+ $this-&gt;password = $password;
+
+ $this-&gt;<a class="code" href="classCassandraCluster.html#a27ec1b4718ca21a87a791035130d0746">getConnection</a>();
+
+ <span class="keywordflow">foreach</span> ($this-&gt;connections as $connection) {
+ $connection-&gt;useKeyspace(
+ $keyspace,
+ $username,
+ $password
+ );
+ }
+
+ <span class="keywordflow">return</span> $this;
+ }
+</pre></div>
+</div>
+</div>
+<hr/>The documentation for this class was generated from the following file:<ul>
+<li><a class="el" href="Cassandra_8php_source.html">Cassandra.php</a></li>
+</ul>
+</div>
+<!--- window showing the filter options -->
+<div id="MSearchSelectWindow"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ onkeydown="return searchBox.OnSearchSelectKey(event)">
+<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a></div>
+
+<!-- iframe showing the search results (closed by default) -->
+<div id="MSearchResultsWindow">
+<iframe src="" frameborder="0"
+ name="MSearchResults" id="MSearchResults">
+</iframe>
+</div>
+
+<hr class="footer"/><address class="footer"><small>Generated on Mon Jul 4 2011 14:35:59 for Cassandra PHP Client Library by&#160;
+<a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
+</body>
+</html>
View
2,171 doc/html/classCassandraColumnFamily.html
2,171 additions, 0 deletions not shown
View
132 doc/html/classCassandraColumnFamilyNotFoundException.html
@@ -0,0 +1,132 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<title>Cassandra PHP Client Library: CassandraColumnFamilyNotFoundException Class Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="search/search.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css"/>
+</head>
+<body onload='searchBox.OnSelectItem(0);'>
+<!-- Generated by Doxygen 1.7.3 -->
+<script type="text/javascript"><!--
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
+--></script>
+<script type="text/javascript">
+function hasClass(ele,cls) {
+ return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)'));
+}
+
+function addClass(ele,cls) {
+ if (!this.hasClass(ele,cls)) ele.className += " "+cls;
+}
+
+function removeClass(ele,cls) {
+ if (hasClass(ele,cls)) {
+ var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)');
+ ele.className=ele.className.replace(reg,' ');
+ }
+}
+
+function toggleVisibility(linkObj) {
+ var base = linkObj.getAttribute('id');
+ var summary = document.getElementById(base + '-summary');
+ var content = document.getElementById(base + '-content');
+ var trigger = document.getElementById(base + '-trigger');
+ if ( hasClass(linkObj,'closed') ) {
+ summary.style.display = 'none';
+ content.style.display = 'block';
+ trigger.src = 'open.png';
+ removeClass(linkObj,'closed');
+ addClass(linkObj,'opened');
+ } else if ( hasClass(linkObj,'opened') ) {
+ summary.style.display = 'block';
+ content.style.display = 'none';
+ trigger.src = 'closed.png';
+ removeClass(linkObj,'opened');
+ addClass(linkObj,'closed');
+ }
+ return false;
+}
+</script>
+<div id="top">
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td style="padding-left: 0.5em;">
+ <div id="projectname">Cassandra PHP Client Library</div>
+ <div id="projectbrief">Cassandra PHP-based client library for managing and querying your Cassandra cluster.</div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+ <div id="navrow1" class="tabs">
+ <ul class="tablist">
+ <li><a href="index.html"><span>Main&#160;Page</span></a></li>
+ <li><a href="namespaces.html"><span>Namespaces</span></a></li>
+ <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
+ <li><a href="files.html"><span>Files</span></a></li>
+ <li id="searchli">
+ <div id="MSearchBox" class="MSearchBoxInactive">
+ <span class="left">
+ <img id="MSearchSelect" src="search/mag_sel.png"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ alt=""/>
+ <input type="text" id="MSearchField" value="Search" accesskey="S"
+ onfocus="searchBox.OnSearchFieldFocus(true)"
+ onblur="searchBox.OnSearchFieldFocus(false)"
+ onkeyup="searchBox.OnSearchFieldChange(event)"/>
+ </span><span class="right">
+ <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
+ </span>
+ </div>
+ </li>
+ </ul>
+ </div>
+ <div id="navrow2" class="tabs2">
+ <ul class="tablist">
+ <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
+ <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
+ <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
+ <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
+ </ul>
+ </div>
+</div>
+<div class="header">
+ <div class="headertitle">
+<h1>CassandraColumnFamilyNotFoundException Class Reference</h1> </div>
+</div>
+<div class="contents">
+<!-- doxytag: class="CassandraColumnFamilyNotFoundException" --><table class="memberdecls">
+</table>
+<hr/><a name="_details"></a><h2>Detailed Description</h2>
+<div class="textblock"><p>Thrown if the requested column family does not exist. </p>
+
+<p>Definition at line <a class="el" href="Cassandra_8php_source.html#l03648">3648</a> of file <a class="el" href="Cassandra_8php_source.html">Cassandra.php</a>.</p>
+</div><hr/>The documentation for this class was generated from the following file:<ul>
+<li><a class="el" href="Cassandra_8php_source.html">Cassandra.php</a></li>
+</ul>
+</div>
+<!--- window showing the filter options -->
+<div id="MSearchSelectWindow"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ onkeydown="return searchBox.OnSearchSelectKey(event)">
+<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a></div>
+
+<!-- iframe showing the search results (closed by default) -->
+<div id="MSearchResultsWindow">
+<iframe src="" frameborder="0"
+ name="MSearchResults" id="MSearchResults">
+</iframe>
+</div>
+
+<hr class="footer"/><address class="footer"><small>Generated on Mon Jul 4 2011 14:35:59 for Cassandra PHP Client Library by&#160;
+<a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
+</body>
+</html>
View
610 doc/html/classCassandraConnection.html
@@ -0,0 +1,610 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<title>Cassandra PHP Client Library: CassandraConnection Class Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="search/search.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css"/>
+</head>
+<body onload='searchBox.OnSelectItem(0);'>
+<!-- Generated by Doxygen 1.7.3 -->
+<script type="text/javascript"><!--
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
+--></script>
+<script type="text/javascript">
+function hasClass(ele,cls) {
+ return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)'));
+}
+
+function addClass(ele,cls) {
+ if (!this.hasClass(ele,cls)) ele.className += " "+cls;
+}
+
+function removeClass(ele,cls) {
+ if (hasClass(ele,cls)) {
+ var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)');
+ ele.className=ele.className.replace(reg,' ');
+ }
+}
+
+function toggleVisibility(linkObj) {
+ var base = linkObj.getAttribute('id');
+ var summary = document.getElementById(base + '-summary');
+ var content = document.getElementById(base + '-content');
+ var trigger = document.getElementById(base + '-trigger');
+ if ( hasClass(linkObj,'closed') ) {
+ summary.style.display = 'none';
+ content.style.display = 'block';
+ trigger.src = 'open.png';
+ removeClass(linkObj,'closed');
+ addClass(linkObj,'opened');
+ } else if ( hasClass(linkObj,'opened') ) {
+ summary.style.display = 'block';
+ content.style.display = 'none';
+ trigger.src = 'closed.png';
+ removeClass(linkObj,'opened');
+ addClass(linkObj,'closed');
+ }
+ return false;
+}
+</script>
+<div id="top">
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td style="padding-left: 0.5em;">
+ <div id="projectname">Cassandra PHP Client Library</div>
+ <div id="projectbrief">Cassandra PHP-based client library for managing and querying your Cassandra cluster.</div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+ <div id="navrow1" class="tabs">
+ <ul class="tablist">
+ <li><a href="index.html"><span>Main&#160;Page</span></a></li>
+ <li><a href="namespaces.html"><span>Namespaces</span></a></li>
+ <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
+ <li><a href="files.html"><span>Files</span></a></li>
+ <li id="searchli">
+ <div id="MSearchBox" class="MSearchBoxInactive">
+ <span class="left">
+ <img id="MSearchSelect" src="search/mag_sel.png"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ alt=""/>
+ <input type="text" id="MSearchField" value="Search" accesskey="S"
+ onfocus="searchBox.OnSearchFieldFocus(true)"
+ onblur="searchBox.OnSearchFieldFocus(false)"
+ onkeyup="searchBox.OnSearchFieldChange(event)"/>
+ </span><span class="right">
+ <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
+ </span>
+ </div>
+ </li>
+ </ul>
+ </div>
+ <div id="navrow2" class="tabs2">
+ <ul class="tablist">
+ <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
+ <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
+ <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
+ <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
+ </ul>
+ </div>
+</div>
+<div class="header">
+ <div class="summary">
+<a href="#pub-methods">Public Member Functions</a> &#124;
+<a href="#pro-methods">Protected Member Functions</a> &#124;
+<a href="#pro-attribs">Protected Attributes</a> </div>
+ <div class="headertitle">
+<h1>CassandraConnection Class Reference</h1> </div>
+</div>
+<div class="contents">
+<!-- doxytag: class="CassandraConnection" --><table class="memberdecls">
+<tr><td colspan="2"><h2><a name="pub-methods"></a>
+Public Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCassandraConnection.html#a7f75a298bf9fb6362d38f4aeb42ceb28">__construct</a> ($host= '127.0.0.1', $port=9160, $useFramedTransport=true, $sendTimeoutMs=null, $receiveTimeoutMs=null)</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCassandraConnection.html#ab491ef3fe8550d70856e708e528cb570">__destruct</a> ()</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCassandraConnection.html#abd8bbd3ef94126f1e6a274b5ad512ece">close</a> ()</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCassandraConnection.html#aed004bd39c88a8aea40292f9c5271512">isOpen</a> ()</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCassandraConnection.html#a9333243e248f73414e25d5fe143250df">getClient</a> ()</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCassandraConnection.html#a7f12a9a108ea4d89083a48bbebdb8a60">getTransport</a> ()</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCassandraConnection.html#adb1d52d166f36506ab94605b260e821f">getProtocol</a> ()</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCassandraConnection.html#a9bb32ec133d74c18a5ab142a33b96539">useKeyspace</a> ($keyspace, $username=null, $password=null)</td></tr>
+<tr><td colspan="2"><h2><a name="pro-methods"></a>
+Protected Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCassandraConnection.html#a6886c992c6b7cbc24deb801fb8ee52db">createSocket</a> ($host, $port, $sendTimeoutMs, $receiveTimeoutMs)</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCassandraConnection.html#a00c2d10e54028d15cfb5ef8bde3468d3">createFramedTransport</a> (TSocket $socket)</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCassandraConnection.html#a3e3b2e2318ff07ee56bcae235634c2e4">createBufferedTransport</a> (TSocket $socket)</td></tr>
+<tr><td colspan="2"><h2><a name="pro-attribs"></a>
+Protected Attributes</h2></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7ac95fc265637f0043ed4a1751d4073d"></a><!-- doxytag: member="CassandraConnection::$host" ref="a7ac95fc265637f0043ed4a1751d4073d" args="" -->
+&#160;</td><td class="memItemRight" valign="bottom"><b>$host</b></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a36f082a05939ae4532bff76878f6e66b"></a><!-- doxytag: member="CassandraConnection::$port" ref="a36f082a05939ae4532bff76878f6e66b" args="" -->
+&#160;</td><td class="memItemRight" valign="bottom"><b>$port</b></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3fcb133a131b3836b91908a7495e215e"></a><!-- doxytag: member="CassandraConnection::$useFramedTransport" ref="a3fcb133a131b3836b91908a7495e215e" args="" -->
+&#160;</td><td class="memItemRight" valign="bottom"><b>$useFramedTransport</b></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac293faec52dd505e5c9a18f5ed31ed99"></a><!-- doxytag: member="CassandraConnection::$sendTimeoutMs" ref="ac293faec52dd505e5c9a18f5ed31ed99" args="" -->
+&#160;</td><td class="memItemRight" valign="bottom"><b>$sendTimeoutMs</b></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac73bb080eca4394141343841ac3c45cd"></a><!-- doxytag: member="CassandraConnection::$receiveTimeoutMs" ref="ac73bb080eca4394141343841ac3c45cd" args="" -->
+&#160;</td><td class="memItemRight" valign="bottom"><b>$receiveTimeoutMs</b></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6aac74a2193fb8a8d223b5ec8d5793a2"></a><!-- doxytag: member="CassandraConnection::$socket" ref="a6aac74a2193fb8a8d223b5ec8d5793a2" args="" -->
+&#160;</td><td class="memItemRight" valign="bottom"><b>$socket</b></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a709c8b7fdbd7f90bce67a400466a410b"></a><!-- doxytag: member="CassandraConnection::$transport" ref="a709c8b7fdbd7f90bce67a400466a410b" args="" -->
+&#160;</td><td class="memItemRight" valign="bottom"><b>$transport</b></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afcb5feee11548cac9e50b81b0c79bc97"></a><!-- doxytag: member="CassandraConnection::$protocol" ref="afcb5feee11548cac9e50b81b0c79bc97" args="" -->
+&#160;</td><td class="memItemRight" valign="bottom"><b>$protocol</b></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0a8d7d42cb84e49f715905e9859266ab"></a><!-- doxytag: member="CassandraConnection::$client" ref="a0a8d7d42cb84e49f715905e9859266ab" args="" -->
+&#160;</td><td class="memItemRight" valign="bottom"><b>$client</b></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab014396c373813e451be830993f05f76"></a><!-- doxytag: member="CassandraConnection::$isOpen" ref="ab014396c373813e451be830993f05f76" args="" -->
+&#160;</td><td class="memItemRight" valign="bottom"><b>$isOpen</b></td></tr>
+</table>
+<hr/><a name="_details"></a><h2>Detailed Description</h2>
+<div class="textblock"><p>Represents a connection to a single <a class="el" href="classCassandra.html">Cassandra</a> node.</p>
+<p>Provides direct access to the low-level <a class="el" href="classCassandra.html">Cassandra</a> client. </p>
+
+<p>Definition at line <a class="el" href="Cassandra_8php_source.html#l00050">50</a> of file <a class="el" href="Cassandra_8php_source.html">Cassandra.php</a>.</p>
+</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" id="a7f75a298bf9fb6362d38f4aeb42ceb28"></a><!-- doxytag: member="CassandraConnection::__construct" ref="a7f75a298bf9fb6362d38f4aeb42ceb28" args="($host= '127.0.0.1', $port=9160, $useFramedTransport=true, $sendTimeoutMs=null, $receiveTimeoutMs=null)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">CassandraConnection::__construct </td>
+ <td>(</td>
+ <td class="paramtype">$&#160;</td>
+ <td class="paramname"><em>host</em> = <code>'127.0.0.1'</code>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">$&#160;</td>
+ <td class="paramname"><em>port</em> = <code>9160</code>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">$&#160;</td>
+ <td class="paramname"><em>useFramedTransport</em> = <code>true</code>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">$&#160;</td>
+ <td class="paramname"><em>sendTimeoutMs</em> = <code>null</code>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">$&#160;</td>
+ <td class="paramname"><em>receiveTimeoutMs</em> = <code>null</code>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+<p>Constructs the connection, setting access parameters.</p>
+<dl><dt><b>Parameters:</b></dt><dd>
+ <table class="params">
+ <tr><td class="paramtype">string</td><td class="paramname">$host</td><td>Hostname or IP of the node </td></tr>
+ <tr><td class="paramtype">integer</td><td class="paramname">$port</td><td>Port of the instance </td></tr>
+ <tr><td class="paramtype">boolean</td><td class="paramname">$useFramedTransport</td><td>Use framed or buffered transport </td></tr>
+ <tr><td class="paramtype">integer</td><td class="paramname">$sendTimeoutMs</td><td>Timeout of send operations in milliseconds </td></tr>
+ <tr><td class="paramtype">integer</td><td class="paramname">$receiveTimeoutMs</td><td>Timeout of receive operations </td></tr>
+ </table>
+ </dd>
+</dl>
+
+<p>Definition at line <a class="el" href="Cassandra_8php_source.html#l00131">131</a> of file <a class="el" href="Cassandra_8php_source.html">Cassandra.php</a>.</p>
+<div class="fragment"><pre class="fragment"> {
+ $this-&gt;host = $host;
+ $this-&gt;port = $port;
+ $this-&gt;useFramedTransport = $useFramedTransport;
+ $this-&gt;sendTimeoutMs = $sendTimeoutMs;
+ $this-&gt;receiveTimeoutMs = $receiveTimeoutMs;
+ $this-&gt;<a class="code" href="classCassandraConnection.html#aed004bd39c88a8aea40292f9c5271512">isOpen</a> = <span class="keyword">false</span>;
+
+ $this-&gt;socket = $this-&gt;<a class="code" href="classCassandraConnection.html#a6886c992c6b7cbc24deb801fb8ee52db">createSocket</a>(
+ $host,
+ $port,
+ $sendTimeoutMs,
+ $receiveTimeoutMs
+ );
+
+ <span class="keywordflow">if</span> ($useFramedTransport) {
+ $this-&gt;transport = $this-&gt;<a class="code" href="classCassandraConnection.html#a00c2d10e54028d15cfb5ef8bde3468d3">createFramedTransport</a>($this-&gt;socket);
+ } <span class="keywordflow">else</span> {
+ $this-&gt;transport = $this-&gt;<a class="code" href="classCassandraConnection.html#a3e3b2e2318ff07ee56bcae235634c2e4">createBufferedTransport</a>($this-&gt;socket);
+ }
+
+ $this-&gt;transport-&gt;open();
+ $this-&gt;<a class="code" href="classCassandraConnection.html#aed004bd39c88a8aea40292f9c5271512">isOpen</a> = <span class="keyword">true</span>;
+
+ $this-&gt;protocol = <span class="keyword">new</span> TBinaryProtocolAccelerated($this-&gt;transport);
+ $this-&gt;client = <span class="keyword">new</span> CassandraClient($this-&gt;protocol);
+ }
+</pre></div>
+</div>
+</div>
+<a class="anchor" id="ab491ef3fe8550d70856e708e528cb570"></a><!-- doxytag: member="CassandraConnection::__destruct" ref="ab491ef3fe8550d70856e708e528cb570" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">CassandraConnection::__destruct </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+<p>Closes the connection on destruction. </p>
+
+<p>Definition at line <a class="el" href="Cassandra_8php_source.html#l00168">168</a> of file <a class="el" href="Cassandra_8php_source.html">Cassandra.php</a>.</p>
+<div class="fragment"><pre class="fragment"> {
+ $this-&gt;<a class="code" href="classCassandraConnection.html#abd8bbd3ef94126f1e6a274b5ad512ece">close</a>();
+ }
+</pre></div>
+</div>
+</div>
+<hr/><h2>Member Function Documentation</h2>
+<a class="anchor" id="abd8bbd3ef94126f1e6a274b5ad512ece"></a><!-- doxytag: member="CassandraConnection::close" ref="abd8bbd3ef94126f1e6a274b5ad512ece" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">CassandraConnection::close </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+<p>Forces the connection to close.</p>
+<p>Generally there's no need to call it yourself as it will be closed on termination. </p>
+
+<p>Definition at line <a class="el" href="Cassandra_8php_source.html#l00178">178</a> of file <a class="el" href="Cassandra_8php_source.html">Cassandra.php</a>.</p>
+<div class="fragment"><pre class="fragment"> {
+ <span class="keywordflow">if</span> ($this-&gt;<a class="code" href="classCassandraConnection.html#aed004bd39c88a8aea40292f9c5271512">isOpen</a>) {
+ $this-&gt;transport-&gt;flush();
+ $this-&gt;transport-&gt;close();
+
+ $this-&gt;<a class="code" href="classCassandraConnection.html#aed004bd39c88a8aea40292f9c5271512">isOpen</a> = <span class="keyword">false</span>;
+ }
+ }
+</pre></div>
+</div>
+</div>
+<a class="anchor" id="a3e3b2e2318ff07ee56bcae235634c2e4"></a><!-- doxytag: member="CassandraConnection::createBufferedTransport" ref="a3e3b2e2318ff07ee56bcae235634c2e4" args="(TSocket $socket)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">CassandraConnection::createBufferedTransport </td>
+ <td>(</td>
+ <td class="paramtype">TSocket $&#160;</td>
+ <td class="paramname"><em>socket</em></td><td>)</td>
+ <td><code> [protected]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+<p>Creates buffered transport.</p>
+<dl><dt><b>Parameters:</b></dt><dd>
+ <table class="params">
+ <tr><td class="paramtype">TSocket</td><td class="paramname">$socket</td><td>Socket to base the transport on </td></tr>
+ </table>
+ </dd>
+</dl>
+<dl class="return"><dt><b>Returns:</b></dt><dd>TBufferedTransport Instance of the transport </dd></dl>
+
+<p>Definition at line <a class="el" href="Cassandra_8php_source.html#l00316">316</a> of file <a class="el" href="Cassandra_8php_source.html">Cassandra.php</a>.</p>
+<div class="fragment"><pre class="fragment"> {
+ require_once THRIFT_PATH.<span class="stringliteral">&#39;/transport/TBufferedTransport.php&#39;</span>;
+
+ <span class="keywordflow">return</span> <span class="keyword">new</span> TBufferedTransport($socket, 512, 512);
+ }
+</pre></div>
+</div>
+</div>
+<a class="anchor" id="a00c2d10e54028d15cfb5ef8bde3468d3"></a><!-- doxytag: member="CassandraConnection::createFramedTransport" ref="a00c2d10e54028d15cfb5ef8bde3468d3" args="(TSocket $socket)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">CassandraConnection::createFramedTransport </td>
+ <td>(</td>
+ <td class="paramtype">TSocket $&#160;</td>
+ <td class="paramname"><em>socket</em></td><td>)</td>
+ <td><code> [protected]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+<p>Creates framed transport.</p>
+<dl><dt><b>Parameters:</b></dt><dd>
+ <table class="params">
+ <tr><td class="paramtype">TSocket</td><td class="paramname">$socket</td><td>Socket to base the transport on </td></tr>
+ </table>
+ </dd>
+</dl>
+<dl class="return"><dt><b>Returns:</b></dt><dd>TFramedTransport Instance of the transport </dd></dl>
+
+<p>Definition at line <a class="el" href="Cassandra_8php_source.html#l00304">304</a> of file <a class="el" href="Cassandra_8php_source.html">Cassandra.php</a>.</p>
+<div class="fragment"><pre class="fragment"> {
+ require_once THRIFT_PATH.<span class="stringliteral">&#39;/transport/TFramedTransport.php&#39;</span>;
+
+ <span class="keywordflow">return</span> <span class="keyword">new</span> TFramedTransport($socket, <span class="keyword">true</span>, <span class="keyword">true</span>);
+ }
+</pre></div>
+</div>
+</div>
+<a class="anchor" id="a6886c992c6b7cbc24deb801fb8ee52db"></a><!-- doxytag: member="CassandraConnection::createSocket" ref="a6886c992c6b7cbc24deb801fb8ee52db" args="($host, $port, $sendTimeoutMs, $receiveTimeoutMs)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">CassandraConnection::createSocket </td>
+ <td>(</td>
+ <td class="paramtype">$&#160;</td>
+ <td class="paramname"><em>host</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">$&#160;</td>
+ <td class="paramname"><em>port</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">$&#160;</td>
+ <td class="paramname"><em>sendTimeoutMs</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">$&#160;</td>
+ <td class="paramname"><em>receiveTimeoutMs</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td><code> [protected]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+<p>Creates the socket to use.</p>
+<dl><dt><b>Parameters:</b></dt><dd>
+ <table class="params">
+ <tr><td class="paramtype">string</td><td class="paramname">$host</td><td>Hostname/IP </td></tr>
+ <tr><td class="paramtype">integer</td><td class="paramname">$port</td><td>Port number </td></tr>
+ <tr><td class="paramtype">integer</td><td class="paramname">$sendTimeoutMs</td><td>Send operations timeout </td></tr>
+ <tr><td class="paramtype">integer</td><td class="paramname">$receiveTimeoutMs</td><td>Receive operations timeout </td></tr>
+ </table>
+ </dd>
+</dl>
+<dl class="return"><dt><b>Returns:</b></dt><dd>TSocket Initiated socket connection </dd></dl>
+
+<p>Definition at line <a class="el" href="Cassandra_8php_source.html#l00279">279</a> of file <a class="el" href="Cassandra_8php_source.html">Cassandra.php</a>.</p>
+<div class="fragment"><pre class="fragment"> {
+ $socket = <span class="keyword">new</span> TSocket($host, $port);
+
+ <span class="keywordflow">if</span> ($sendTimeoutMs !== null) {
+ $socket-&gt;setSendTimeout($sendTimeoutMs);
+ }
+
+ <span class="keywordflow">if</span> ($receiveTimeoutMs !== null) {
+ $socket-&gt;setRecvTimeout($receiveTimeoutMs);
+ }
+
+ <span class="keywordflow">return</span> $socket;
+ }
+</pre></div>
+</div>
+</div>
+<a class="anchor" id="a9333243e248f73414e25d5fe143250df"></a><!-- doxytag: member="CassandraConnection::getClient" ref="a9333243e248f73414e25d5fe143250df" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">CassandraConnection::getClient </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+<p>Returns the low-level <a class="el" href="classCassandra.html">Cassandra</a> client used by the wrapper.</p>
+<dl class="return"><dt><b>Returns:</b></dt><dd>CassandraClient </dd></dl>
+
+<p>Definition at line <a class="el" href="Cassandra_8php_source.html#l00201">201</a> of file <a class="el" href="Cassandra_8php_source.html">Cassandra.php</a>.</p>
+<div class="fragment"><pre class="fragment"> {
+ <span class="keywordflow">if</span> (!$this-&gt;<a class="code" href="classCassandraConnection.html#aed004bd39c88a8aea40292f9c5271512">isOpen</a>) {
+ <span class="keywordflow">throw</span> <span class="keyword">new</span> <a class="code" href="classCassandraConnectionClosedException.html">CassandraConnectionClosedException</a>(
+ <span class="stringliteral">&#39;The connection has been closed&#39;</span>
+ );
+ }
+
+ <span class="keywordflow">return</span> $this-&gt;client;
+ }
+</pre></div>
+</div>
+</div>
+<a class="anchor" id="adb1d52d166f36506ab94605b260e821f"></a><!-- doxytag: member="CassandraConnection::getProtocol" ref="adb1d52d166f36506ab94605b260e821f" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">CassandraConnection::getProtocol </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+<p>Returns the used transportation protocol.</p>
+<dl class="return"><dt><b>Returns:</b></dt><dd>TBinaryProtocolAccelerated </dd></dl>
+
+<p>Definition at line <a class="el" href="Cassandra_8php_source.html#l00225">225</a> of file <a class="el" href="Cassandra_8php_source.html">Cassandra.php</a>.</p>
+<div class="fragment"><pre class="fragment"> {
+ <span class="keywordflow">return</span> $this-&gt;transport;
+ }
+</pre></div>
+</div>
+</div>
+<a class="anchor" id="a7f12a9a108ea4d89083a48bbebdb8a60"></a><!-- doxytag: member="CassandraConnection::getTransport" ref="a7f12a9a108ea4d89083a48bbebdb8a60" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">CassandraConnection::getTransport </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+<p>Returns the used transport method.</p>
+<dl class="return"><dt><b>Returns:</b></dt><dd>TTransport </dd></dl>
+
+<p>Definition at line <a class="el" href="Cassandra_8php_source.html#l00216">216</a> of file <a class="el" href="Cassandra_8php_source.html">Cassandra.php</a>.</p>
+<div class="fragment"><pre class="fragment"> {
+ <span class="keywordflow">return</span> $this-&gt;transport;
+ }
+</pre></div>
+</div>
+</div>
+<a class="anchor" id="aed004bd39c88a8aea40292f9c5271512"></a><!-- doxytag: member="CassandraConnection::isOpen" ref="aed004bd39c88a8aea40292f9c5271512" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">CassandraConnection::isOpen </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+<p>Is the connection open.</p>
+<dl class="return"><dt><b>Returns:</b></dt><dd>boolean </dd></dl>
+
+<p>Definition at line <a class="el" href="Cassandra_8php_source.html#l00192">192</a> of file <a class="el" href="Cassandra_8php_source.html">Cassandra.php</a>.</p>
+<div class="fragment"><pre class="fragment"> {
+ <span class="keywordflow">return</span> $this-&gt;<a class="code" href="classCassandraConnection.html#aed004bd39c88a8aea40292f9c5271512">isOpen</a>;
+ }
+</pre></div>
+</div>
+</div>
+<a class="anchor" id="a9bb32ec133d74c18a5ab142a33b96539"></a><!-- doxytag: member="CassandraConnection::useKeyspace" ref="a9bb32ec133d74c18a5ab142a33b96539" args="($keyspace, $username=null, $password=null)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">CassandraConnection::useKeyspace </td>
+ <td>(</td>
+ <td class="paramtype">$&#160;</td>
+ <td class="paramname"><em>keyspace</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">$&#160;</td>
+ <td class="paramname"><em>username</em> = <code>null</code>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">$&#160;</td>
+ <td class="paramname"><em>password</em> = <code>null</code>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+<p>Attempts to start using given keyspace.</p>
+<p>Using the keyspace is attempted three times before giving up.</p>
+<dl><dt><b>Parameters:</b></dt><dd>
+ <table class="params">
+ <tr><td class="paramtype">string</td><td class="paramname">$keyspace</td><td>Name of the keyspace </td></tr>
+ <tr><td class="paramtype">string</td><td class="paramname">$username</td><td>Optional username in case authentication is used </td></tr>
+ <tr><td class="paramtype">string</td><td class="paramname">$password</td><td>Optional password </td></tr>
+ </table>
+ </dd>
+</dl>
+
+<p>Definition at line <a class="el" href="Cassandra_8php_source.html#l00238">238</a> of file <a class="el" href="Cassandra_8php_source.html">Cassandra.php</a>.</p>
+<div class="fragment"><pre class="fragment"> {
+ $attempts = 3;
+ $success = <span class="keyword">false</span>;
+
+ <span class="keywordflow">while</span>($attempts-- &gt; 0 &amp;&amp; !$success) {
+ <span class="keywordflow">try</span> {
+ $this-&gt;client-&gt;set_keyspace($keyspace);
+ $success = <span class="keyword">true</span>;
+ } <span class="keywordflow">catch</span> (cassandra_InvalidRequestException $e) {
+ <span class="keywordflow">continue</span>;
+ }
+ }
+
+ <span class="keywordflow">if</span> (!$success) {
+ <span class="keywordflow">throw</span> <span class="keyword">new</span> <a class="code" href="classCassandraSettingKeyspaceFailedException.html">CassandraSettingKeyspaceFailedException</a>(
+ <span class="stringliteral">&#39;Using keyspace &quot;&#39;</span>.$keyspace.<span class="stringliteral">&#39;&quot; failed after several attempts&#39;</span>
+ );
+ }
+
+ <span class="keywordflow">if</span> ($username !== null) {
+ $request = <span class="keyword">new</span> cassandra_AuthenticationRequest(
+ array(<span class="stringliteral">&#39;credentials&#39;</span> =&gt; array($username, $password))
+ );
+
+ $this-&gt;client-&gt;login($request);
+ }
+ }
+</pre></div>
+</div>
+</div>
+<hr/>The documentation for this class was generated from the following file:<ul>
+<li><a class="el" href="Cassandra_8php_source.html">Cassandra.php</a></li>
+</ul>
+</div>
+<!--- window showing the filter options -->
+<div id="MSearchSelectWindow"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ onkeydown="return searchBox.OnSearchSelectKey(event)">
+<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a></div>
+
+<!-- iframe showing the search results (closed by default) -->
+<div id="MSearchResultsWindow">
+<iframe src="" frameborder="0"
+ name="MSearchResults" id="MSearchResults">
+</iframe>
+</div>
+
+<hr class="footer"/><address class="footer"><small>Generated on Mon Jul 4 2011 14:35:59 for Cassandra PHP Client Library by&#160;
+<a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
+</body>
+</html>
View
132 doc/html/classCassandraConnectionClosedException.html
@@ -0,0 +1,132 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<title>Cassandra PHP Client Library: CassandraConnectionClosedException Class Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="search/search.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css"/>
+</head>
+<body onload='searchBox.OnSelectItem(0);'>
+<!-- Generated by Doxygen 1.7.3 -->
+<script type="text/javascript"><!--
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
+--></script>
+<script type="text/javascript">
+function hasClass(ele,cls) {
+ return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)'));
+}
+
+function addClass(ele,cls) {
+ if (!this.hasClass(ele,cls)) ele.className += " "+cls;
+}
+
+function removeClass(ele,cls) {
+ if (hasClass(ele,cls)) {
+ var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)');
+ ele.className=ele.className.replace(reg,' ');
+ }
+}
+
+function toggleVisibility(linkObj) {
+ var base = linkObj.getAttribute('id');
+ var summary = document.getElementById(base + '-summary');
+ var content = document.getElementById(base + '-content');
+ var trigger = document.getElementById(base + '-trigger');
+ if ( hasClass(linkObj,'closed') ) {
+ summary.style.display = 'none';
+ content.style.display = 'block';
+ trigger.src = 'open.png';
+ removeClass(linkObj,'closed');
+ addClass(linkObj,'opened');
+ } else if ( hasClass(linkObj,'opened') ) {
+ summary.style.display = 'block';
+ content.style.display = 'none';
+ trigger.src = 'closed.png';
+ removeClass(linkObj,'opened');
+ addClass(linkObj,'closed');
+ }
+ return false;
+}
+</script>
+<div id="top">
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td style="padding-left: 0.5em;">
+ <div id="projectname">Cassandra PHP Client Library</div>
+ <div id="projectbrief">Cassandra PHP-based client library for managing and querying your Cassandra cluster.</div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+ <div id="navrow1" class="tabs">
+ <ul class="tablist">
+ <li><a href="index.html"><span>Main&#160;Page</span></a></li>
+ <li><a href="namespaces.html"><span>Namespaces</span></a></li>
+ <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
+ <li><a href="files.html"><span>Files</span></a></li>
+ <li id="searchli">
+ <div id="MSearchBox" class="MSearchBoxInactive">
+ <span class="left">
+ <img id="MSearchSelect" src="search/mag_sel.png"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ alt=""/>
+ <input type="text" id="MSearchField" value="Search" accesskey="S"
+ onfocus="searchBox.OnSearchFieldFocus(true)"
+ onblur="searchBox.OnSearchFieldFocus(false)"
+ onkeyup="searchBox.OnSearchFieldChange(event)"/>
+ </span><span class="right">
+ <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
+ </span>
+ </div>
+ </li>
+ </ul>
+ </div>
+ <div id="navrow2" class="tabs2">
+ <ul class="tablist">
+ <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
+ <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
+ <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
+ <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
+ </ul>
+ </div>
+</div>
+<div class="header">
+ <div class="headertitle">
+<h1>CassandraConnectionClosedException Class Reference</h1> </div>
+</div>
+<div class="contents">
+<!-- doxytag: class="CassandraConnectionClosedException" --><table class="memberdecls">
+</table>
+<hr/><a name="_details"></a><h2>Detailed Description</h2>
+<div class="textblock"><p>Throws if trying to fetch the client of a connection but the connection has been closed. </p>
+
+<p>Definition at line <a class="el" href="Cassandra_8php_source.html#l03633">3633</a> of file <a class="el" href="Cassandra_8php_source.html">Cassandra.php</a>.</p>
+</div><hr/>The documentation for this class was generated from the following file:<ul>
+<li><a class="el" href="Cassandra_8php_source.html">Cassandra.php</a></li>
+</ul>
+</div>
+<!--- window showing the filter options -->
+<div id="MSearchSelectWindow"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ onkeydown="return searchBox.OnSearchSelectKey(event)">
+<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a></div>
+
+<!-- iframe showing the search results (closed by default) -->