Florian Ragwitz > KiokuDB-0.49 > KiokuDB::Backend::Role::Query::Simple::Linear

Download:
KiokuDB-0.49.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  2
View/Report Bugs
Source   Latest Release: KiokuDB-0.57

NAME ^

KiokuDB::Backend::Role::Query::Simple::Linear - Query::Simple implemented with a linear scan of all entries.

SYNOPSIS ^

    package MyBackend;
    use Moose;

    with qw(
        KiokuDB::Backend::Role::Scan
        KiokuDB::Backend::Role::Query::Simple::Linear
    );

DESCRIPTION ^

This role can provide a primitive search facility (the API described in KiokuDB::Backend::Role::Query::Simple) using the api provided by KiokuDB::Backend::Role::Scan. While very inefficient for large data sets, of your databases are small this can be useful.

syntax highlighting: