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 TokenRange extends \TBase {
 7:   static $_TSPEC;
 8: 
 9:   public $start_token = null;
10:   public $end_token = null;
11:   public $endpoints = null;
12:   public $rpc_endpoints = null;
13:   public $endpoint_details = null;
14: 
15:   public function __construct($vals=null) {
16:     if (!isset(self::$_TSPEC)) {
17:       self::$_TSPEC = array(
18:         1 => array(
19:           'var' => 'start_token',
20:           'type' => \TType::STRING,
21:           ),
22:         2 => array(
23:           'var' => 'end_token',
24:           'type' => \TType::STRING,
25:           ),
26:         3 => array(
27:           'var' => 'endpoints',
28:           'type' => \TType::LST,
29:           'etype' => \TType::STRING,
30:           'elem' => array(
31:             'type' => \TType::STRING,
32:             ),
33:           ),
34:         4 => array(
35:           'var' => 'rpc_endpoints',
36:           'type' => \TType::LST,
37:           'etype' => \TType::STRING,
38:           'elem' => array(
39:             'type' => \TType::STRING,
40:             ),
41:           ),
42:         5 => array(
43:           'var' => 'endpoint_details',
44:           'type' => \TType::LST,
45:           'etype' => \TType::STRUCT,
46:           'elem' => array(
47:             'type' => \TType::STRUCT,
48:             'class' => '\cassandra\EndpointDetails',
49:             ),
50:           ),
51:         );
52:     }
53:     if (is_array($vals)) {
54:       parent::__construct(self::$_TSPEC, $vals);
55:     }
56:   }
57: 
58:   public function getName() {
59:     return 'TokenRange';
60:   }
61: 
62:   public function read($input)
63:   {
64:     return $this->_read('TokenRange', self::$_TSPEC, $input);
65:   }
66:   public function write($output) {
67:     return $this->_write('TokenRange', self::$_TSPEC, $output);
68:   }
69: }
70: 
71: 
72: ?>
73: 
phpcassa API documentation generated by ApiGen 2.8.0