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 β€” see RDF::Query::Plan for 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 by plan_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