Exemple #1
0
 public function __construct($vals = null)
 {
     if (!isset(self::$_TSPEC)) {
         self::$_TSPEC = array(1 => array('var' => 'family', 'type' => TType::STRING), 2 => array('var' => 'qualifier', 'type' => TType::STRING), 3 => array('var' => 'timestamp', 'type' => TType::I64));
     }
     if (is_array($vals)) {
         if (isset($vals['family'])) {
             $this->family = $vals['family'];
         }
         if (isset($vals['qualifier'])) {
             $this->qualifier = $vals['qualifier'];
         }
         if (isset($vals['timestamp'])) {
             $this->timestamp = $vals['timestamp'];
         }
     }
 }
Exemple #2
0
 public function __construct($vals = null)
 {
     if (!isset(self::$_TSPEC)) {
         self::$_TSPEC = array(1 => array('var' => 'boolVal', 'type' => TType::STRUCT, 'class' => '\\TBoolColumn'), 2 => array('var' => 'byteVal', 'type' => TType::STRUCT, 'class' => '\\TByteColumn'), 3 => array('var' => 'i16Val', 'type' => TType::STRUCT, 'class' => '\\TI16Column'), 4 => array('var' => 'i32Val', 'type' => TType::STRUCT, 'class' => '\\TI32Column'), 5 => array('var' => 'i64Val', 'type' => TType::STRUCT, 'class' => '\\TI64Column'), 6 => array('var' => 'doubleVal', 'type' => TType::STRUCT, 'class' => '\\TDoubleColumn'), 7 => array('var' => 'stringVal', 'type' => TType::STRUCT, 'class' => '\\TStringColumn'), 8 => array('var' => 'binaryVal', 'type' => TType::STRUCT, 'class' => '\\TBinaryColumn'));
     }
     if (is_array($vals)) {
         if (isset($vals['boolVal'])) {
             $this->boolVal = $vals['boolVal'];
         }
         if (isset($vals['byteVal'])) {
             $this->byteVal = $vals['byteVal'];
         }
         if (isset($vals['i16Val'])) {
             $this->i16Val = $vals['i16Val'];
         }
         if (isset($vals['i32Val'])) {
             $this->i32Val = $vals['i32Val'];
         }
         if (isset($vals['i64Val'])) {
             $this->i64Val = $vals['i64Val'];
         }
         if (isset($vals['doubleVal'])) {
             $this->doubleVal = $vals['doubleVal'];
         }
         if (isset($vals['stringVal'])) {
             $this->stringVal = $vals['stringVal'];
         }
         if (isset($vals['binaryVal'])) {
             $this->binaryVal = $vals['binaryVal'];
         }
     }
 }
Exemple #3
0
 public function __construct($vals = null)
 {
     if (!isset(self::$_TSPEC)) {
         self::$_TSPEC = array(1 => array('var' => 'columnName', 'type' => TType::STRING), 2 => array('var' => 'cell', 'type' => TType::STRUCT, 'class' => 'TCell'));
     }
     if (is_array($vals)) {
         if (isset($vals['columnName'])) {
             $this->columnName = $vals['columnName'];
         }
         if (isset($vals['cell'])) {
             $this->cell = $vals['cell'];
         }
     }
 }