public function cqlGetRows($cqlResult)
    {
        if ($cqlResult->type == 1) {
            $rows = array();
            foreach ($cqlResult->rows as $rowIndex => $cqlRow) {
                $cols = array();
                foreach ($cqlRow->columns as $colIndex => $column) {
                    $type = DataType::get_type_for($cqlResult->schema->value_types[$column->name]);
                    $cols[$column->name] = $type->unpack($column->value);
                }
                $rows[] = $cols;
            }
            return $rows;
        } else {
            return null;
        }
    }