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 Bucket

Core data structure for a Riak Bucket.

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

Methods summary

public
# __construct( $name, string $type = self::DEFAULT_TYPE, array $properties = [] )

Parameters

$name
$type
$properties
public
# __toString( )
public string
# getNamespace( )

Bucket namespace

Bucket namespace

This is a human readable namespace for the bucket.

Returns

string
public string
# getName( )

Returns

string
public string
# getProperty( $key )

Parameters

$key

Returns

string
public array
# getProperties( )

Returns

array
public string
# getType( )

Returns

string

Constants summary

string DEFAULT_TYPE

The default bucket type in Riak.

The default bucket type in Riak.

# "default"

Properties summary

protected array $properties

Bucket properties

Bucket properties

# []
protected string $name

Name of bucket

Name of bucket

# ''
protected string $type

Buckets are grouped by type, inheriting the properties defined on the type

Buckets are grouped by type, inheriting the properties defined on the type

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