RDF::Q...Filter(3pm)
π RDF::Query::Plan::Filter β aka RDF::Q...Filter(3pm) π
okay so bestie, this is a Perl manpage and it's serving executable query plan for Filters energy. That's the whole NAME moment. It's part of the User Contributed Perl Documentation shelf and yes, the page header is literally RDF::Q...Filter(3pm) because someone's terminal is too small for the full name, we love a mystery. π
It lives in the RDF::Query::Plan::Filter universe, and if you're filtering stuff in a query plan, this is your girl. Periodt.
β¨ VERSION β¨
This doc is describing RDF::Query::Plan::Filter version 2.919. No cap, that's the number. Fresh-ish. π
π METHODS π
First thing first, biggest flex: beyond everything documented down here, this class inherits methods from the RDF::Query::Plan class. So like, don't panic if you don't see a method here β check the parent, it's giving family tree. π³
Now the full lineup, no skips, no cuts:
new ( $plan, $expr, $active_graph )β yep, that's the constructor. All three things go in: a$plan, an$expr, and an$active_graph. That's the signature, exactly as documented, don't come for me.execute ( $execution_context )β runs the thing, and it takes an$execution_context. That's the vibe.nextβ it exists. It's in the list. It's doing its little job.closeβ also in the list. Shut it down, queen. β¨patternβ returns the query plan that will be used to produce the data to be filtered. So it's the source of the raw data before your filter says "not today." π«Άactive_graphβ returns the active graph. That's it, that's the whole description, and it's lowkey perfect.distinctβ returns true if the pattern is guaranteed to return distinct results. Guaranteed being the key word here β if it says true, it means true. π―orderedβ returns true if the pattern is guaranteed to return ordered results. Same deal, but ordered. Sorted, even. π₯plan_node_nameβ returns the string name of this plan node, suitable for use in serialization. It's the node's little government name. πplan_prototypeβ returns a list of scalar identifiers for the type of the content (children) nodes of this plan node. And heads up: SeeRDF::Query::Planfor a list of the allowable identifiers. Like, go check the parent class for the menu of valid ones. π¦plan_node_dataβ returns the data for this plan node that corresponds to the values described by the signature returned byplan_prototype. So: prototype hands you the shape, this hands you the actual data. Matching set, iconic. πΈ
ngl bestie,new,execute,nextandcloseare listed up top with the others but the doc does not spell out a description for them β so I'm not out here inventing one. We stay factual in this group chat. πββοΈ
π AUTHOR π
This masterpiece is brought to you by Gregory Todd Williams <gwilliams@cpan.org>. Give him his flowers, he earned them. π
and that's the whole page, we ate and left no crumbs π β this was RDF::Q...Filter(3pm) from the User Contributed Perl Documentation gang, generated by perl v5.40.1, dated 2025-08-18. mwah, take care of her π
π¦ 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