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. SeeRDF::Query::Planfor 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 byplan_prototype. Soplan_prototypesays 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
- 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