Provides batch part functionality
| package | ArangoDBClient |
|---|---|
| since | 1.1 |
__construct(\ArangoDBClient\Batch $batch, mixed $id, mixed $type, mixed $request, mixed $response, mixed $options)
\ArangoDBClient\Batchthe batch object, that this part belongs to
mixedThe id of the batch part. TMust be unique and wil be passed to the server in the content-id header
mixedThe type of the request. This is to distinguish the different request type in order to return correct results.
mixedThe request string
mixedThe response string
mixedoptional, options like sanitize, that can be passed to the request/response handler.
getHttpCode() : integer
integergetId() : mixed
mixedgetProcessedResponse() : mixed
..n) or its id (if it was set with nextBatchPartId($id) )
\ArangoDBClient\ClientException |
|---|
mixed$partIdgetRequest() : array
arraygetResponse() : \ArangoDBClient\HttpResponse
\ArangoDBClient\HttpResponsegetType() : mixed
mixedsetBatch(\ArangoDBClient\Batch $batch) : \ArangoDBClient\BatchPart
\ArangoDBClient\Batch
\ArangoDBClient\BatchPartsetDocumentClass(string $class) : \ArangoDBClient\DocumentClassable
stringDocument class to use
\ArangoDBClient\DocumentClassablesetEdgeClass(string $class) : \ArangoDBClient\DocumentClassable
stringEdge class to use
\ArangoDBClient\DocumentClassablesetId(mixed $id) : \ArangoDBClient\BatchPart
mixed
\ArangoDBClient\BatchPartsetRequest(mixed $request) : \ArangoDBClient\BatchPart
mixed
\ArangoDBClient\BatchPartsetResponse(mixed $response) : \ArangoDBClient\BatchPart
mixed
\ArangoDBClient\BatchPartsetType(mixed $type) : \ArangoDBClient\BatchPart
mixed
\ArangoDBClient\BatchPartgetCursorOptions() : 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