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

  • DeleteObject
  • FetchBucketProperties
  • FetchCounter
  • FetchMap
  • FetchObject
  • FetchPreflist
  • FetchSet
  • FetchStats
  • IncrementCounter
  • Ping
  • QueryIndex
  • SetBucketProperties
  • StoreObject
  • UpdateMap
  • UpdateSet

Traits

  • BucketTrait
  • IndexTrait
  • LocationTrait
  • ObjectTrait

Exceptions

  • Exception

Class UpdateMap

Basho\Riak\Command\Builder
Extended by Basho\Riak\Command\Builder\UpdateMap implements Basho\Riak\Command\BuilderInterface uses Basho\Riak\Command\Builder\LocationTrait
Namespace: Basho\Riak\Command\Builder
Author: Christopher Mancini
Located at Riak/Command/Builder/UpdateMap.php

Methods summary

public
# removeRegister( $key )
protected
# remove( $key, $type )
public
# removeFlag( $key )
public
# removeCounter( $key )
public
# removeSet( $key )
public
# removeMap( $key )
public
# updateRegister( $key, $value )

Parameters

$key
$value

Returns


$this
protected
# update( $key, $type, $value )
public
# updateFlag( $key, boolean $state = TRUE )

Parameters

$key
$state

Returns


$this
public
# updateCounter( $key, Basho\Riak\Command\Builder\IncrementCounter $builder )

Parameters

$key
$builder

Returns


$this
public
# updateSet( $key, Basho\Riak\Command\Builder\UpdateSet $builder )

Parameters

$key
$builder

Returns


$this
public
# updateMap( $key, Basho\Riak\Command\Builder\UpdateMap $builder )

Parameters

$key
$builder

Returns


$this
public
# withContext( $context )

Parameters

$context

Returns


$this
public Basho\Riak\Command\DataType\Map\Store
# build( )

Command build

Command build

Returns

Basho\Riak\Command\DataType\Map\Store

Implementation of

Basho\Riak\Command\BuilderInterface::build()
public boolean
# validate( )

Validate command

Validate command

Returns

boolean

Throws

Builder\Exception

Overrides

Basho\Riak\Command\Builder::validate
public
# getRemove( )
public array
# getRegisters( )

Returns

array
public array
# getFlags( )

Returns

array
public Basho\Riak\Command\Builder\IncrementCounter[]
# getCounters( )

Returns

Basho\Riak\Command\Builder\IncrementCounter[]
public Basho\Riak\Command\Builder\UpdateSet[]
# getSets( )

Returns

Basho\Riak\Command\Builder\UpdateSet[]
public Basho\Riak\Command\Builder\UpdateMap[]
# getMaps( )

Returns

Basho\Riak\Command\Builder\UpdateMap[]
public string
# getContext( )

getContext

getContext

Returns

string

Methods inherited from Basho\Riak\Command\Builder

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

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

atLocation(), buildLocation(), getLocation()

Constants summary

Constants inherited from Basho\Riak\Command\BuilderInterface

COMMAND

Properties summary

protected array $remove
# []
protected array $registers
# []
protected array $flags
# []
protected Basho\Riak\Command\Builder\IncrementCounter[] $counters
# []
protected Basho\Riak\Command\Builder\UpdateSet[] $sets
# []
protected Basho\Riak\Command\Builder\UpdateMap[] $maps
# []
protected string $context

Similar to Vector Clocks, the context allows us to determine the state of a CRDT Set

Similar to Vector Clocks, the context allows us to determine the state of a CRDT Set

# ''

Properties inherited from Basho\Riak\Command\Builder

$headers, $parameters, $riak, $verbose

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

$location

Official Riak Client for PHP API documentation generated by ApiGen