How to Get all values from a bitmap in Redis?
<p>I have a bitmap which is stored across time frame. Say if a user request comes for a minute I will set the bit to 1. Now I want the full bitmap array in redis to know the user pattern. </p>

<p>I will do something like this. Where 5 and 10 are minutes. </p>

<pre><code>setbit userpattern 5 1
setbit userpattern 10 1
</code></pre>

<p>I need something like this</p>

<pre><code>getallbits user pattern 
0000100001 -&gt; result
</code></pre>

<p>Do i have any commands to get all the bit values in redis. If not, is there any other possible way in redis to address this scenario.</p>