示例#1
0
 /**
  * Counts the number of columns in a set of rows.
  *
  * @param string[] $keys rows to be counted
  * @param mixed[] $columns limit the possible columns or super columns counted to this list
  * @param mixed $columnStart only count columns with name >= this
  * @param mixed $columnFinish only count columns with name <= this
  * @param mixed $superColumn count only columns in this super column
  * @param cassandra_ConsistencyLevel $readConsistencyLevel affects the guaranteed
  *        number of nodes that must respond before the operation returns
  *
  * @return mixed array(row_key => row_count)
  */
 public function multigetCount($keys, $columns = null, $columnStart = '', $columnFinish = '', $superColumn = null, $readConsistencyLevel = null)
 {
     if (empty($this->_columnFamily)) {
         $this->init();
     }
     return $this->_columnFamily->multiget_count($keys, $columns, $columnStart, $columnFinish, $superColumn, $readConsistencyLevel);
 }