Official Riak Client for PHP
  • Namespace
  • Class
  • Tree

Namespaces

  • Basho
    • Riak
      • Api
        • Http
          • Translator
      • Command
        • Bucket
        • Builder
          • MapReduce
          • Search
          • TimeSeries
        • DataType
          • Counter
          • Map
          • Set
        • Indexes
        • MapReduce
        • Object
        • Search
          • Index
          • Schema
        • Stats
        • TimeSeries
          • Query
      • DataType
      • Node
        • Builder
      • Search
      • TimeSeries

Classes

  • AssociateIndex
  • DeleteIndex
  • DissociateIndex
  • FetchIndex
  • FetchObjects
  • FetchSchema
  • StoreIndex
  • StoreSchema

Class DissociateIndex

Used to increment counter objects in Riak by the provided positive / negative integer

$command = (new Command\Builder\StoreObject($riak))
  ->buildObject('{"firstName":"John","lastName":"Doe","email":"johndoe@gmail.com"}')
  ->buildBucket('users')
  ->build();

$response = $command->execute($command);

$user_location = $response->getLocation();
Basho\Riak\Command\Builder
Extended by Basho\Riak\Command\Builder\SetBucketProperties implements Basho\Riak\Command\BuilderInterface uses Basho\Riak\Command\Builder\BucketTrait
Extended by Basho\Riak\Command\Builder\Search\DissociateIndex implements Basho\Riak\Command\BuilderInterface
Namespace: Basho\Riak\Command\Builder\Search
Author: Christopher Mancini
Located at Riak/Command/Builder/Search/DissociateIndex.php

Methods summary

public
# __construct( Basho\Riak $riak )

Overrides

Basho\Riak\Command\Builder::__construct

Methods inherited from Basho\Riak\Command\Builder\SetBucketProperties

build(), getProperties(), set(), validate()

Methods inherited from Basho\Riak\Command\Builder

getConnection(), getParameters(), getVerbose(), required(), withParameter(), withParameters(), withVerboseMode()

Methods used from Basho\Riak\Command\Builder\BucketTrait

buildBucket(), getBucket(), inBucket()

Constants summary

Constants inherited from Basho\Riak\Command\BuilderInterface

COMMAND

Properties summary

Properties inherited from Basho\Riak\Command\Builder\SetBucketProperties

$properties

Properties inherited from Basho\Riak\Command\Builder

$headers, $parameters, $riak, $verbose

Properties used from Basho\Riak\Command\Builder\BucketTrait

$bucket

Official Riak Client for PHP API documentation generated by ApiGen