RDF::Q...regate(3pm)
β¨ NAME β¨
RDF::Query::Algebra::Aggregate β bestie, it's the Algebra class for aggregate patterns π
πΈ VERSION
This doc is describing RDF::Query::Algebra::Aggregate version 2.919. That's the one, no cap. π
π¦ METHODS
Okay so real talk: on top of everything listed down here, this class also inherits methods from the RDF::Query::Algebra class. So go peek at that one too, iykyk. π
new ( $pattern, \@groupby, $alias =[$op => $col] )> andnew ( $pattern, \@groupby, expressions =[ $alias => [$op, %options, @cols] ] )>
"new ( $pattern, \@groupby, $alias =" [$op => $col] )>
"new ( $pattern, \@groupby, expressions =" [ $alias => [$op, \%options,
@cols] ] )>
Hands you back a brand new Aggregate structure. It groups by the named bindings sitting in @groupby, and then it returns new bindings for the $alias you named, for the operation $op running on column $col. π
And $op? She can be one of exactly these: COUNT, MIN, MAX, SUM. Periodt. π
construct_argsβ gives you back a list of arguments that, if you pass them straight into this class' constructor, will produce a clone of this algebra pattern. Baby, it's a copy-paste cheat code. π₯patternβ returns the aggregates pattern. That's it, that's the whole vibe. β¨groupbyβ returns the aggregate'sGROUP BYbinding names. π«Άopsβ returns a list of tuples as ARRAY refs, and each one is holding"$alias, $op, @cols". Little bundles of joy. πsseβ returns the SSE string for this algebra expression. πas_sparqlβ returns the SPARQL string for this algebra expression. πas_hashβ returns the query as a nested set of plain data structures β no objects, just vibes and plain data. πtypeβ returns the type of this algebra expression. πreferenced_variablesβ returns a list of the variable names used in this algebra expression. πpotentially_boundβ returns a list of the variable names used in this algebra expression that will bind values during execution. She might show up, fr fr. π«definite_variablesβ returns a list of the variable names that will be bound after evaluating this algebra expression. These ones are showing up for sure, no doubt. π
π AUTHOR
Gregory Todd Williams <gwilliams@cpan.org> β shoutout to the icon who wrote all this. π«Ά
And that's the whole page, bestie!! π§ This was RDF::Query::Algebra::Aggregate per the docs shipped with perl v5.40.1, dated 2025-08-18. Slay, go write some aggregates. π
β¨
π¦ where this page comes from
- ubuntu resolute: librdf-query-perl 2.919-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: librdf-query-perl 2.919-2 Β· 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