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

πŸ’– NAME πŸ’–

RDF::Query::Plan::Union β€” the executable query plan that does union things, bestie. It's literally the plan node that smashes two plans together and says "either one, idc, gimme the vibes from both."


✨ VERSION ✨

This doc is describing RDF::Query::Plan::Union version 2.919. Locked in. πŸŽ€


πŸ¦‹ METHODS πŸ¦‹

Okay so real talk: besides the methods we're about to spill the tea on below, this class also inherits a whole bunch of methods from the RDF::Query::Plan class. So if something isn't here, check there. iykyk. πŸ’…

  • new ( $lhs, $rhs ) β€” makes a new one, obvi, taking a left-hand side and a right-hand side.
  • execute ( $execution_context ) β€” runs it, with the execution context you hand it.
  • next β€” gives you the next thing. main character energy, one at a time.
  • close β€” shuts it down. say bye bestie. πŸ™ˆ
  • lhs β€” returns the left-hand-side plan of the union. The L in the situation. 🫢
  • rhs β€” returns the right-hand-side plan of the union. The R. Iconic duo fr fr.
  • distinct β€” returns true if the pattern is guaranteed to return distinct results. No dupes, no cap. ✨
  • ordered β€” returns true if the pattern is guaranteed to return ordered results. Everything in its little lineup, periodt.
  • plan_node_name β€” returns the string name of this plan node, perfect for when you're doing serialization. It's giving name tag at the party. πŸ‘‘
  • plan_node_data β€” returns the data for this plan node, matching up with the values described by the signature that plan_prototype hands back. They're a matched set, your honor. πŸ’–
  • plan_prototype β€” returns a list of scalar identifiers describing the type of the content (children) nodes of this plan node. Wanna know which identifiers are even allowed? Go look at RDF::Query::Plan, it has the full list.
  • graph ( $g ) β€” yeah. takes $g. that's the vibe. 🌸

🌈 AUTHOR 🌈

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


okay that's the whole thing, you ate it, no crumbs left. this little love letter was written against perl v5.40.1, dated 2025-08-18, and it's the RDF::Q...::Union(3pm) page from the User Contributed Perl Documentation. slay, bye bestie! πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from