Overview

Namespaces

  • cassandra
  • None
  • PHP
  • phpcassa
    • Batch
    • Connection
    • Index
    • Iterator
    • Schema
      • DataType
    • Util
    • UUID

Classes

  • AuthenticationRequest
  • CassandraClient
  • CfDef
  • Column
  • ColumnDef
  • ColumnOrSuperColumn
  • ColumnParent
  • ColumnPath
  • Compression
  • ConsistencyLevel
  • CounterColumn
  • CounterSuperColumn
  • CqlMetadata
  • CqlPreparedResult
  • CqlResult
  • CqlResultType
  • CqlRow
  • Deletion
  • EndpointDetails
  • IndexClause
  • IndexExpression
  • IndexOperator
  • IndexType
  • KeyCount
  • KeyRange
  • KeySlice
  • KsDef
  • Mutation
  • SlicePredicate
  • SliceRange
  • SuperColumn
  • TokenRange

Interfaces

  • CassandraIf

Exceptions

  • AuthenticationException
  • AuthorizationException
  • InvalidRequestException
  • NotFoundException
  • SchemaDisagreementException
  • TimedOutException
  • UnavailableException
  • Overview
  • Namespace
  • Class
  • Tree
 1: <?php
 2: /**
 3:  *  @generated
 4:  */
 5: namespace cassandra;
 6: class CqlResult extends \TBase {
 7:   static $_TSPEC;
 8: 
 9:   public $type = null;
10:   public $rows = null;
11:   public $num = null;
12:   public $schema = null;
13: 
14:   public function __construct($vals=null) {
15:     if (!isset(self::$_TSPEC)) {
16:       self::$_TSPEC = array(
17:         1 => array(
18:           'var' => 'type',
19:           'type' => \TType::I32,
20:           ),
21:         2 => array(
22:           'var' => 'rows',
23:           'type' => \TType::LST,
24:           'etype' => \TType::STRUCT,
25:           'elem' => array(
26:             'type' => \TType::STRUCT,
27:             'class' => '\cassandra\CqlRow',
28:             ),
29:           ),
30:         3 => array(
31:           'var' => 'num',
32:           'type' => \TType::I32,
33:           ),
34:         4 => array(
35:           'var' => 'schema',
36:           'type' => \TType::STRUCT,
37:           'class' => '\cassandra\CqlMetadata',
38:           ),
39:         );
40:     }
41:     if (is_array($vals)) {
42:       parent::__construct(self::$_TSPEC, $vals);
43:     }
44:   }
45: 
46:   public function getName() {
47:     return 'CqlResult';
48:   }
49: 
50:   public function read($input)
51:   {
52:     return $this->_read('CqlResult', self::$_TSPEC, $input);
53:   }
54:   public function write($output) {
55:     return $this->_write('CqlResult', self::$_TSPEC, $output);
56:   }
57: }
58: 
59: 
60: ?>
61: 
phpcassa API documentation generated by ApiGen 2.8.0