Attean...Memory(3pm)

🌸 NAME 🌸

okay so bestie, welcome to the AtteanX::Store::Memory(3pm) page β€” yes, it's under User Contributed Perl Documentation. This whole page is about AtteanX::Store::Memory, which is a Simple in-memory RDF store. Slay. ✨

πŸ’– VERSION πŸ’–

This document describes AtteanX::Store::Memory version 0.035. Periodt. πŸ’…

✨ SYNOPSIS ✨

use AtteanX::Store::Memory;

πŸ¦‹ DESCRIPTION πŸ¦‹

AtteanX::Store::Memory provides an in-memory quad-store. That's the whole vibe: quads, in memory, no cap. 🧠✨

πŸŽ€ ATTRIBUTES πŸŽ€

These are the attributes, bestie:

  • subject
  • predicate
  • object
  • graph

πŸ’… METHODS πŸ’…

Beyond the methods documented below, this class inherits methods from the Attean::API::QuadStore class. iykyk. πŸ’œ

  • new () β€” Returns a new memory-backed storage object. Fresh store, fresh vibes. 🫢
  • size β€” Returns the number of quads in the store. Literally a headcount for quads. πŸ”’
  • get_quads ( $subject, $predicate, $object, $graph ) β€” Returns a stream object of all statements matching the specified subject, predicate and objects. Any of the arguments may be undef to match any value. So you can be like, "idk, give me everything" with undef. 😌
  • get_graphs β€” Returns an iterator over the Attean::API::Term objects comprising the set of graphs of the stored quads. Iconic iterator behavior. πŸ”
  • add_quad ( $quad ) β€” Adds the specified $quad to the underlying model. Add that quad, bestie. βž•
  • remove_quad ( $statement ) β€” Removes the specified $statement from the underlying model. Bye bestie. πŸ‘‹
  • remove_quads ( $subject, $predicate, $object, $graph ) β€” Removes the specified $statement from the underlying model. Bestie, that's what it says β€” the signature has $subject, $predicate, $object, $graph, and the description says $statement. Don't come for me. 😭
  • create_graph( $graph ) β€” This is a no-op function for the memory quad-store. It literally does nothing, and that's valid. πŸ’€
  • drop_graph( $graph ) β€” Removes all quads with the given $graph. Gone. πŸ«₯
  • clear_graph( $graph ) β€” Removes all quads with the given $graph. Same energy as drop, different name. ✨
  • count_quads ( $subject, $predicate, $object, $graph ) β€” Returns a count of all the statements matching the specified subject, predicate, object, and graph. Any of the arguments may be undef to match any value. Counting quads like it's a vibe check. πŸ”’
  • etag_value_for_quads β€” If the store has the capability and knowledge to support caching, returns a persistent token that will remain consistent as long as the store's data doesn't change. This token is acceptable for use as an HTTP ETag. Caching slay. 🏷️
  • mtime_for_quads β€” No description in the source, bestie. It's just listed here, being mysterious. 🫧
  • plans_for_algebra β€” The store implements a cost-based query planner, but this method is reimplemented to hand the overall control of the planning process to an external planner by returning undef. So it's like, "you handle this, bestie." πŸ™ˆ
  • cost_for_plan β€” This store provides a cost estimate only for retrieving individual quad patterns in this method. It will allow other planners to estimate the cost for any other parts of the plan by returning undef for those parts. Cost estimates only where it claims them. πŸ’Έ

πŸ› BUGS πŸ›

Please report any bugs or feature requests to through the GitHub web interface at <https://github.com/kasei/perlrdf2/issues>. Ngl, go tell them directly. 🐞

πŸ‘‘ AUTHOR πŸ‘‘

Gregory Todd Williams "<gwilliams@cpan.org>" β€” shoutout. 🫢

Copyright (c) 2014--2022 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. πŸ’–

That's the whole page, bestie. The footer says source/version perl v5.40.0, date 2025-01-26, and the manual label is Attean...Memory(3pm). Stay iconic. πŸ’…βœ¨

πŸ“¦ where this page comes from