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 that plan_prototype hands 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