RDF::Q...:Extend(3pm)
β¨ NAME β¨
RDF::Query::Algebra::Extend β the algebra class for extending the variable projection, bestie π
Like, it's giving "we already have a pattern, but now we're gonna add MORE variables to it." Main character energy, honestly.
πΈ VERSION πΈ
This doc describes RDF::Query::Algebra::Extend version 2.919. Yes, she has a version number and yes, she's proud of it π
π¦ METHODS π¦
Okay so first thing first, bestie: beyond everything listed down here, this class also inherits methods from the RDF::Query::Algebra class. So don't come for her saying she's missing stuff β she got it from her parent class, periodt β¨
new ( $pattern, \@vars_and_exprs )β hands you back a brand new Extend structure. Fresh out the box, no cap πconstruct_argsβ returns a list of arguments that, if you pass them to this class' constructor, will give you a clone of this exact algebra pattern. It's giving copy-paste but make it a method π«Άpatternβ returns the pattern to be sorted. That's it, that's the whole job πvarsβ returns the vars that are getting extended. The whole point of the class, honestly πsseβ returns the SSE string for this algebra expression.as_sparqlβ returns the SPARQL string for this algebra expression.as_hashβ returns the query as a nested set of plain data structures... and no objects, okay? We're going raw data structures here. No object glue, just vibes πtypeβ returns the type of this algebra expression. Identity check but for algebra π₯referenced_variablesβ returns a list of every variable name used in this algebra expression. The whole squad, accounted for πpotentially_boundβ returns a list of the variable names used in this algebra expression that are gonna bind values while it executes. "potentially" is doing a LOT of heavy lifting in that sentence, ngl πdefinite_variablesβ returns a list of the variable names that are for sure bound after this algebra expression gets evaluated. No maybes on this one, fr fr πis_solution_modifierβ returns true if this node is a solution modifier. Simple as that, bestie β
π AUTHOR π
Gregory Todd Williams <gwilliams@cpan.org> β the icon, the legend, the one who wrote this whole thing for us π«Ά
okay that's the whole page!! no notes, she ate π
perl v5.40.1, dated 2025-08-18 β go forth and extend those variables, bestie, you're literally so good at this πβ¨π¦
π¦ 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