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

Trait BucketTrait

Allows easy code sharing for Bucket getters / setters within the Command Builders

Direct Known Users

Basho\Riak\Command\Builder\FetchBucketProperties, Basho\Riak\Command\Builder\LocationTrait, Basho\Riak\Command\Builder\QueryIndex, Basho\Riak\Command\Builder\SetBucketProperties

Indirect Known Users

Basho\Riak\Command\Builder\Search\AssociateIndex, Basho\Riak\Command\Builder\Search\DissociateIndex

Namespace: Basho\Riak\Command\Builder
Author: Christopher Mancini
Located at Riak/Command/Builder/BucketTrait.php

Methods summary

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

Gets the Bucket object

Gets the Bucket object

Returns

Basho\Riak\Bucket|null
public
# buildBucket( $name, string $type = 'default' )

Build a Bucket object to be added to the Command

Build a Bucket object to be added to the Command

Parameters

$name
$type

Returns


$this
public
# inBucket( Basho\Riak\Bucket $bucket )

Attach the provided Bucket to the Command

Attach the provided Bucket to the Command

Parameters

$bucket

Returns


$this

Properties summary

protected Basho\Riak\Bucket|null $bucket

Stores the Bucket object

Stores the Bucket object

# NULL
Official Riak Client for PHP API documentation generated by ApiGen