Overview

Namespaces

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

Classes

  • IndexClause
  • IndexExpression
  • Overview
  • Namespace
  • Class
  • Tree
 1: <?php
 2: namespace phpcassa\Index;
 3: 
 4: use phpcassa\ColumnFamily;
 5: 
 6: /**
 7:  * @package phpcassa\Index
 8:  */
 9: class IndexClause extends \cassandra\IndexClause {
10: 
11:     /**
12:      * Constructs an index clause for use with get_indexed_slices().
13:      *
14:      * @param phpcassa\Index\IndexExpression[] $expr_list the list of expressions
15:      *        to match; at least one of these must be on an indexed column
16:      * @param mixed $start_key the key to begin searching from
17:      * @param int $count the number of results to return
18:      */
19:     public function __construct($expr_list, $start_key='',
20:                                 $count=ColumnFamily::DEFAULT_ROW_COUNT) {
21:         parent::__construct();
22:         $this->expressions = $expr_list;
23:         $this->start_key = $start_key;
24:         $this->count = $count;
25:     }
26: }
27: 
phpcassa API documentation generated by ApiGen 2.8.0