public function __construct($vals = null)
 {
     if (!isset(self::$_TSPEC)) {
         self::$_TSPEC = array(1 => array('var' => 'evt', 'type' => TType::STRUCT, 'class' => '\\ICANS\\Component\\IcansLoggingComponent\\Flume\\ThriftFlumeEvent'));
     }
     if (is_array($vals)) {
         parent::__construct(self::$_TSPEC, $vals);
     }
 }
 public function __construct($vals = null)
 {
     if (!isset(self::$_TSPEC)) {
         self::$_TSPEC = array(1 => array('var' => 'timestamp', 'type' => TType::I64), 2 => array('var' => 'priority', 'type' => TType::I32), 3 => array('var' => 'body', 'type' => TType::STRING), 4 => array('var' => 'nanos', 'type' => TType::I64), 5 => array('var' => 'host', 'type' => TType::STRING), 6 => array('var' => 'fields', 'type' => TType::MAP, 'ktype' => TType::STRING, 'vtype' => TType::STRING, 'key' => array('type' => TType::STRING), 'val' => array('type' => TType::STRING)));
     }
     if (is_array($vals)) {
         parent::__construct(self::$_TSPEC, $vals);
     }
 }
 public function __construct($vals = null)
 {
     if (!isset(self::$_TSPEC)) {
         self::$_TSPEC = array(0 => array('var' => 'success', 'type' => TType::LST, 'etype' => TType::STRING, 'elem' => array('type' => TType::STRING)));
     }
     if (is_array($vals)) {
         parent::__construct(self::$_TSPEC, $vals);
     }
 }
예제 #4
0
 public function __construct($vals = null)
 {
     if (!isset(self::$_TSPEC)) {
         self::$_TSPEC = array(1 => array('var' => 'key', 'type' => TType::STRING), 2 => array('var' => 'column_parent', 'type' => TType::STRUCT, 'class' => '\\cassandra\\ColumnParent'), 3 => array('var' => 'column_slices', 'type' => TType::LST, 'etype' => TType::STRUCT, 'elem' => array('type' => TType::STRUCT, 'class' => '\\cassandra\\ColumnSlice')), 4 => array('var' => 'reversed', 'type' => TType::BOOL), 5 => array('var' => 'count', 'type' => TType::I32), 6 => array('var' => 'consistency_level', 'type' => TType::I32));
     }
     if (is_array($vals)) {
         parent::__construct(self::$_TSPEC, $vals);
     }
 }
예제 #5
0
 public function __construct($vals = null)
 {
     if (!isset(self::$_TSPEC)) {
         self::$_TSPEC = array(0 => array('var' => 'success', 'type' => TType::STRUCT, 'class' => '\\Elasticsearch\\RestResponse'));
     }
     if (is_array($vals)) {
         parent::__construct(self::$_TSPEC, $vals);
     }
 }
예제 #6
0
 public function __construct($vals = null)
 {
     if (!isset(self::$_TSPEC)) {
         self::$_TSPEC = array(1 => array('var' => 'start_token', 'type' => TType::STRING), 2 => array('var' => 'end_token', 'type' => TType::STRING), 3 => array('var' => 'row_count', 'type' => TType::I64));
     }
     if (is_array($vals)) {
         parent::__construct(self::$_TSPEC, $vals);
     }
 }
예제 #7
0
 public function __construct($vals = null)
 {
     if (!isset(self::$_TSPEC)) {
         self::$_TSPEC = array(1 => array('var' => 'ire', 'type' => TType::STRUCT, 'class' => '\\cassandra\\InvalidRequestException'));
     }
     if (is_array($vals)) {
         parent::__construct(self::$_TSPEC, $vals);
     }
 }
예제 #8
0
 public function __construct($vals = null)
 {
     if (!isset(self::$_TSPEC)) {
         self::$_TSPEC = array(1 => array('var' => 'status', 'type' => TType::I32), 2 => array('var' => 'headers', 'type' => TType::MAP, 'ktype' => TType::STRING, 'vtype' => TType::STRING, 'key' => array('type' => TType::STRING), 'val' => array('type' => TType::STRING)), 3 => array('var' => 'body', 'type' => TType::STRING));
     }
     if (is_array($vals)) {
         parent::__construct(self::$_TSPEC, $vals);
     }
 }