\triagens\ArangoDbBatchPart

Provides batch part functionality


Summary

Methods
Properties
Constants
setBatch()
setId()
getId()
setType()
getType()
setRequest()
getRequest()
setResponse()
getResponse()
getHttpCode()
getProcessedResponse()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
getCursorOptions()
$_cursorOptions
$_id
$_type
$_request
$_response
$_batch
N/A

Properties

$_cursorOptions

$_cursorOptions : array

An array of BatchPartCursor options

Type

array

$_id

$_id : array

An array of BatchPartCursor options

Type

array

$_type

$_type : array

An array of BatchPartCursor options

Type

array

$_request

$_request : array

An array of BatchPartCursor options

Type

array

$_response

$_response : array

An array of BatchPartCursor options

Type

array

Methods

setId()

setId(mixed $id) : \triagens\ArangoDb\Batch

Sets the id for the current batch part.

Parameters

mixed $id

Returns

\triagens\ArangoDb\Batch

setType()

setType(mixed $type) : \triagens\ArangoDb\Batch

Sets the type for the current batch part.

Parameters

mixed $type

Returns

\triagens\ArangoDb\Batch

getType()

getType() : \triagens\ArangoDb\Batch

Gets the type for the current batch part.

Returns

\triagens\ArangoDb\Batch

setRequest()

setRequest(mixed $request) : \triagens\ArangoDb\Batch

Sets the request for the current batch part.

Parameters

mixed $request

Returns

\triagens\ArangoDb\Batch

getRequest()

getRequest() : \triagens\ArangoDb\Batch

Gets the request for the current batch part.

Returns

\triagens\ArangoDb\Batch

setResponse()

setResponse(mixed $response) : \triagens\ArangoDb\Batch

Sets the response for the current batch part.

Parameters

mixed $response

Returns

\triagens\ArangoDb\Batch

getHttpCode()

getHttpCode() : integer

Gets the HttpCode for he current batch part.

Returns

integer

getProcessedResponse()

getProcessedResponse() : mixed

Get the batch part identified by the array key (0.

..n) or its id (if it was set with nextBatchPartId($id) )

Throws

\triagens\ArangoDb\ClientException

Returns

mixed —

$partId

getCursorOptions()

getCursorOptions() : array

Return an array of cursor options

Returns

array —
  • array of options