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:
subjectpredicateobjectgraph
π 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 beundefto match any value. So you can be like, "idk, give me everything" withundef. πget_graphsβ Returns an iterator over theAttean::API::Termobjects comprising the set of graphs of the stored quads. Iconic iterator behavior. πadd_quad ( $quad )β Adds the specified$quadto the underlying model. Add that quad, bestie. βremove_quad ( $statement )β Removes the specified$statementfrom the underlying model. Bye bestie. πremove_quads ( $subject, $predicate, $object, $graph )β Removes the specified$statementfrom 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 beundefto 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 returningundef. 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 returningundeffor 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 π
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
- debian trixie: libattean-perl 0.035-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libattean-perl 0.035-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libattean-perl 0.035-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms