Class FetchCounter
Used to fetch counter objects from Riak
$command = (new Command\Builder\FetchCounter($riak)) ->buildLocation($user_name, 'user_visit_count', 'visit_counters') ->build(); $response = $command->execute($command); $counter = $response->getCounter();
- Basho\Riak\Command\Builder
- Basho\Riak\Command\Builder\FetchCounter implements Basho\Riak\Command\BuilderInterface uses Basho\Riak\Command\Builder\LocationTrait
Namespace: Basho\Riak\Command\Builder
Author: Christopher Mancini
Located at Riak/Command/Builder/FetchCounter.php
Author: Christopher Mancini
Located at Riak/Command/Builder/FetchCounter.php
Methods summary
public
Basho\Riak\Command\DataType\Counter\Fetch;
|
|
public
boolean
|
Methods inherited from Basho\Riak\Command\Builder
__construct()
,
getConnection()
,
getParameters()
,
getVerbose()
,
required()
,
withParameter()
,
withParameters()
,
withVerboseMode()