KiokuDB::Backend::Role::Query - Backend specific query API
version 0.56
with qw(KiokuDB::Backend::Role::Query); sub search { my ( $self, @args ) = @_; # return all entries in the root set matching @args (backend specific) return Data::Stream::Bulk::Foo->new(...); }
This role is for backend specific searching. Anything that is not KiokuDB::Backend::Role::Query::Simple is a backend specific search, be it a Search::GIN::Query, or something else.
The backend is expected to interpret the search arguments which are passed through from "search" in KiokuDB as is, and return a Data::Stream::Bulk of matching entries.
Yuval Kogman <nothingmuch@woobling.org>
This software is copyright (c) 2013 by Yuval Kogman, Infinity Interactive.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
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.