Query: kiokudb::set
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
KiokuDB::Set(3pm) User Contributed Perl Documentation KiokuDB::Set(3pm)NAMEKiokuDB::Set - Set::Object wrapper for KiokuDB with lazy loading.SYNOPSISuse KiokuDB::Util qw(set); my $set = set(); # KiokuDB::Set::Transient $set->insert($object); warn $set->size; my $id = $dir->store( $set );DESCRIPTIONThis role defines the API implemented by KiokuDB::Set::Transient, KiokuDB::Set::Deferred, and KiokuDB::Set::Loaded. These three classes are modeled after Set::Object, but have implementation details specific to KiokuDB. Transient Sets Transient sets are in memory, they are sets that have been constructed by the user for subsequent insertion into storage. When you create a new set, this is what you should use. KiokuDB::Util provides convenience functions ("set" in KiokuDB::Util and "weak_set" in KiokuDB::Util) to construct transient sets concisely. Deferred Sets When a set is loaded from the backend, it is deferred by default. This means that the objects inside the set are not yet loaded, and will be fetched only as needed. When set members are needed, the set is upgraded in place into a KiokuDB::Set::Loaded object. Loaded Sets This is the result of vivifying the members of a deferred set, and is similar to transient sets in implementation. perl v5.12.4 2011-06-27 KiokuDB::Set(3pm)
Related Man Pages |
---|
dbix::class::schema::kiokudb(3pm) - debian |
kiokudb::collapser(3pm) - debian |
kiokudb::entry(3pm) - debian |
kiokudb::typemap(3pm) - debian |
kiokudb::util(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
Installing Dash Shell on OS X Lion |
awk or sed - Convert 2 lines to 1 line |
Find columns in a file based on header and print to new file |
New UNIX and Linux History Sections |