Iterate over the full range of the keys, calling the callback with values get from the accessor. ChunkSize influence the max number of values to get in one go with GetRange. Callback should have a signature: void(const T&, int32) Return false if it process nothing.