GDS\Gateway\RESTv1::applyPartition PHP Method

applyPartition() private method

Apply project and namespace to a query
private applyPartition ( stdClass $obj_request ) : stdClass
$obj_request stdClass
return stdClass
    private function applyPartition(\stdClass $obj_request)
    {
        $obj_request->partitionId = (object) ['projectId' => $this->str_dataset_id];
        if (null !== $this->str_namespace) {
            $obj_request->partitionId->namespaceId = $this->str_namespace;
        }
        return $obj_request;
    }