def hgetall(self, name):
with self.pipe as pipe:<EOL><INDENT>f = Future()<EOL>res = pipe.hgetall(self.redis_key(name))<EOL>def cb():<EOL><INDENT>data = {}<EOL>m_decode = self.memberparse.decode<EOL>v_decode = self._value_decode<EOL>for k, v in res.result.items():<EOL><INDENT>k = m_decode(k)<EOL>v = v_decode(k, v)<EOL>data[k] = v<EOL><DEDENT>f.set(data)<EOL><DEDENT>pipe.on_execute(cb)<EOL>return f<EOL><DEDENT>
Returns all the fields and values in the Hash.

:param name: str     the name of the redis key
:return: Future()