class Sparkey::HashIterator
Public Class Methods
new(hash_reader)
click to toggle source
Calls superclass method
Sparkey::LogIterator::new
# File lib/sparkey/hash_iterator.rb, line 2 def initialize(hash_reader) @hash_reader = hash_reader super @hash_reader.log_reader end
Public Instance Methods
next()
click to toggle source
# File lib/sparkey/hash_iterator.rb, line 8 def next handle_status Sparkey::Native.logiter_hashnext(@log_iter_ptr, @hash_reader.ptr) end