1 package DBM::Deep::Iterator::BucketList;
6 use warnings FATAL => 'all';
9 my $self = bless $_[1] => $_[0];
10 $self->{curr_index} = 0;
16 return $self->{curr_index} >= $self->{iterator}{engine}->max_buckets;
22 return if $self->at_end;
24 my $idx = $self->{curr_index}++;
26 my $data_loc = $self->{sector}->get_data_location_for({
31 #XXX Do we want to add corruption checks here?
32 return $self->{sector}->get_key_for( $idx )->data;