title: How to use SCAN commands in Jedis
body: <p>I was using redis and <a href="https://github.com/xetorthio/jedis" rel="noreferrer">jedis</a> for quite some time and never needed the SCAN commands so far. Now however I need to use the <a href="http://redis.io/commands/scan" rel="noreferrer">SCAN</a> commands, particularly hscan. I understand how it works on the redis level, but the jedis Java wrapper side is confusing to me. There are <code>ScanResults</code> and <code>ScanParameter</code> classes flowing around and I have no clear concept of how to use them properly. The documentation for this feature is non-existent or at least hard to find. Can anyone point out where to find decent examples of how to iterate over a hash using hscan with jedis?</p>
  
  <p>Sorry to have no code, but what I tried so far just makes no sense whatsoever.</p>