Provides batch part functionality
package | ArangoDBClient |
---|---|
since | 1.1 |
__construct(\ArangoDBClient\Batch $batch, mixed $id, mixed $type, mixed $request, mixed $response, mixed $options)
\ArangoDBClient\Batch
the batch object, that this part belongs to
mixed
The id of the batch part. TMust be unique and wil be passed to the server in the content-id header
mixed
The type of the request. This is to distinguish the different request type in order to return correct results.
mixed
The request string
mixed
The response string
mixed
optional, options like sanitize, that can be passed to the request/response handler.
getHttpCode() : integer
integer
getId() : mixed
mixed
getProcessedResponse() : mixed
..n) or its id (if it was set with nextBatchPartId($id) )
\ArangoDBClient\ClientException |
---|
mixed
$partIdgetRequest() : array
array
getResponse() : \ArangoDBClient\HttpResponse
\ArangoDBClient\HttpResponse
getType() : mixed
mixed
setBatch(\ArangoDBClient\Batch $batch) : \ArangoDBClient\BatchPart
\ArangoDBClient\Batch
\ArangoDBClient\BatchPart
setDocumentClass(string $class) : \ArangoDBClient\DocumentClassable
string
Document class to use
\ArangoDBClient\DocumentClassable
setEdgeClass(string $class) : \ArangoDBClient\DocumentClassable
string
Edge class to use
\ArangoDBClient\DocumentClassable
setId(mixed $id) : \ArangoDBClient\BatchPart
mixed
\ArangoDBClient\BatchPart
setRequest(mixed $request) : \ArangoDBClient\BatchPart
mixed
\ArangoDBClient\BatchPart
setResponse(mixed $response) : \ArangoDBClient\BatchPart
mixed
\ArangoDBClient\BatchPart
setType(mixed $type) : \ArangoDBClient\BatchPart
mixed
\ArangoDBClient\BatchPart
getCursorOptions() : array
array
- array of options$_documentClass : string
'\ArangoDBClient\Document'
$_edgeClass : string
'\ArangoDBClient\Edge'
$_batch : \ArangoDBClient\Batch
$_cursorOptions : array
array()
$_id : array
$_request : array
array()
$_response : \ArangoDBClient\HttpResponse
array()
$_type : array