IndexingTaskStatusResponseHandler

Implements \DruidFamiliar\Interfaces\IDruidQueryResponseHandler

package

Default

Methods

Hook function to parse the task status from the response from server.

handleResponse(\Guzzle\Http\Message\Response $response) : \PhpDruidIngest\QueryResponse\IndexingTaskStatusQueryResponse|mixed

This hook must return the response, whether changed or not, so that the rest of the system can continue with it.

throws

Arguments

$response

\Guzzle\Http\Message\Response

Response

\PhpDruidIngest\QueryResponse\IndexingTaskStatusQueryResponse|mixed