KiokuDB::Backend::Role::Scan
Root set iteration
- Provided by: libkiokudb-perl (Version: 0.57-1)
- Report a bug
Root set iteration
version 0.57
with qw(KiokuDB::Backend::Role::Scan);
sub all_entries {
my $self = shift;
# return all root set entries
return Data::Stream::Bulk::Foo->new(...);
}
This is a role for iterative scanning of all entries in a backend.
It is used for database backups, and various other tasks.
These method have default implementations defined in terms of "all_entries" but maybe overridden if there is a more optimal solution than just filtering that stream.
Yuval Kogman <nothingmuch@woobling.org>
This software is copyright (c) 2014 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.