当前位置: 首页>>代码示例>>PHP>>正文


PHP TBase::__construct方法代码示例

本文整理汇总了PHP中TBase::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP TBase::__construct方法的具体用法?PHP TBase::__construct怎么用?PHP TBase::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在TBase的用法示例。


在下文中一共展示了TBase::__construct方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: __construct

 public function __construct($vals = null)
 {
     if (!isset(self::$_TSPEC)) {
         self::$_TSPEC = array(1 => array('var' => 'credentials', '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);
     }
 }
开发者ID:codewinguagua,项目名称:Cassandra-Cluster-Admin,代码行数:9,代码来源:cassandra.AuthenticationRequest.php

示例2: __construct

 public function __construct($vals = null)
 {
     if (!isset(self::$_TSPEC)) {
         self::$_TSPEC = array(0 => array('var' => 'success', 'type' => \TType::MAP, 'ktype' => \TType::STRING, 'vtype' => \TType::LST, 'key' => array('type' => \TType::STRING), 'val' => array('type' => \TType::LST, 'etype' => \TType::STRUCT, 'elem' => array('type' => \TType::STRUCT, 'class' => '\\cassandra\\ColumnOrSuperColumn'))), 1 => array('var' => 'ire', 'type' => \TType::STRUCT, 'class' => '\\cassandra\\InvalidRequestException'), 2 => array('var' => 'ue', 'type' => \TType::STRUCT, 'class' => '\\cassandra\\UnavailableException'), 3 => array('var' => 'te', 'type' => \TType::STRUCT, 'class' => '\\cassandra\\TimedOutException'));
     }
     if (is_array($vals)) {
         parent::__construct(self::$_TSPEC, $vals);
     }
 }
开发者ID:codewinguagua,项目名称:Cassandra-Cluster-Admin,代码行数:9,代码来源:cassandra.Cassandra_multiget_slice_result.php

示例3: __construct

 public function __construct($vals = null)
 {
     if (!isset(self::$_TSPEC)) {
         self::$_TSPEC = array(1 => array('var' => 'host', 'type' => \TType::STRING), 2 => array('var' => 'datacenter', 'type' => \TType::STRING), 3 => array('var' => 'rack', 'type' => \TType::STRING));
     }
     if (is_array($vals)) {
         parent::__construct(self::$_TSPEC, $vals);
     }
 }
开发者ID:codewinguagua,项目名称:Cassandra-Cluster-Admin,代码行数:9,代码来源:cassandra.EndpointDetails.php

示例4: __construct

 public function __construct($vals = null)
 {
     if (!isset(self::$_TSPEC)) {
         self::$_TSPEC = array(1 => array('var' => 'start', 'type' => \TType::STRING), 2 => array('var' => 'finish', 'type' => \TType::STRING), 3 => array('var' => 'reversed', 'type' => \TType::BOOL), 4 => array('var' => 'count', 'type' => \TType::I32));
     }
     if (is_array($vals)) {
         parent::__construct(self::$_TSPEC, $vals);
     }
 }
开发者ID:codewinguagua,项目名称:Cassandra-Cluster-Admin,代码行数:9,代码来源:cassandra.SliceRange.php

示例5: __construct

 public function __construct($vals = null)
 {
     if (!isset(self::$_TSPEC)) {
         self::$_TSPEC = array(1 => array('var' => 'auth_request', 'type' => \TType::STRUCT, 'class' => '\\cassandra\\AuthenticationRequest'));
     }
     if (is_array($vals)) {
         parent::__construct(self::$_TSPEC, $vals);
     }
 }
开发者ID:codewinguagua,项目名称:Cassandra-Cluster-Admin,代码行数:9,代码来源:cassandra.Cassandra_login_args.php

示例6: __construct

 public function __construct($vals = null)
 {
     if (!isset(self::$_TSPEC)) {
         self::$_TSPEC = array(1 => array('var' => 'name', 'type' => \TType::STRING), 2 => array('var' => 'columns', 'type' => \TType::LST, 'etype' => \TType::STRUCT, 'elem' => array('type' => \TType::STRUCT, 'class' => '\\cassandra\\Column')));
     }
     if (is_array($vals)) {
         parent::__construct(self::$_TSPEC, $vals);
     }
 }
开发者ID:codewinguagua,项目名称:Cassandra-Cluster-Admin,代码行数:9,代码来源:cassandra.SuperColumn.php

示例7: __construct

 public function __construct($vals = null)
 {
     if (!isset(self::$_TSPEC)) {
         self::$_TSPEC = array(1 => array('var' => 'column_or_supercolumn', 'type' => \TType::STRUCT, 'class' => '\\cassandra\\ColumnOrSuperColumn'), 2 => array('var' => 'deletion', 'type' => \TType::STRUCT, 'class' => '\\cassandra\\Deletion'));
     }
     if (is_array($vals)) {
         parent::__construct(self::$_TSPEC, $vals);
     }
 }
开发者ID:codewinguagua,项目名称:Cassandra-Cluster-Admin,代码行数:9,代码来源:cassandra.Mutation.php

示例8: __construct

 public function __construct($vals = null)
 {
     if (!isset(self::$_TSPEC)) {
         self::$_TSPEC = array(1 => array('var' => 'column_family', 'type' => \TType::STRING));
     }
     if (is_array($vals)) {
         parent::__construct(self::$_TSPEC, $vals);
     }
 }
开发者ID:codewinguagua,项目名称:Cassandra-Cluster-Admin,代码行数:9,代码来源:cassandra.Cassandra_system_drop_column_family_args.php

示例9: __construct

 public function __construct($vals = null)
 {
     if (!isset(self::$_TSPEC)) {
         self::$_TSPEC = array(1 => array('var' => 'svn_commit_id', 'type' => TType::STRING), 2 => array('var' => 'svn_dirty', 'type' => TType::STRING), 3 => array('var' => 'git_commit_id', 'type' => TType::STRING), 4 => array('var' => 'git_dirty', 'type' => TType::STRING), 5 => array('var' => 'git_tag', 'type' => TType::STRING), 6 => array('var' => 'build_time', 'type' => TType::STRING), 7 => array('var' => 'build_host', 'type' => TType::STRING), 8 => array('var' => 'build_user', 'type' => TType::STRING));
     }
     if (is_array($vals)) {
         parent::__construct(self::$_TSPEC, $vals);
     }
 }
开发者ID:wheatma,项目名称:react_study,代码行数:9,代码来源:release_info_types.php

示例10: __construct

 public function __construct($vals = null)
 {
     if (!isset(self::$_TSPEC)) {
         self::$_TSPEC = array(1 => array('var' => 'type', 'type' => \TType::I32), 2 => array('var' => 'rows', 'type' => \TType::LST, 'etype' => \TType::STRUCT, 'elem' => array('type' => \TType::STRUCT, 'class' => '\\cassandra\\CqlRow')), 3 => array('var' => 'num', 'type' => \TType::I32), 4 => array('var' => 'schema', 'type' => \TType::STRUCT, 'class' => '\\cassandra\\CqlMetadata'));
     }
     if (is_array($vals)) {
         parent::__construct(self::$_TSPEC, $vals);
     }
 }
开发者ID:codewinguagua,项目名称:Cassandra-Cluster-Admin,代码行数:9,代码来源:cassandra.CqlResult.php

示例11: __construct

 public function __construct($vals = null)
 {
     if (!isset(self::$_TSPEC)) {
         self::$_TSPEC = array(1 => array('var' => 'keyspace', 'type' => \TType::STRING), 2 => array('var' => 'name', 'type' => \TType::STRING), 3 => array('var' => 'column_type', 'type' => \TType::STRING), 5 => array('var' => 'comparator_type', 'type' => \TType::STRING), 6 => array('var' => 'subcomparator_type', 'type' => \TType::STRING), 8 => array('var' => 'comment', 'type' => \TType::STRING), 12 => array('var' => 'read_repair_chance', 'type' => \TType::DOUBLE), 13 => array('var' => 'column_metadata', 'type' => \TType::LST, 'etype' => \TType::STRUCT, 'elem' => array('type' => \TType::STRUCT, 'class' => '\\cassandra\\ColumnDef')), 14 => array('var' => 'gc_grace_seconds', 'type' => \TType::I32), 15 => array('var' => 'default_validation_class', 'type' => \TType::STRING), 16 => array('var' => 'id', 'type' => \TType::I32), 17 => array('var' => 'min_compaction_threshold', 'type' => \TType::I32), 18 => array('var' => 'max_compaction_threshold', 'type' => \TType::I32), 24 => array('var' => 'replicate_on_write', 'type' => \TType::BOOL), 26 => array('var' => 'key_validation_class', 'type' => \TType::STRING), 28 => array('var' => 'key_alias', 'type' => \TType::STRING), 29 => array('var' => 'compaction_strategy', 'type' => \TType::STRING), 30 => array('var' => 'compaction_strategy_options', 'type' => \TType::MAP, 'ktype' => \TType::STRING, 'vtype' => \TType::STRING, 'key' => array('type' => \TType::STRING), 'val' => array('type' => \TType::STRING)), 32 => array('var' => 'compression_options', 'type' => \TType::MAP, 'ktype' => \TType::STRING, 'vtype' => \TType::STRING, 'key' => array('type' => \TType::STRING), 'val' => array('type' => \TType::STRING)), 33 => array('var' => 'bloom_filter_fp_chance', 'type' => \TType::DOUBLE), 34 => array('var' => 'caching', 'type' => \TType::STRING), 37 => array('var' => 'dclocal_read_repair_chance', 'type' => \TType::DOUBLE), 9 => array('var' => 'row_cache_size', 'type' => \TType::DOUBLE), 11 => array('var' => 'key_cache_size', 'type' => \TType::DOUBLE), 19 => array('var' => 'row_cache_save_period_in_seconds', 'type' => \TType::I32), 20 => array('var' => 'key_cache_save_period_in_seconds', 'type' => \TType::I32), 21 => array('var' => 'memtable_flush_after_mins', 'type' => \TType::I32), 22 => array('var' => 'memtable_throughput_in_mb', 'type' => \TType::I32), 23 => array('var' => 'memtable_operations_in_millions', 'type' => \TType::DOUBLE), 25 => array('var' => 'merge_shards_chance', 'type' => \TType::DOUBLE), 27 => array('var' => 'row_cache_provider', 'type' => \TType::STRING), 31 => array('var' => 'row_cache_keys_to_save', 'type' => \TType::I32));
     }
     if (is_array($vals)) {
         parent::__construct(self::$_TSPEC, $vals);
     }
 }
开发者ID:codewinguagua,项目名称:Cassandra-Cluster-Admin,代码行数:9,代码来源:cassandra.CfDef.php

示例12: __construct

 public function __construct($vals = null)
 {
     if (!isset(self::$_TSPEC)) {
         self::$_TSPEC = array(1 => array('var' => 'name', 'type' => \TType::STRING), 2 => array('var' => 'strategy_class', 'type' => \TType::STRING), 3 => array('var' => 'strategy_options', 'type' => \TType::MAP, 'ktype' => \TType::STRING, 'vtype' => \TType::STRING, 'key' => array('type' => \TType::STRING), 'val' => array('type' => \TType::STRING)), 4 => array('var' => 'replication_factor', 'type' => \TType::I32), 5 => array('var' => 'cf_defs', 'type' => \TType::LST, 'etype' => \TType::STRUCT, 'elem' => array('type' => \TType::STRUCT, 'class' => '\\cassandra\\CfDef')), 6 => array('var' => 'durable_writes', 'type' => \TType::BOOL));
     }
     if (is_array($vals)) {
         parent::__construct(self::$_TSPEC, $vals);
     }
 }
开发者ID:codewinguagua,项目名称:Cassandra-Cluster-Admin,代码行数:9,代码来源:cassandra.KsDef.php

示例13: __construct

 public function __construct($vals = null)
 {
     if (!isset(self::$_TSPEC)) {
         self::$_TSPEC = array(1 => array('var' => 'column_parent', 'type' => \TType::STRUCT, 'class' => '\\cassandra\\ColumnParent'), 2 => array('var' => 'predicate', 'type' => \TType::STRUCT, 'class' => '\\cassandra\\SlicePredicate'), 3 => array('var' => 'range', 'type' => \TType::STRUCT, 'class' => '\\cassandra\\KeyRange'), 4 => array('var' => 'consistency_level', 'type' => \TType::I32));
     }
     if (is_array($vals)) {
         parent::__construct(self::$_TSPEC, $vals);
     }
 }
开发者ID:codewinguagua,项目名称:Cassandra-Cluster-Admin,代码行数:9,代码来源:cassandra.Cassandra_get_range_slices_args.php

示例14: __construct

 public function __construct($vals = null)
 {
     if (!isset(self::$_TSPEC)) {
         self::$_TSPEC = array(1 => array('var' => 'query', 'type' => \TType::STRING), 2 => array('var' => 'compression', 'type' => \TType::I32));
     }
     if (is_array($vals)) {
         parent::__construct(self::$_TSPEC, $vals);
     }
 }
开发者ID:codewinguagua,项目名称:Cassandra-Cluster-Admin,代码行数:9,代码来源:cassandra.Cassandra_execute_cql_query_args.php

示例15: __construct

 public function __construct($vals = null)
 {
     if (!isset(self::$_TSPEC)) {
         self::$_TSPEC = array(1 => array('var' => 'mutation_map', 'type' => \TType::MAP, 'ktype' => \TType::STRING, 'vtype' => \TType::MAP, 'key' => array('type' => \TType::STRING), 'val' => array('type' => \TType::MAP, 'ktype' => \TType::STRING, 'vtype' => \TType::LST, 'key' => array('type' => \TType::STRING), 'val' => array('type' => \TType::LST, 'etype' => \TType::STRUCT, 'elem' => array('type' => \TType::STRUCT, 'class' => '\\cassandra\\Mutation')))), 2 => array('var' => 'consistency_level', 'type' => \TType::I32));
     }
     if (is_array($vals)) {
         parent::__construct(self::$_TSPEC, $vals);
     }
 }
开发者ID:codewinguagua,项目名称:Cassandra-Cluster-Admin,代码行数:9,代码来源:cassandra.Cassandra_batch_mutate_args.php


注:本文中的TBase::__construct方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。