def get_result(self):
    res = self.query_fut.get_result()
    if ((res != None) and (len(res) > 0)):
        return res[0]
    else:
        return None
def get_result(self):
    res = self.query_fut.get_result()
    if ((res != None) and (len(res) > 0)):
        return res[0]
    else:
        return None