def uuid_to_fq_name(self, id):
    try:
        return copy.copy(self._cache_uuid_to_fq_name[id][0])
    except KeyError:
        obj = self._cassandra_driver.get(datastore_api.OBJ_UUID_CF_NAME, id, columns=['fq_name', 'type'])
        if (not obj):
            raise NoIdError(id)
        if (('type' not in obj) or ('fq_name' not in obj)):
            raise NoIdError(id)
        fq_name = obj['fq_name']
        obj_type = obj['type']
        self.cache_uuid_to_fq_name_add(id, fq_name, obj_type)
        return copy.copy(fq_name)
def uuid_to_fq_name(self, id):
    try:
        return copy.copy(self._cache_uuid_to_fq_name[id][0])
    except KeyError:
        obj = self._cassandra_driver.get(datastore_api.OBJ_UUID_CF_NAME, id, columns=['fq_name', 'type'])
        if (not obj):
            raise NoIdError(id)
        if (('type' not in obj) or ('fq_name' not in obj)):
            raise NoIdError(id)
        fq_name = obj['fq_name']
        obj_type = obj['type']
        self.cache_uuid_to_fq_name_add(id, fq_name, obj_type)
        return copy.copy(fq_name)