KiokuDB::Resolver - Assigns UIDs as necessary to objects
use KiokuDB::Resolver; my $r = KiokuDB::Resolver->new( live_objects => $live_objects, ); my $id = $r->object_to_id($object);
This object wraps the live object set but also handles UID extraction and generation.
This is used during collapsing in order to provide IDs for unencountered objects.
This class may be superseded by the typemap in the future.
The underlying live object set.
Generates an ID for an object automatically.
Returns or assigns IDS to the given objects.
Delegates to insert. Called by objects_to_ids when new IDs have been generated.
insert
objects_to_ids
To install KiokuDB, copy and paste the appropriate command in to your terminal.
cpanm
cpanm KiokuDB
CPAN shell
perl -MCPAN -e shell install KiokuDB
For more information on module installation, please visit the detailed CPAN module installation guide.