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

  • Api
  • Bucket
  • Command
  • DataType
  • Location
  • Node
  • Object

Interfaces

  • ApiInterface
  • CommandInterface

Traits

  • HeadersTrait

Exceptions

  • Exception

Class Location

Immutable data structure storing the location of an Object or DataType

Namespace: Basho\Riak
Author: Christopher Mancini
Located at Riak/Location.php

Methods summary

public
# __construct( $key, Basho\Riak\Bucket $bucket )

Parameters

$key
$bucket
public static Basho\Riak\Location
# fromString( $location_string )

Generate an instance of the Location object using the Location header string value returned from Riak

Generate an instance of the Location object using the Location header string value returned from Riak

Parameters

$location_string

Returns

Basho\Riak\Location
public
# __toString( )
public Basho\Riak\Bucket|null
# getBucket( )

Returns

Basho\Riak\Bucket|null
public string
# getKey( )

Returns

string

Properties summary

protected string $key

Kv Object / CRDT key

Kv Object / CRDT key

# ''
protected Basho\Riak\Bucket|null $bucket
# NULL
Official Riak Client for PHP API documentation generated by ApiGen