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

  • Counter
  • Map
  • Set

Exceptions

  • Exception

Class Map

Data structure for map crdt

Basho\Riak\DataType
Extended by Basho\Riak\DataType\Map
Namespace: Basho\Riak\DataType
Author: Christopher Mancini
Located at Riak/DataType/Map.php

Methods summary

public
# __construct( array $data, $context )

Parameters

$data
$context
public string
# getRegister( $key )

Parameters

$key

Returns

string
protected
# getDataByKey( $key, $type )
protected string
# getCompKey( $key, $type )

Fetches the composite key used with

Fetches the composite key used with

Parameters

$key
$type

Returns

string
public boolean
# getFlag( $key )

Parameters

$key

Returns

boolean
public Basho\Riak\DataType\Counter
# getCounter( $key )

Parameters

$key

Returns

Basho\Riak\DataType\Counter
public Basho\Riak\DataType\Set
# getSet( $key )

Parameters

$key

Returns

Basho\Riak\DataType\Set
public Basho\Riak\DataType\Map
# getMap( $key )

Parameters

$key

Returns

Basho\Riak\DataType\Map
public
# getContext( )

Methods inherited from Basho\Riak\DataType

getType()

Constants summary

string FLAG

Used within a composite key to identify a flag (bool) element

Used within a composite key to identify a flag (bool) element

# 'flag'
string REGISTER

Used within a composite key to identify a register (string) element

Used within a composite key to identify a register (string) element

# 'register'

Constants inherited from Basho\Riak\DataType

TYPE

Properties summary

Properties inherited from Basho\Riak\DataType

$data

Official Riak Client for PHP API documentation generated by ApiGen