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