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

πŸ’… RDF::Query::Plan::Project

okay bestie, gather round, because this is the RDF::Query::Plan::Project manual page (that's the RDF::Q...Project(3pm) one, from the User Contributed Perl Documentation corner of the universe) and it's lowkey iconic. ✨

This class is the executable query plan for Projects. That's it, that's the whole vibe. She plans, she executes, she projects. Main character energy fr fr. πŸŽ€

🌸 VERSION

This doc describes RDF::Query::Plan::Project version 2.919. No cap, that's the number, don't @ me. πŸ’œ

✨ METHODS ✨

Real talk: beyond the methods listed down below, this class inherits methods from the RDF::Query::Plan class. So if you're looking for something and it's not here, check the parent, she's holding. 🫢

  • new ( $plan, \@keys ) β€” constructor behavior, she's born. πŸ‘‘
  • execute ( $execution_context ) β€” makes it go, bestie. Runs the plan in the given execution context. πŸ”₯
  • next β€” gimme the next result. One at a time, we're not greedy. πŸ’–
  • close β€” we're done here, wrap it up, thank u next. πŸ¦‹
  • pattern β€” Returns the query plan that will be used to produce the data to be projected. So like, this is the thing feeding the projection. The source, the muse, the provider. 😌
  • distinct β€” Returns true if the pattern is guaranteed to return distinct results. Guaranteed, meaning fr fr no duplicates, pinky promise. ✨
  • ordered β€” Returns true if the pattern is guaranteed to return ordered results. Guaranteed order, she's organized, she has a system. πŸŽ€
  • plan_node_name β€” Returns the string name of this plan node, suitable for use in serialization. It's giving "name tag at the party." πŸ“›
  • plan_prototype β€” Returns a list of scalar identifiers for the type of the content (children) nodes of this plan node. See RDF::Query::Plan for a list of the allowable identifiers. Basically the blueprint of what kind of children nodes can show up here. πŸ‘€
  • plan_node_data β€” Returns the data for this plan node that corresponds to the values described by the signature returned by plan_prototype. So plan_prototype says what shape, and this one hands over the actual stuff. Match made in heaven. πŸ’ž
  • graph ( $g ) β€” takes a graph $g. Do with that what you will, she's documented and she's moving on. 🌈
  • explain β€” Returns a string serialization of the plan appropriate for display on the command line. It's the "explain urself" method, except she does it in a cute lil string for ur terminal. πŸ’…

πŸ‘‘ AUTHOR

Gregory Todd Williams <gwilliams@cpan.org> β€” legend behavior, wrote the whole thing, we stan. ⭐


aaaand that's the page, bestie!! big slay, 10/10, no notes. πŸ’– this whole thing lives in the perl v5.40.1 docs and got stamped 2025-08-18, so shoutout to that timestamp for keeping it real. bye bye, go write some query plans πŸ§šπŸ’œπŸ™ˆ

πŸ“¦ where this page comes from