1Data::Stream::Bulk::ArrUasye(r3)Contributed Perl DocumenDtaattai:o:nStream::Bulk::Array(3)
2
3
4

NAME

6       Data::Stream::Bulk::Array - Data::Stream::Bulk wrapper for simple
7       arrays.
8

SYNOPSIS

10           return Data::Stream::Bulk::Array->new(
11               array => \@results,
12           );
13

DESCRIPTION

15       This implementation of the Data::Stream::Bulk api wraps an array.
16
17       The use case is to keep the consumer of the data set implementation
18       agnostic so that it can deal with larger data sets if they are
19       encountered, but still retain most of the simplicity when the current
20       data set easily fits in memory.
21

ATTRIBUTES

23   array
24       The array reference to wrap.
25

METHODS

27   next
28       Returns the array reference on the first invocation, and nothing
29       thereafter.
30
31   is_done
32       Returns true if "next" has been called.
33
34   list_cat
35       Squishes adjacent arrays into a new array.
36
37   filter $filter
38       Immediately applies $filter to the internal array and returns $self.
39
40   loaded
41       Returns true
42

AUTHOR

44       Yuval Kogman <nothingmuch@woobling.org>
45
47       This software is copyright (c) 2010 by Yuval Kogman.
48
49       This is free software; you can redistribute it and/or modify it under
50       the same terms as the Perl 5 programming language system itself.
51
52
53
54perl v5.12.1                      2010-08-24      Data::Stream::Bulk::Array(3)
Impressum