public function __construct($vals = null)
 {
     if (!isset(self::$_TSPEC)) {
         self::$_TSPEC = array(1 => array('var' => 'name', 'type' => TType::STRING), 2 => array('var' => 'in_memory', 'type' => TType::BOOL), 3 => array('var' => 'replication', 'type' => TType::I16), 4 => array('var' => 'blocksize', 'type' => TType::I32), 5 => array('var' => 'compressor', 'type' => TType::STRING), 6 => array('var' => 'bloom_filter', 'type' => TType::STRING), 7 => array('var' => 'columns', 'type' => TType::LST, 'etype' => TType::STRUCT, 'elem' => array('type' => TType::STRUCT, 'class' => 'Hypertable_ThriftGen_ColumnFamily')));
     }
     if (is_array($vals)) {
         if (isset($vals['name'])) {
             $this->name = $vals['name'];
         }
         if (isset($vals['in_memory'])) {
             $this->in_memory = $vals['in_memory'];
         }
         if (isset($vals['replication'])) {
             $this->replication = $vals['replication'];
         }
         if (isset($vals['blocksize'])) {
             $this->blocksize = $vals['blocksize'];
         }
         if (isset($vals['compressor'])) {
             $this->compressor = $vals['compressor'];
         }
         if (isset($vals['bloom_filter'])) {
             $this->bloom_filter = $vals['bloom_filter'];
         }
         if (isset($vals['columns'])) {
             $this->columns = $vals['columns'];
         }
     }
 }