1: <?php
2: 3: 4:
5: namespace cassandra;
6: class CqlPreparedResult extends \TBase {
7: static $_TSPEC;
8:
9: public $itemId = null;
10: public $count = null;
11: public $variable_types = null;
12:
13: public function __construct($vals=null) {
14: if (!isset(self::$_TSPEC)) {
15: self::$_TSPEC = array(
16: 1 => array(
17: 'var' => 'itemId',
18: 'type' => \TType::I32,
19: ),
20: 2 => array(
21: 'var' => 'count',
22: 'type' => \TType::I32,
23: ),
24: 3 => array(
25: 'var' => 'variable_types',
26: 'type' => \TType::LST,
27: 'etype' => \TType::STRING,
28: 'elem' => array(
29: 'type' => \TType::STRING,
30: ),
31: ),
32: );
33: }
34: if (is_array($vals)) {
35: parent::__construct(self::$_TSPEC, $vals);
36: }
37: }
38:
39: public function getName() {
40: return 'CqlPreparedResult';
41: }
42:
43: public function read($input)
44: {
45: return $this->_read('CqlPreparedResult', self::$_TSPEC, $input);
46: }
47: public function write($output) {
48: return $this->_write('CqlPreparedResult', self::$_TSPEC, $output);
49: }
50: }
51:
52:
53: ?>
54: