1: <?php
2: 3: 4:
5: namespace cassandra;
6: class ColumnPath extends \TBase {
7: static $_TSPEC;
8:
9: public $column_family = null;
10: public $super_column = null;
11: public $column = null;
12:
13: public function __construct($vals=null) {
14: if (!isset(self::$_TSPEC)) {
15: self::$_TSPEC = array(
16: 3 => array(
17: 'var' => 'column_family',
18: 'type' => \TType::STRING,
19: ),
20: 4 => array(
21: 'var' => 'super_column',
22: 'type' => \TType::STRING,
23: ),
24: 5 => array(
25: 'var' => 'column',
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 'ColumnPath';
37: }
38:
39: public function read($input)
40: {
41: return $this->_read('ColumnPath', self::$_TSPEC, $input);
42: }
43: public function write($output) {
44: return $this->_write('ColumnPath', self::$_TSPEC, $output);
45: }
46: }
47:
48:
49: ?>
50: