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

  • Fetch
  • Response

Class Response

Container for a response for receiving data back from a Search request on Riak

Basho\Riak\Command\Response
Extended by Basho\Riak\Command\Search\Response
Namespace: Basho\Riak\Command\Search
Author: Christopher Mancini
Located at Riak/Command/Search/Response.php

Methods summary

public
# __construct( boolean|true $success = true, integer $code = 0, string $message = '', integer $numFound = 0, Basho\Riak\Search\Doc[] $docs = [] )

Response constructor.

Response constructor.

Parameters

$success
$code
$message
$numFound
$docs

Overrides

Basho\Riak\Command\Response::__construct
public integer
# getNumFound( )

Returns

integer
public Basho\Riak\Search\Doc[]
# getDocs( )

Returns

Basho\Riak\Search\Doc[]

Methods inherited from Basho\Riak\Command\Response

getCode(), getMessage(), isNotFound(), isSuccess(), isUnauthorized()

Properties summary

protected integer $numFound
# 0
protected Basho\Riak\Search\Doc[] $docs
# []

Properties inherited from Basho\Riak\Command\Response

$code, $message, $success

Official Riak Client for PHP API documentation generated by ApiGen