Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

data::stream::bulk::array(3pm) [debian man page]

Data::Stream::Bulk::Array(3pm)				User Contributed Perl Documentation			    Data::Stream::Bulk::Array(3pm)

NAME
Data::Stream::Bulk::Array - Data::Stream::Bulk wrapper for simple arrays. VERSION
version 0.11 SYNOPSIS
return Data::Stream::Bulk::Array->new( array => @results, ); DESCRIPTION
This implementation of the Data::Stream::Bulk api wraps an array. The use case is to keep the consumer of the data set implementation agnostic so that it can deal with larger data sets if they are encountered, but still retain most of the simplicity when the current data set easily fits in memory. ATTRIBUTES
array The array reference to wrap. METHODS
next Returns the array reference on the first invocation, and nothing thereafter. is_done Returns true if "next" has been called. list_cat Squishes adjacent arrays into a new array. filter $filter Immediately applies $filter to the internal array and returns $self. loaded Returns true AUTHOR
Yuval Kogman <nothingmuch@woobling.org> COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Yuval Kogman. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2012-02-14 Data::Stream::Bulk::Array(3pm)

Check Out this Related Man Page

Data::Stream::Bulk::DBI(3pm)				User Contributed Perl Documentation			      Data::Stream::Bulk::DBI(3pm)

NAME
Data::Stream::Bulk::DBI - N-at-a-time iteration of DBI statement results. VERSION
version 0.11 SYNOPSIS
use Data::Stream::Bulk::DBI; my $sth = $dbh->prepare("SELECT hate FROM sql"); # very big resultset $sth->execute; return Data::Stream::Bulk::DBI->new( sth => $sth, max_rows => $n, # how many at a time slice => [ ... ], # if you want to pass the first param to fetchall_arrayref ); DESCRIPTION
This implementation of Data::Stream::Bulk api works with DBI statement handles, using "fetchall_arrayref" in DBI. It fetches "max_rows" at a time (defaults to 500). ATTRIBUTES
sth The statement handle to call "fetchall_arrayref" on. slice Passed verbatim as the first param to "fetchall_arrayref". Should usually be "undef", provided for completetness. max_rows The second param to "fetchall_arrayref". Controls the size of each buffer. Defaults to 500. METHODS
get_more See Data::Stream::Bulk::DoneFlag. Calls "fetchall_arrayref" to get the next chunk of rows. all Calls "fetchall_arrayref" to get the raminder of the data (without specifying "max_rows"). AUTHOR
Yuval Kogman <nothingmuch@woobling.org> COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Yuval Kogman. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2012-02-14 Data::Stream::Bulk::DBI(3pm)
Man Page

15 More Discussions You Might Find Interesting

1. Programming

How to read specific lines in a bulk file using C file Programming

Please Help me I have a Bulk file containing Hex data I want to read specific lines from that bulk file by ID number. example ID DATE Time data 14 2005/09/28 07:40:08.546 0 5 078B1C 01916C 0FE59C 004B54 0A9670 0D04ED 05B6B4 0E2223... (10 Replies)
Discussion started by: rajan_ka1
10 Replies

2. Solaris

Array's example

Array's example :) Hi all, Since Iam learning the usage of Unix scripting, can any one provide some array examples (Simple to complex)? With Regards, Love (Jennifer) (5 Replies)
Discussion started by: Love
5 Replies

3. Shell Programming and Scripting

Compare Array results

Hi, In a kshell , i need to compare the results of two array . each Non-match value should copy to a new array. For example: ========== Array one contain the following values: A B C Array two contain the following values: C F A E After comparing this arrays , a new array should... (4 Replies)
Discussion started by: yoavbe
4 Replies

4. Shell Programming and Scripting

Perl Function Array Arguement Passing

Hi All, I have some questions regarding array arguements passing for Perl Function. If @array contains 2 items , arguements passing would be like Code_A. But what if @array needs to add in more items, the rest of the code like $_ will have to be modified as well (highlighted in red), which is... (5 Replies)
Discussion started by: Raynon
5 Replies

5. Shell Programming and Scripting

Using arrays in shell

I have three arrays. One is Master array and that has list of other array in config file. for e.g (for simplicity I have only defined array with 2 elements each) set +A MASTERARRAY SQLUPDATE_ONETIME SQLUPDATE_DAILY END_OF_ARRAY set +A SQLUPDATE_ONETIME update12 update22 END_OF_ARRAY... (4 Replies)
Discussion started by: anish
4 Replies

6. Programming

Traversing in Array of pointers

Please find the below program. the requirement and description of the program also given: ganesh@ubuntu:~/my_programs/c/letusc/chap9$ cat fa.c.old /* Program : write a program to count the number of 'e' in thefollowing array of pointers to strings: char *s = { "We will teach you how... (12 Replies)
Discussion started by: ramkrix
12 Replies

7. Shell Programming and Scripting

Array reference problem

i have a variable MYHOST that has my host name.depending on the host i have an array like A_<hostname>.Everytime i need to append the hostname to A_ to get the array.but in the shell script i am nt able to access the members of that array. code of what i hav done: export temp=A_$MYHOST for... (15 Replies)
Discussion started by: niteesh_!7
15 Replies

8. Shell Programming and Scripting

Array

from a command I got output as below: abc bcd efg How can I make these outputs in an array? (4 Replies)
Discussion started by: tuxslonik
4 Replies

9. Shell Programming and Scripting

Help with manipulating Array in Perl

I am new in perl .... I defined Array in Perl which contain values as below: Array name: @TEST sample values : when I print Array: print " @test \n"; <title>0008857661</title> <title>0009841171</title> <title>0010161261</title> <title>0010230023</title> I want to get only these... (7 Replies)
Discussion started by: gdubey
7 Replies

10. Shell Programming and Scripting

Perl Array help

okay so my job is requiring me to learn perl and i have never had any type of programming language... ever. So i need to take a file that has data (nodes/points) with x, y, and z components. Example of what the file contains is below: RANDOM TEXT RANDOM TEXT Node # x pos ... (23 Replies)
Discussion started by: dets34
23 Replies

11. Shell Programming and Scripting

Need Help writing Bulk-Compiling Script

I'm trying to write a script that can compile my students' homework submissions in bulk. My students' c code is buried in a file path that looks like this: ./Homework\ X/Doe, John/Submission\ Attachments Where I'm struggling is determining how to navigate to each of the submission attachment... (11 Replies)
Discussion started by: GingerGiant
11 Replies

12. Solaris

StorageTek 2540 SAN array

Bought a Sun StorageTek 2540 SAN array a few years ago from a company that was going out of business. When we first set it up, we were able to get all the software (Common Array Manager) and firmware directly from Sun. We just upgraded the drives, but the array is too large for the firmware. Now... (6 Replies)
Discussion started by: edison303
6 Replies

13. Solaris

Storage Array not readable

Hi We have an array connected to the machine but when i issue format command i dont see it. But the array is up and running and there are no warning lights. Is there a way to find that array from the OK boot prompt? Please advise. Thanks (9 Replies)
Discussion started by: prash358
9 Replies

14. Shell Programming and Scripting

Parsing Bulk Data

Hi All, :D Actullay I am looking for a smart way :b: to parse files in a directory whose count is around 2000000 :eek: in a single day. Find is working with me but taking a lot of times :confused:, sometimes even a day which is not helping me.:wall: So anyone can help me know a smart... (5 Replies)
Discussion started by: jojo123
5 Replies

15. Programming

Array Elements Check

Hi everyone, :) I'm trying to make a simple C program that scans an array of chars to see if its elements are similar. I can't understand what's wrong. Could you help me to fix this? Here is the code. Thanks! #include<stdio.h> int main() { int arr; int i, len; int flag =... (10 Replies)
Discussion started by: IgorGest
10 Replies