Overview

Namespaces

  • cassandra
  • None
  • PHP
  • phpcassa
    • Batch
    • Connection
    • Index
    • Iterator
    • Schema
      • DataType
    • Util
    • UUID

Classes

  • AuthenticationRequest
  • CassandraClient
  • CfDef
  • Column
  • ColumnDef
  • ColumnOrSuperColumn
  • ColumnParent
  • ColumnPath
  • Compression
  • ConsistencyLevel
  • CounterColumn
  • CounterSuperColumn
  • CqlMetadata
  • CqlPreparedResult
  • CqlResult
  • CqlResultType
  • CqlRow
  • Deletion
  • EndpointDetails
  • IndexClause
  • IndexExpression
  • IndexOperator
  • IndexType
  • KeyCount
  • KeyRange
  • KeySlice
  • KsDef
  • Mutation
  • SlicePredicate
  • SliceRange
  • SuperColumn
  • TokenRange

Interfaces

  • CassandraIf

Exceptions

  • AuthenticationException
  • AuthorizationException
  • InvalidRequestException
  • NotFoundException
  • SchemaDisagreementException
  • TimedOutException
  • UnavailableException
  • Overview
  • Namespace
  • Class
  • Tree
  1: <?php
  2: /**
  3:  *  @generated
  4:  */
  5: namespace cassandra;
  6: class CfDef extends \TBase {
  7:   static $_TSPEC;
  8: 
  9:   public $keyspace = null;
 10:   public $name = null;
 11:   public $column_type = "Standard";
 12:   public $comparator_type = "BytesType";
 13:   public $subcomparator_type = null;
 14:   public $comment = null;
 15:   public $read_repair_chance = null;
 16:   public $column_metadata = null;
 17:   public $gc_grace_seconds = null;
 18:   public $default_validation_class = null;
 19:   public $id = null;
 20:   public $min_compaction_threshold = null;
 21:   public $max_compaction_threshold = null;
 22:   public $replicate_on_write = null;
 23:   public $key_validation_class = null;
 24:   public $key_alias = null;
 25:   public $compaction_strategy = null;
 26:   public $compaction_strategy_options = null;
 27:   public $compression_options = null;
 28:   public $bloom_filter_fp_chance = null;
 29:   public $caching = "keys_only";
 30:   public $dclocal_read_repair_chance = 0;
 31:   public $row_cache_size = null;
 32:   public $key_cache_size = null;
 33:   public $row_cache_save_period_in_seconds = null;
 34:   public $key_cache_save_period_in_seconds = null;
 35:   public $memtable_flush_after_mins = null;
 36:   public $memtable_throughput_in_mb = null;
 37:   public $memtable_operations_in_millions = null;
 38:   public $merge_shards_chance = null;
 39:   public $row_cache_provider = null;
 40:   public $row_cache_keys_to_save = null;
 41: 
 42:   public function __construct($vals=null) {
 43:     if (!isset(self::$_TSPEC)) {
 44:       self::$_TSPEC = array(
 45:         1 => array(
 46:           'var' => 'keyspace',
 47:           'type' => \TType::STRING,
 48:           ),
 49:         2 => array(
 50:           'var' => 'name',
 51:           'type' => \TType::STRING,
 52:           ),
 53:         3 => array(
 54:           'var' => 'column_type',
 55:           'type' => \TType::STRING,
 56:           ),
 57:         5 => array(
 58:           'var' => 'comparator_type',
 59:           'type' => \TType::STRING,
 60:           ),
 61:         6 => array(
 62:           'var' => 'subcomparator_type',
 63:           'type' => \TType::STRING,
 64:           ),
 65:         8 => array(
 66:           'var' => 'comment',
 67:           'type' => \TType::STRING,
 68:           ),
 69:         12 => array(
 70:           'var' => 'read_repair_chance',
 71:           'type' => \TType::DOUBLE,
 72:           ),
 73:         13 => array(
 74:           'var' => 'column_metadata',
 75:           'type' => \TType::LST,
 76:           'etype' => \TType::STRUCT,
 77:           'elem' => array(
 78:             'type' => \TType::STRUCT,
 79:             'class' => '\cassandra\ColumnDef',
 80:             ),
 81:           ),
 82:         14 => array(
 83:           'var' => 'gc_grace_seconds',
 84:           'type' => \TType::I32,
 85:           ),
 86:         15 => array(
 87:           'var' => 'default_validation_class',
 88:           'type' => \TType::STRING,
 89:           ),
 90:         16 => array(
 91:           'var' => 'id',
 92:           'type' => \TType::I32,
 93:           ),
 94:         17 => array(
 95:           'var' => 'min_compaction_threshold',
 96:           'type' => \TType::I32,
 97:           ),
 98:         18 => array(
 99:           'var' => 'max_compaction_threshold',
100:           'type' => \TType::I32,
101:           ),
102:         24 => array(
103:           'var' => 'replicate_on_write',
104:           'type' => \TType::BOOL,
105:           ),
106:         26 => array(
107:           'var' => 'key_validation_class',
108:           'type' => \TType::STRING,
109:           ),
110:         28 => array(
111:           'var' => 'key_alias',
112:           'type' => \TType::STRING,
113:           ),
114:         29 => array(
115:           'var' => 'compaction_strategy',
116:           'type' => \TType::STRING,
117:           ),
118:         30 => array(
119:           'var' => 'compaction_strategy_options',
120:           'type' => \TType::MAP,
121:           'ktype' => \TType::STRING,
122:           'vtype' => \TType::STRING,
123:           'key' => array(
124:             'type' => \TType::STRING,
125:           ),
126:           'val' => array(
127:             'type' => \TType::STRING,
128:             ),
129:           ),
130:         32 => array(
131:           'var' => 'compression_options',
132:           'type' => \TType::MAP,
133:           'ktype' => \TType::STRING,
134:           'vtype' => \TType::STRING,
135:           'key' => array(
136:             'type' => \TType::STRING,
137:           ),
138:           'val' => array(
139:             'type' => \TType::STRING,
140:             ),
141:           ),
142:         33 => array(
143:           'var' => 'bloom_filter_fp_chance',
144:           'type' => \TType::DOUBLE,
145:           ),
146:         34 => array(
147:           'var' => 'caching',
148:           'type' => \TType::STRING,
149:           ),
150:         37 => array(
151:           'var' => 'dclocal_read_repair_chance',
152:           'type' => \TType::DOUBLE,
153:           ),
154:         9 => array(
155:           'var' => 'row_cache_size',
156:           'type' => \TType::DOUBLE,
157:           ),
158:         11 => array(
159:           'var' => 'key_cache_size',
160:           'type' => \TType::DOUBLE,
161:           ),
162:         19 => array(
163:           'var' => 'row_cache_save_period_in_seconds',
164:           'type' => \TType::I32,
165:           ),
166:         20 => array(
167:           'var' => 'key_cache_save_period_in_seconds',
168:           'type' => \TType::I32,
169:           ),
170:         21 => array(
171:           'var' => 'memtable_flush_after_mins',
172:           'type' => \TType::I32,
173:           ),
174:         22 => array(
175:           'var' => 'memtable_throughput_in_mb',
176:           'type' => \TType::I32,
177:           ),
178:         23 => array(
179:           'var' => 'memtable_operations_in_millions',
180:           'type' => \TType::DOUBLE,
181:           ),
182:         25 => array(
183:           'var' => 'merge_shards_chance',
184:           'type' => \TType::DOUBLE,
185:           ),
186:         27 => array(
187:           'var' => 'row_cache_provider',
188:           'type' => \TType::STRING,
189:           ),
190:         31 => array(
191:           'var' => 'row_cache_keys_to_save',
192:           'type' => \TType::I32,
193:           ),
194:         );
195:     }
196:     if (is_array($vals)) {
197:       parent::__construct(self::$_TSPEC, $vals);
198:     }
199:   }
200: 
201:   public function getName() {
202:     return 'CfDef';
203:   }
204: 
205:   public function read($input)
206:   {
207:     return $this->_read('CfDef', self::$_TSPEC, $input);
208:   }
209:   public function write($output) {
210:     return $this->_write('CfDef', self::$_TSPEC, $output);
211:   }
212: }
213: 
214: 
215: ?>
216: 
phpcassa API documentation generated by ApiGen 2.8.0