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

VERSION

10       version 0.11
11

SYNOPSIS

13               return Data::Stream::Bulk::Array->new(
14                       array => \@results,
15               );
16

DESCRIPTION

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

ATTRIBUTES

26       array
27           The array reference to wrap.
28

METHODS

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

AUTHOR

48       Yuval Kogman <nothingmuch@woobling.org>
49
51       This software is copyright (c) 2012 by Yuval Kogman.
52
53       This is free software; you can redistribute it and/or modify it under
54       the same terms as the Perl 5 programming language system itself.
55
56
57
58perl v5.30.0                      2019-07-26      Data::Stream::Bulk::Array(3)
Impressum