PHP Class Basho\Riak\Command\Builder\QueryIndex

$command = (new Command\Builder\QueryIndex($riak)) ->buildBucket('users') ->withIndex('users_name', 'Knuth') ->build(); $response = $command->execute(); $index_results = $response->getIndexResults();
Inheritance: extends Basho\Riak\Command\Builder, implements Basho\Riak\Command\BuilderInterface, use trait Basho\Riak\Command\Builder\BucketTrait, use trait Basho\Riak\Command\Builder\IndexTrait
Show file Open project: basho/riak-php-client Class Usage Examples

Public Methods

Method Description
build ( ) : Basho\Riak\Command\Indexes\Query
validate ( )

Method Details

build() public method

public build ( ) : Basho\Riak\Command\Indexes\Query
return Basho\Riak\Command\Indexes\Query

validate() public method

public validate ( )