GDS\Gateway\ProtoBuf::applyNamespace PHP Méthode

applyNamespace() private méthode

Usually a Key or RunQueryRequest
private applyNamespace ( object $obj_target ) : mixed
$obj_target object
Résultat mixed
    private function applyNamespace($obj_target)
    {
        $obj_partition = $obj_target->mutablePartitionId();
        $obj_partition->setDatasetId($this->str_dataset_id);
        if (null !== $this->str_namespace) {
            $obj_partition->setNamespace($this->str_namespace);
        }
        return $obj_target;
    }