RDF::Q...stinct(3pm)

πŸ’– RDF::Query::Plan::Distinct β€” the manual, but make it cute πŸ’–

okay so bestie, welcome to RDF::Query::Plan::Distinct (3pm), a.k.a. the executable query plan for Distincts. yes, that's the whole vibe. it's giving "I make your results unique" and honestly? iconic. ✨

This page lives in the User Contributed Perl Documentation corner of the perl world, and it's here to explain the whole class to you. sit down, grab a strawberry πŸ“, let's go.


🌸 VERSION 🌸

This document describes RDF::Query::Plan::Distinct version 2.919. that's the one, no cap. πŸ’…


✨ METHODS ✨

okay so real talk: beyond the methods documented below, this class inherits methods from the RDF::Query::Plan class. so a bunch of the good stuff comes from mom. 🫢

Here's the whole lineup, no gatekeeping:

  • new ( $plan )
  • execute ( $execution_context )
  • next
  • close
  • pattern β€” returns the query plan that will be used to produce the data to be made distinct. it's the source material, the raw footage, the pre-glow-up content. 🌈
  • distinct β€” returns true if the pattern is guaranteed to return distinct results. so like, is it already serving unique looks? this tells you. πŸ‘‘
  • ordered β€” returns true if the pattern is guaranteed to return ordered results. is it sorted, is it lined up, is it giving organized main character energy? yes/no. πŸ’…
  • plan_node_name β€” returns the string name of this plan node, suitable for use in serialization. it's the government name, for paperwork purposes. πŸŽ€
  • plan_prototype β€” returns a list of scalar identifiers for the type of the content (children) nodes of this plan node. and if you wanna know what identifiers are even allowed, go check RDF::Query::Plan, it has the full list. iykyk. πŸ“‹
  • plan_node_data β€” returns the data for this plan node that corresponds to the values described by the signature returned by plan_prototype. it's the matching set, the fit check that actually fits. ✨
  • graph ( $g )

πŸ¦‹ AUTHOR πŸ¦‹

Gregory Todd Williams <gwilliams@cpan.org> πŸ’–


that's the whole page bestie, we ate and left no crumbs. 🍽️✨

this was RDF::Q...stinct(3pm) from perl v5.40.1, dated 2025-08-18 β€” so yes, it's a recent serve. mwah. πŸ’‹

πŸ“¦ where this page comes from