Cassan...ultSet(3pm)
π NAME π
Cassandra::Client::ResultSet β okay bestie, this is the manual page for it, and it lives in User Contributed Perl Documentation as a (3pm) page (you'll see it filed under Cassan...ultSet(3pm), that's just the title getting a little chopped, no biggie π).
It's the thing you get handed back when a Cassandra query comes home from the club with actual data in it. β¨
πΈ VERSION πΈ
version 0.21</purl>
β¨ METHODS β¨
So here's the whole roster of methods. Four of them. All iconic, all useful, no filler. π«Ά
$result->rows()β Hands you back an arrayref of all the rows in the ResultSet. Each row inside it is its own arrayref, and each of those holds the cells. So it's arrays in arrays, very nesting-doll of it π . Quick heads up: if you wanna know what the columns are actually called, go peek at"column_names"(it's literally the next one down, bestie, you got this).$result->row_hashes()β Same energy, same arrayref of all the rows β except every row comes as a hashref instead of an arrayref. So each cell gets its name attached. Key-value vibes. Languages said hashref rights. π¦$result->column_names()β Returns an arrayref packed with the names of the columns in the result set. Pair it up with the rows you got fromrows()so you actually know which number is which thing. Tag-teaming fr fr. π$result->next_page()β Returns a string pointing at the next Cassandra result page, if there is one (no page? no string, periodt). It's used internally by"$client->each_page()", but like β you can call it yourself if you wanna build your own custom pagination logic. Go off, main character. π
π AUTHOR π
Tom van der Woerdt <tvdw@cpan.org> β absolute legend, no cap. π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2023 by Tom van der Woerdt.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. Slay, free software. π
okay so that's the whole page, bestie, you read it all and I'm so proud of you π₯Ήπ«Ά
And a lil sign-off for the road: this was perl v5.42.3, dated 2026-08-22, tagged Cassan...ultSet(3pm). Go forth and query. π
β¨
π¦ where this page comes from
- ubuntu stonking: libcassandra-client-perl 0.21-1build5 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms