How do I scan all records in a set?

How do I scan all records in a set?

There are times when you may want to get all the records in a set. The information for this can be found in the Aerospike Java Client documentation at - http://www.aerospike.com/docs/client/java/usage/scan/scan.html