RDF::Q...gregate(3pm)
π RDF::Query::Plan::Aggregate
okay bestie, so this is a page from the User Contributed Perl Documentation β it's the manual for RDF::Query::Plan::Aggregate, and yes the class name is a whole mouthful, we love that for it. It's the executable query plan for Aggregates. Periodt.
π¦ VERSION
This doc is describing RDF::Query::Plan::Aggregate version 2.919. Iconic. No cap.
β¨ METHODS
ngl, this class is not a lone wolf β beyond everything listed below, it inherits methods from the RDF::Query::Plan class too. So go look there if you don't see what you need. π
new ( $pattern, \@group_by, expressions => [ [ $alias, $op, \%options, @attributes ], ... ] )β the constructor babe, this is how you make one.execute ( $execution_context )β runs the thing with the given execution context.nextβ grab the next result.closeβ shut it down.patternβ returns the query plan that's gonna be used to produce the aggregated data.groupbyβ returns the grouping arguments that'll be used to produce the aggregated data.plan_node_nameβ returns the string name of this plan node, which is exactly what you want for serialization purposes.plan_node_dataβ returns the data for this plan node that lines up with the values described by the signature thatplan_prototypehands back.sse ( $context, $indent )β yes she has one of these too.distinctβ returns true if the pattern is guaranteed to return distinct results.orderedβ returns true if the pattern is guaranteed to return ordered results.
lowkey important: notice "guaranteed" in those last two? it's not "sometimes", it's not "probably" β it's a promise. don't go assuming it when it's not stated. π
π AUTHOR
Gregory Todd Williams <gwilliams@cpan.org> β thank you for your service king π«Ά
that's the whole vibe bestie, go aggregate something cute. this was RDF::Q...gregate(3pm) from perl v5.40.1, dated 2025-08-18 β mwah, take care of her ππΈ
π¦ 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