RDF::Q...nstant(3pm)
π RDF::Query::Plan::Constant π
okay bestie, gather round, because this is RDF::Query::Plan::Constant, aka the Executable query plan for Constants. it's a Perl module, it lives in the User Contributed Perl Documentation section of your man pages, and it's giving very specific, very useful. π¦
it's version 2.919 of the doc, periodt. β¨
πΈ VERSION πΈ
girl. it literally says it right there: this document describes RDF::Query::Plan::Constant version 2.919. iconic. no notes. π
β¨ METHODS β¨
so here's the tea, bestie π« β beyond the methods we're about to list below, this class inherits methods from the RDF::Query::Plan class. so if you don't see it here, go check the parent, iykyk. π
new ( @variable_bindings )β the constructor vibe. it takes the variable bindings you hand it. πexecute ( $execution_context )β runs it, with the execution context you pass in.bindingsβ returns a list of the variable bindings for this constant result set. that's it, that's the whole job. πis_unitβ returns true if this constant result set is comprised of a single, empty variable binding. so one binding, and it's empty. that's the unit situation. πnextβ yeah. it's there. π¦closeβ also there. shutting it down, respectfully. πsizeβ it's a method. that's the info we have. β¨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 right place, main character energy. πplan_node_nameβ returns the string name of this plan node, suitable for use in serialization. so when you gotta write it out, this is the name it goes by. βplan_prototypeβ returns a list of scalar identifiers for the type of the content (children) nodes of this plan node. and listen β seeRDF::Query::Planfor a list of the allowable identifiers, bestie. go look, don't guess. πplan_node_dataβ returns the data for this plan node that corresponds to the values described by the signature returned byplan_prototype. yes, it pairs with the one above. they're a duo. π
π AUTHOR π
this absolute legend wrote it: Gregory Todd Williams <gwilliams@cpan.org>. we stan. π«Ά
and that's the whole page, bestie π β brought to you by the User Contributed Perl Documentation for perl v5.40.1, dated 2025-08-18, filed under RDF::Q...nstant(3pm). slay, go read the parent class, and hydrate. π
β¨πΈ
π¦ 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