debian man page for kiokudb::typemap

Query: kiokudb::typemap

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

KiokuDB::TypeMap(3pm)					User Contributed Perl Documentation				     KiokuDB::TypeMap(3pm)

NAME
KiokuDB::TypeMap - Class to collapsing/expanding logic.
SYNOPSIS
use KiokuDB::TypeMap; KiokuDB::TypeMap->new( entries => { 'Foo' => KiokuDB::TypeMap::Entry::Naive->new, }, isa_entries => { 'My::Class' => KiokuDB::TypeMap::Entry::Naive->new, }, includes => [ $typemap_foo, $typemap_bar, ], );
DESCRIPTION
The KiokuDB typemap maps classes to KiokuDB::TypeMap::Entry objects. The mapping is by class, and entries can be keyed normally (using "ref $object" equality) or by filtering on "$object->isa($class)" ("isa_entries").
ATTRIBUTES
entries A hash of normal entries. isa_entries A hash of "$object->isa" based entries. includes A list of parent typemaps to inherit entries from.
METHODS
resolve $class Given a class returns the "KiokuDB::TypeMap::Entry" object corresponding to that class. Called by KiokuDB::TypeMap::Resolver resolve_entry $entry If the entry is an alias, it will be resolved recursively, and simply returned otherwise. all_entries Returns the merged "entries" from this typemap and all the included typemaps. all_isa_entries Returns the merged "isa_entries" from this typemap and all the included typemaps. all_isa_entry_classes An array reference of all the classes in "all_isa_entries", sorted from least derived to most derived. perl v5.12.4 2010-10-11 KiokuDB::TypeMap(3pm)
Related Man Pages
dbix::class::schema::kiokudb(3pm) - debian
kiokudb::backend::role::txn::memory(3pm) - debian
kiokudb::liveobjects(3pm) - debian
kiokudb::typemap::entry::mop(3pm) - debian
kiokudb::util(3pm) - debian
Similar Topics in the Unix Linux Community
Naive Bayes Classifier for Detecting Spam in Posts