1DBM::Deep::Iterator::FiUlsee:r:BCuocnktertiLbiustte(d3D)PBeMr:l:DDeoecpu:m:eIntteartaitoonr::File::BucketList(3)
2
3
4

NAME

6       DBM::Deep::Iterator::BucketList - mediate between DBM::Deep::Iterator
7       and DBM::Deep::Engine::Sector::BucketList
8

PURPOSE

10       This is an internal-use-only object for DBM::Deep. It acts as the
11       mediator between the DBM::Deep::Iterator object and a
12       DBM::Deep::Engine::Sector::BucketList sector.
13

OVERVIEW

15       This object, despite the implied class hierarchy, does NOT inherit from
16       DBM::Deep::Iterator. Instead, it delegates to it, essentially acting as
17       a facade over it. "get_next_key" in DBM::Deep::Iterator will
18       instantiate one of these objects as needed to handle an BucketList
19       sector.
20

METHODS

22   new(\%params)
23       The constructor takes a hashref of params and blesses it into the
24       invoking class. The hashref is assumed to have the following elements:
25
26       •   iterator (of type DBM::Deep::Iterator
27
28       •   sector (of type DBM::Deep::Engine::Sector::BucketList
29
30   at_end()
31       This takes no arguments.
32
33       This returns true/false indicating whether this sector has any more
34       elements that can be iterated over.
35
36   get_next_iterator()
37       This takes no arguments.
38
39       This returns the next key pointed to by this bucketlist. This value is
40       suitable for returning by FIRSTKEY or NEXTKEY().
41
42       If the bucketlist is exhausted, it returns nothing.
43
44
45
46perl v5.32.1                      2021-D0B1M-:2:7Deep::Iterator::File::BucketList(3)
Impressum