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