Riak
category |
Basho |
---|---|
author |
Riak team (https://github.com/basho/riak-php-client/contributors) |
__construct(string $host = '127.0.0.1', int $port = 8098, string $prefix = 'riak', string $mapred_prefix = 'mapred')
string
int
string
string
getR() : integer
Default: 2
integer
setR(integer $r) : $this
This value will be used for any calls to get(...) or getBinary(...) where 1) no R-value is specified in the method call and 2) no R-value has been set in the Bucket.
integer
$this
getW() : integer
Default: 2
integer
setW(integer $w) : $this
See setR(...) for a description of how these values are used.
integer
$this
getDW() : integer
Default: 2
integer
setDW(integer $dw) : $this
See setR(...) for a description of how these values are used.
integer
$this
getClientID() : string
string
setClientID($clientid) : $this
Should not be called unless you know what you are doing.
$this
bucket($name) : \Basho\Riak\Bucket
Since buckets always exist, this will always return a Bucket.
\Basho\Riak\Bucket
buckets() : \Basho\Riak\array()
\Basho\Riak\array()
of Bucket objects
isAlive() : boolean
boolean
add($params) : \Basho\Riak\MapReduce
search($params) : \Basho\Riak\MapReduce
This command will return an error unless executed against a Riak Search cluster.
see | |
---|---|
\Basho\Riak\MapReduce
link($params)
see | |
---|---|
map($params)
see | |
---|---|
reduce($params)
see | |
---|---|